From b223499e71f99a241049a18aca51c6fc3934ce55 Mon Sep 17 00:00:00 2001 From: "Michael J. Sullivan" Date: Thu, 5 Aug 2021 18:35:29 -0700 Subject: [PATCH] Pin tomli to 1.1.0 While we figure out what the plan is in coordination with black and pip (see #10893), just pin to the previous version of tomli that isn't causing our CI to fail. --- mypy-requirements.txt | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mypy-requirements.txt b/mypy-requirements.txt index e7e2af80089b..96888e221128 100644 --- a/mypy-requirements.txt +++ b/mypy-requirements.txt @@ -1,4 +1,4 @@ typing_extensions>=3.7.4 mypy_extensions>=0.4.3,<0.5.0 typed_ast>=1.4.0,<1.5.0 -tomli<2.0.0 +tomli>=1.1.0,<1.2.0 diff --git a/setup.py b/setup.py index 50974068a84c..04cd455070d7 100644 --- a/setup.py +++ b/setup.py @@ -193,7 +193,7 @@ def run(self): install_requires=["typed_ast >= 1.4.0, < 1.5.0; python_version<'3.8'", 'typing_extensions>=3.7.4', 'mypy_extensions >= 0.4.3, < 0.5.0', - 'tomli<2.0.0', + 'tomli>=1.1.0,<1.2.0', ], # Same here. extras_require={'dmypy': 'psutil >= 4.0', 'python2': 'typed_ast >= 1.4.0, < 1.5.0'},