Skip to content

Pin mypy_extensions to <2 #18550

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion mypy-requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +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
mypy_extensions>=1.0.0,<2
tomli>=1.1.0; python_version<'3.11'
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ requires = [
# and build-requirements.txt, because those are both needed for
# self-typechecking :/
"setuptools >= 75.1.0",
# the following is from mypy-requirements.txt/setup.py
# the following is from mypy-requirements.txt
"typing_extensions>=4.6.0",
"mypy_extensions>=1.0.0",
"mypy_extensions>=1.0.0,<2",
"tomli>=1.1.0; python_version<'3.11'",
# the following is from build-requirements.txt
"types-psutil",
Expand Down Expand Up @@ -48,7 +48,7 @@ requires-python = ">=3.9"
dependencies = [
# When changing this, also update build-system.requires and mypy-requirements.txt
"typing_extensions>=4.6.0",
"mypy_extensions>=1.0.0",
"mypy_extensions>=1.0.0,<2",
"tomli>=1.1.0; python_version<'3.11'",
]
dynamic = ["version"]
Expand Down
Loading