Skip to content

Commit 9230df8

Browse files
committed
Pin redis and requests typing packages
With python >= 3.10.7 and mypy < 0.981[1], type definitions noting positional only parameters break mypy[2]. Since mypy has been pinned below 0.920 for pydantic, pin redis and requests to their current versions until after the pydantic migration. 1. python/mypy#13627 2. python/typeshed#11554
1 parent f063646 commit 9230df8

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

‎Pipfile‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ sphinx = "*"
1414
# For Read the Docs
1515
sphinx-rtd-theme = "*"
1616
sqlalchemy-stubs = ">=0.3"
17-
types-redis = "*"
18-
types-requests = "*"
17+
types-redis = "~= 3.5"
18+
types-requests = "~= 2.26.0"
1919
types-toml = "*"
2020
typing-extensions = ">= 3.7.4"
2121

@@ -24,8 +24,8 @@ alembic = "*"
2424
psycopg2 = "*"
2525
pydantic = ">= 1.3, < 1.9"
2626
pygobject = "*"
27-
redis = "*"
28-
requests = "*"
27+
redis = "~= 3.5"
28+
requests = "~= 2.26.0"
2929
sqlalchemy = "<1.4"
3030
toml = "*"
3131

0 commit comments

Comments
 (0)