Skip to content

Commit b207550

Browse files
authored
Sync typing_extensions pin in setup.py with the pin in the other two places (#17313)
Followup to #17312. (Can't say I fully understand why we have to have this pin in three places :)
1 parent 2116386 commit b207550

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

mypy-requirements.txt

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# NOTE: this needs to be kept in sync with the "requires" list in pyproject.toml
2+
# and the pins in setup.py
23
typing_extensions>=4.6.0
34
mypy_extensions>=1.0.0
45
tomli>=1.1.0; python_version<'3.11'

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ requires = [
55
# self-typechecking :/
66
"setuptools >= 40.6.2",
77
"wheel >= 0.30.0",
8-
# the following is from mypy-requirements.txt
8+
# the following is from mypy-requirements.txt/setup.py
99
"typing_extensions>=4.6.0",
1010
"mypy_extensions>=1.0.0",
1111
"tomli>=1.1.0; python_version<'3.11'",

setup.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -218,9 +218,9 @@ def run(self):
218218
},
219219
classifiers=classifiers,
220220
cmdclass=cmdclass,
221-
# When changing this, also update mypy-requirements.txt.
221+
# When changing this, also update mypy-requirements.txt and pyproject.toml
222222
install_requires=[
223-
"typing_extensions>=4.1.0",
223+
"typing_extensions>=4.6.0",
224224
"mypy_extensions >= 1.0.0",
225225
"tomli>=1.1.0; python_version<'3.11'",
226226
],

0 commit comments

Comments
 (0)