Skip to content

Commit

Permalink
Sync typing_extensions pin in setup.py with the pin in the other two …
Browse files Browse the repository at this point in the history
…places (#17313)

Followup to #17312. (Can't say I fully understand why we have to have
this pin in three places :)
  • Loading branch information
AlexWaygood authored Jun 2, 2024
1 parent 2116386 commit b207550
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions mypy-requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# NOTE: this needs to be kept in sync with the "requires" list in pyproject.toml
# and the pins in setup.py
typing_extensions>=4.6.0
mypy_extensions>=1.0.0
tomli>=1.1.0; python_version<'3.11'
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ requires = [
# self-typechecking :/
"setuptools >= 40.6.2",
"wheel >= 0.30.0",
# the following is from mypy-requirements.txt
# the following is from mypy-requirements.txt/setup.py
"typing_extensions>=4.6.0",
"mypy_extensions>=1.0.0",
"tomli>=1.1.0; python_version<'3.11'",
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -218,9 +218,9 @@ def run(self):
},
classifiers=classifiers,
cmdclass=cmdclass,
# When changing this, also update mypy-requirements.txt.
# When changing this, also update mypy-requirements.txt and pyproject.toml
install_requires=[
"typing_extensions>=4.1.0",
"typing_extensions>=4.6.0",
"mypy_extensions >= 1.0.0",
"tomli>=1.1.0; python_version<'3.11'",
],
Expand Down

0 comments on commit b207550

Please sign in to comment.