Skip to content

Commit 35478fd

Browse files
committed
dont require typing-extensions in 3.10
1 parent 565f9c9 commit 35478fd

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

CHANGES.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
### Packaging
3535

3636
- All upper version bounds on dependencies have been removed (#2718)
37+
- `typing-extensions` is no longer a required dependency in Python3.10+ (#2772)
3738

3839
### Integrations
3940

setup.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -103,10 +103,7 @@ def find_python_files(base: Path) -> List[Path]:
103103
"typed-ast>=1.4.2; python_version < '3.8' and implementation_name == 'cpython'",
104104
"pathspec>=0.9.0",
105105
"dataclasses>=0.6; python_version < '3.7'",
106-
"typing_extensions>=3.10.0.0",
107-
# 3.10.0.1 is broken on at least Python 3.10,
108-
# https://github.com/python/typing/issues/865
109-
"typing_extensions!=3.10.0.1; python_version >= '3.10'",
106+
"typing_extensions>=3.10.0.0; python_version < '3.10'",
110107
"mypy_extensions>=0.4.3",
111108
],
112109
extras_require={

0 commit comments

Comments
 (0)