Update pydantic version constraints based on Python version

Adjusted the version constraints for the pydantic library in `pyproject.toml` to ensure compatibility with different Python versions. This helps maintain stability and compatibility across various development environments.
This commit is contained in:
JRoot Junior 2024-09-18 21:45:53 +03:00
parent 85d52b5fa7
commit 7925db3ca2
No known key found for this signature in database
GPG key ID: 738964250D5FF6E2

View file

@ -43,7 +43,8 @@ classifiers = [
dependencies = [
"magic-filter>=1.0.12,<1.1",
"aiohttp>=3.9.0,<3.11",
"pydantic>=2.4.1,<2.10",
"pydantic>=2.4.1,<2.9; python_version < '3.10'",
"pydantic>=2.4.1,<2.10; python_version >= '3.10'",
"aiofiles>=23.2.1,<24.2",
"certifi>=2023.7.22",
"typing-extensions>=4.7.0,<=5.0",