From 7e8dcc6852722b115d5409153119847fee4e1bc9 Mon Sep 17 00:00:00 2001 From: chiri Date: Sat, 29 Mar 2025 18:41:06 +0300 Subject: [PATCH] chore: bump `pydantic` upper bound from <2.11 to <2.12 (#1659) * chore: bump `pydantic` upper bound from <2.11 to <2.12 * chore: add changelog file * Update CHANGES/1659.misc.rst --------- Co-authored-by: Alex Root Junior --- CHANGES/1659.misc.rst | 2 ++ pyproject.toml | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 CHANGES/1659.misc.rst diff --git a/CHANGES/1659.misc.rst b/CHANGES/1659.misc.rst new file mode 100644 index 00000000..88fdcd13 --- /dev/null +++ b/CHANGES/1659.misc.rst @@ -0,0 +1,2 @@ +Bump pydantic upper bound from <2.11 to <2.12. +Upgrading `pydantic` to version 2.11 significantly reduces resource consumption, more details on the `pydantic blog post `_ diff --git a/pyproject.toml b/pyproject.toml index be73b725..1314ae68 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -43,7 +43,7 @@ classifiers = [ dependencies = [ "magic-filter>=1.0.12,<1.1", "aiohttp>=3.9.0,<3.12", - "pydantic>=2.4.1,<2.11", + "pydantic>=2.4.1,<2.12", "aiofiles>=23.2.1,<24.2", "certifi>=2023.7.22", "typing-extensions>=4.7.0,<=5.0",