diff --git a/pyproject.toml b/pyproject.toml index 4e1d1e69..f80c0395 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -43,8 +43,8 @@ classifiers = [ dependencies = [ "magic-filter>=1.0.12,<1.1", "aiohttp>=3.9.0,<3.11", - "pydantic>=2.4.1,<2.9; python_version < '3.10'", - "pydantic>=2.4.1,<2.10; python_version >= '3.10'", + "pydantic>=2.4.1,<2.9; python_version < '3.9'", # v2.10 breaks compatibility with Python 3.8 without any reason + "pydantic>=2.4.1,<2.10; python_version >= '3.9'", "aiofiles>=23.2.1,<24.2", "certifi>=2023.7.22", "typing-extensions>=4.7.0,<=5.0",