Skip to content

Commit a2035a1

Browse files
committed
Add missing dependency on typing-extensions
This was present at v4.6.0+ in our testsuite context via pytest -> exceptiongroup -> typing-extensions Adding it to our explicit dependencies prevents failures for users on 3.9 and 3.10 . A new test scenario cannot be trivially added for this, since any testing would need to be done without pytest. Automated testing is therefore considered out-of-scope for this change. Manual tests show that `pip-compile -h` fails on 3.9 before this change and pass afterwards.
1 parent 27f6a96 commit a2035a1

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

changelog.d/2424.bugfix.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Added a missing dependency on ``typing-extensions`` for Python 3.9 and 3.10
2+
-- by {user}`sirosen`.

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ dependencies = [
4242
"click >= 8",
4343
"pip >= 22.2",
4444
"pyproject_hooks",
45+
"typing_extensions >= 4.6.0; python_version < '3.11'",
4546
"tomli; python_version < '3.11'",
4647
# indirect dependencies
4748
"setuptools", # typically needed when pip-tools invokes setup.py

0 commit comments

Comments
 (0)