From 185d3d2c4fe582c0d18230a36566aa48ee7684b5 Mon Sep 17 00:00:00 2001 From: Samuel Colvin Date: Thu, 29 Dec 2022 21:40:07 +0000 Subject: [PATCH 1/2] change dependency to "typing-extensions>=4.2.0" --- setup.py | 2 +- tests/requirements-testing.txt | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 609cd1bbe1..91d82e4049 100644 --- a/setup.py +++ b/setup.py @@ -130,7 +130,7 @@ def extra(self): python_requires='>=3.7', zip_safe=False, # https://mypy.readthedocs.io/en/latest/installed_packages.html install_requires=[ - 'typing-extensions>=4.1.0' + 'typing-extensions>=4.2.0' ], extras_require={ 'email': ['email-validator>=1.0.3'], diff --git a/tests/requirements-testing.txt b/tests/requirements-testing.txt index f0276206af..bb59933804 100644 --- a/tests/requirements-testing.txt +++ b/tests/requirements-testing.txt @@ -7,3 +7,5 @@ pytest==7.1.2 pytest-cov==3.0.0 pytest-mock==3.8.2 pytest-sugar==0.9.5 +# pin typing-extensions to minimum requirement - see #4885 +typing-extensions==4.2.0 From 3ae1aeb29d9f987040d501e68158900845ea85c0 Mon Sep 17 00:00:00 2001 From: Samuel Colvin Date: Thu, 29 Dec 2022 21:41:46 +0000 Subject: [PATCH 2/2] add change description --- changes/4885-samuelcolvin.md | 1 + 1 file changed, 1 insertion(+) create mode 100644 changes/4885-samuelcolvin.md diff --git a/changes/4885-samuelcolvin.md b/changes/4885-samuelcolvin.md new file mode 100644 index 0000000000..efcf96e581 --- /dev/null +++ b/changes/4885-samuelcolvin.md @@ -0,0 +1 @@ +Change dependency to `typing-extensions>=4.2.0`