From 3cfcb81d21be0f41aff6f5d6dfae46f5029cfeb4 Mon Sep 17 00:00:00 2001 From: Jarek Potiuk Date: Sun, 12 Feb 2023 16:59:54 +0100 Subject: [PATCH] Bring back fixed tenacity (#29440) * Bring back fixed tenacity. Tenacity MyPy integration has been broken in 8.2.0, but 8.2.1 seems to fix it. Test fix provided in https://github.com/jd/tenacity/pull/390 Related: #29411 Co-authored-by: Tzu-ping Chung GitOrigin-RevId: 28806a32005583f06c8ee26b808d84d2a5593ab7 --- setup.cfg | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/setup.cfg b/setup.cfg index 657c2ded838..20b91b5870b 100644 --- a/setup.cfg +++ b/setup.cfg @@ -134,9 +134,7 @@ install_requires = sqlalchemy>=1.4,<2.0 sqlalchemy_jsonfield>=1.0 tabulate>=0.7.5 - # 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 + tenacity>=6.2.0,!=8.2.0 termcolor>=1.1.0 typing-extensions>=4.0.0 unicodecsv>=0.14.1