From 73d6b2b5f3361006b6446c8f3f9506168e5a5468 Mon Sep 17 00:00:00 2001 From: Marc Mueller <30130371+cdce8p@users.noreply.github.com> Date: Wed, 21 Jun 2023 14:24:38 +0200 Subject: [PATCH 1/3] Bump typing_extensions dependency --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 061bb9ddf5b5a..fc2cce9fa55f1 100644 --- a/setup.py +++ b/setup.py @@ -222,7 +222,7 @@ def run(self): # When changing this, also update mypy-requirements.txt. install_requires=[ "typed_ast >= 1.4.0, < 2; python_version<'3.8'", - "typing_extensions>=3.10", + "typing_extensions>=4.0.1", "mypy_extensions >= 1.0.0", "tomli>=1.1.0; python_version<'3.11'", ], From 679be9e1218ceeecf9b8cddc5e2661ac457321db Mon Sep 17 00:00:00 2001 From: Marc Mueller <30130371+cdce8p@users.noreply.github.com> Date: Wed, 21 Jun 2023 14:45:22 +0200 Subject: [PATCH 2/3] Bump to 4.1.0 Co-authored-by: Alex Waygood --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index fc2cce9fa55f1..81494a5566e8b 100644 --- a/setup.py +++ b/setup.py @@ -222,7 +222,7 @@ def run(self): # When changing this, also update mypy-requirements.txt. install_requires=[ "typed_ast >= 1.4.0, < 2; python_version<'3.8'", - "typing_extensions>=4.0.1", + "typing_extensions>=4.1.0", "mypy_extensions >= 1.0.0", "tomli>=1.1.0; python_version<'3.11'", ], From a5ae19da2864abdf0810e442796b78936fd3c49e Mon Sep 17 00:00:00 2001 From: Marc Mueller <30130371+cdce8p@users.noreply.github.com> Date: Wed, 21 Jun 2023 14:48:03 +0200 Subject: [PATCH 3/3] Update remaining files --- mypy-requirements.txt | 2 +- pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mypy-requirements.txt b/mypy-requirements.txt index 9a55446eb05ab..7043765f09f4e 100644 --- a/mypy-requirements.txt +++ b/mypy-requirements.txt @@ -1,5 +1,5 @@ # NOTE: this needs to be kept in sync with the "requires" list in pyproject.toml -typing_extensions>=3.10 +typing_extensions>=4.1.0 mypy_extensions>=1.0.0 typed_ast>=1.4.0,<2; python_version<'3.8' tomli>=1.1.0; python_version<'3.11' diff --git a/pyproject.toml b/pyproject.toml index b46bbd670e601..fc70d4279681d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,7 +6,7 @@ requires = [ "setuptools >= 40.6.2", "wheel >= 0.30.0", # the following is from mypy-requirements.txt - "typing_extensions>=3.10", + "typing_extensions>=4.1.0", "mypy_extensions>=1.0.0", "typed_ast>=1.4.0,<2; python_version<'3.8'", "tomli>=1.1.0; python_version<'3.11'",