Require pydantic 1.10.8 or higher (#94208)

* Requied pydantic 1.10.9 or higher

* Simplify constraint to 2.0

* Drop constraint by one patch release to 1.10.8 or higher

* Add package constraints to gen requirements script
This commit is contained in:
Allen Porter 2023-06-08 00:41:45 -07:00 committed by Paulus Schoutsen
parent 13029cf26f
commit ac963a2b6e
2 changed files with 4 additions and 6 deletions

View file

@ -128,9 +128,8 @@ authlib<1.0
# Version 2.0 added typing, prevent accidental fallbacks
backoff>=2.0
# Breaking change in version
# https://github.com/samuelcolvin/pydantic/issues/4092
pydantic!=1.9.1
# Require to avoid issues with decorators (#93904). v2 has breaking changes.
pydantic>=1.10.8,<2.0
# Breaks asyncio
# https://github.com/pubnub/python/issues/130

View file

@ -132,9 +132,8 @@ authlib<1.0
# Version 2.0 added typing, prevent accidental fallbacks
backoff>=2.0
# Breaking change in version
# https://github.com/samuelcolvin/pydantic/issues/4092
pydantic!=1.9.1
# Require to avoid issues with decorators (#93904). v2 has breaking changes.
pydantic>=1.10.8,<2.0
# Breaks asyncio
# https://github.com/pubnub/python/issues/130