Skip to content

Commit 7a502a3

Browse files
committed
MNT: Require typing_extensions for Python <3.13
1 parent 83eaf0b commit 7a502a3

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ dependencies = [
1414
"numpy >=1.20",
1515
"packaging >=17",
1616
"importlib_resources >=5.12; python_version < '3.12'",
17+
"typing_extensions >=4.6; python_version < '3.13'",
1718
]
1819
classifiers = [
1920
"Development Status :: 5 - Production/Stable",

tox.ini

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,8 @@ extras = test
7777
deps =
7878
# General minimum dependencies: pin based on API usage
7979
min: packaging ==17
80-
min: importlib_resources ==1.3; python_version < '3.9'
80+
min: importlib_resources ==5.12; python_version < '3.12'
81+
min: typing_extensions ==4.6; python_version < '3.13'
8182
# NEP29/SPEC0 + 1yr: Test on minor release series within the last 3 years
8283
# We're extending this to all optional dependencies
8384
# This only affects the range that we test on; numpy is the only non-optional

0 commit comments

Comments
 (0)