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 GitHub
parent 99ee4e8a42
commit 52ba58c782
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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 # Version 2.0 added typing, prevent accidental fallbacks
backoff>=2.0 backoff>=2.0
# Breaking change in version # Require to avoid issues with decorators (#93904). v2 has breaking changes.
# https://github.com/samuelcolvin/pydantic/issues/4092 pydantic>=1.10.8,<2.0
pydantic!=1.9.1
# Breaks asyncio # Breaks asyncio
# https://github.com/pubnub/python/issues/130 # https://github.com/pubnub/python/issues/130

View File

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