Dont require typing-extensions in 3.10 (GH-2772)
3.10 ships with TypeGuard which is the newest feature we need. Co-authored-by: Richard Si <63936253+ichard26@users.noreply.github.com>
This commit is contained in:
parent
565f9c92b7
commit
5fe6d48fcd
@ -34,6 +34,7 @@
|
|||||||
### Packaging
|
### Packaging
|
||||||
|
|
||||||
- All upper version bounds on dependencies have been removed (#2718)
|
- All upper version bounds on dependencies have been removed (#2718)
|
||||||
|
- `typing-extensions` is no longer a required dependency in Python 3.10+ (#2772)
|
||||||
|
|
||||||
### Integrations
|
### Integrations
|
||||||
|
|
||||||
|
5
setup.py
5
setup.py
@ -103,10 +103,7 @@ def find_python_files(base: Path) -> List[Path]:
|
|||||||
"typed-ast>=1.4.2; python_version < '3.8' and implementation_name == 'cpython'",
|
"typed-ast>=1.4.2; python_version < '3.8' and implementation_name == 'cpython'",
|
||||||
"pathspec>=0.9.0",
|
"pathspec>=0.9.0",
|
||||||
"dataclasses>=0.6; python_version < '3.7'",
|
"dataclasses>=0.6; python_version < '3.7'",
|
||||||
"typing_extensions>=3.10.0.0",
|
"typing_extensions>=3.10.0.0; python_version < '3.10'",
|
||||||
# 3.10.0.1 is broken on at least Python 3.10,
|
|
||||||
# https://github.com/python/typing/issues/865
|
|
||||||
"typing_extensions!=3.10.0.1; python_version >= '3.10'",
|
|
||||||
"mypy_extensions>=0.4.3",
|
"mypy_extensions>=0.4.3",
|
||||||
],
|
],
|
||||||
extras_require={
|
extras_require={
|
||||||
|
Loading…
Reference in New Issue
Block a user