From 9d1d033ce73048677b2566d43a1370c2e45ccbfb Mon Sep 17 00:00:00 2001 From: KotlinIsland <65446343+KotlinIsland@users.noreply.github.com> Date: Tue, 14 Dec 2021 21:21:42 +1000 Subject: [PATCH] Upgrade tomli (#11729) Tomli 2.0.0 was released https://pypi.org/project/tomli/2.0.0/ Co-authored-by: KotlinIsland --- 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 a6a8afc60eeb..2bc82e53c206 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,<2 -tomli>=1.1.0,<2.0.0 +tomli>=1.1.0,<3.0.0 diff --git a/setup.py b/setup.py index d3d1fb907f99..31b29c8a18c7 100644 --- a/setup.py +++ b/setup.py @@ -193,7 +193,7 @@ def run(self): install_requires=["typed_ast >= 1.4.0, < 2; python_version<'3.8'", 'typing_extensions>=3.7.4', 'mypy_extensions >= 0.4.3, < 0.5.0', - 'tomli>=1.1.0,<2.0.0', + 'tomli>=1.1.0,<3.0.0', ], # Same here. extras_require={'dmypy': 'psutil >= 4.0', 'python2': 'typed_ast >= 1.4.0, < 2'},