Skip to content

Commit

Permalink
Limit tenacity due to mypy problems (#29411)
Browse files Browse the repository at this point in the history
The 8.2.0 version of tenacity, implemented a change that breaks
mypy checks for clients using `@retry` decorated functions.

The issue is tracked in jd/tenacity#389
  • Loading branch information
potiuk authored Feb 7, 2023
1 parent 9602f1d commit ca7d7e2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,9 @@ install_requires =
sqlalchemy>=1.4,<2.0
sqlalchemy_jsonfield>=1.0
tabulate>=0.7.5
tenacity>=6.2.0
# The 8.2.0 release of tenacity has a mypy error that breaks our CI
# The upper-bound limit can be removed after https://github.com/jd/tenacity/issues/389 is resolved
tenacity>=6.2.0,<8.2.0
termcolor>=1.1.0
typing-extensions>=4.0.0
unicodecsv>=0.14.1
Expand Down

0 comments on commit ca7d7e2

Please sign in to comment.