Skip to content

Commit 2df3741

Browse files
committed
Pin mypy_extensions to <2
1 parent b82697b commit 2df3741

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

mypy-requirements.txt

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

pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ requires = [
44
# and build-requirements.txt, because those are both needed for
55
# self-typechecking :/
66
"setuptools >= 75.1.0",
7-
# the following is from mypy-requirements.txt/setup.py
7+
# the following is from mypy-requirements.txt
88
"typing_extensions>=4.6.0",
9-
"mypy_extensions>=1.0.0",
9+
"mypy_extensions>=1.0.0,<2",
1010
"tomli>=1.1.0; python_version<'3.11'",
1111
# the following is from build-requirements.txt
1212
"types-psutil",
@@ -48,7 +48,7 @@ requires-python = ">=3.9"
4848
dependencies = [
4949
# When changing this, also update build-system.requires and mypy-requirements.txt
5050
"typing_extensions>=4.6.0",
51-
"mypy_extensions>=1.0.0",
51+
"mypy_extensions>=1.0.0,<2",
5252
"tomli>=1.1.0; python_version<'3.11'",
5353
]
5454
dynamic = ["version"]

0 commit comments

Comments
 (0)