Skip to content

Commit 6d06226

Browse files
committed
[build] Added dependency on typing-extensions >= 4.0 for Python versions older than 3.11.
Signed-off-by: Michael Seifert <[email protected]>
1 parent 4fba010 commit 6d06226

File tree

5 files changed

+5
-0
lines changed

5 files changed

+5
-0
lines changed

dependencies/default/constraints.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,5 @@ sortedcontainers==2.4.0
2020
tomli==2.0.1
2121
trio==0.22.2
2222
typed-ast==1.5.5
23+
typing-extensions==4.7.1
2324
zipp==3.17.0

dependencies/default/requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
# Always adjust install_requires in setup.cfg and pytest-min-requirements.txt
22
# when changing runtime dependencies
33
pytest >= 7.0.0
4+
typing-extensions >= 4.0; python_version < "3.11"

dependencies/pytest-min/constraints.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,5 @@ requests==2.28.1
1919
sortedcontainers==2.4.0
2020
tomli==2.0.1
2121
urllib3==1.26.12
22+
typing-extensions==4.7.1
2223
xmlschema==2.1.1
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
# Always adjust install_requires in setup.cfg and requirements.txt
22
# when changing minimum version dependencies
33
pytest[testing] == 7.0.0
4+
typing-extensions >= 4.0; python_version < "3.11"

setup.cfg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ include_package_data = True
4141
# Always adjust requirements.txt and pytest-min-requirements.txt when changing runtime dependencies
4242
install_requires =
4343
pytest >= 7.0.0
44+
typing-extensions >= 4.0;python_version < "3.11"
4445

4546
[options.extras_require]
4647
testing =

0 commit comments

Comments
 (0)