Skip to content

Commit

Permalink
Dont require typing-extensions in 3.10 (GH-2772)
Browse files Browse the repository at this point in the history
3.10 ships with TypeGuard which is the newest feature we need.

Co-authored-by: Richard Si <63936253+ichard26@users.noreply.github.com>
  • Loading branch information
MarcoGorelli and ichard26 committed Jan 15, 2022
1 parent 565f9c9 commit 5fe6d48
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
1 change: 1 addition & 0 deletions CHANGES.md
Expand Up @@ -34,6 +34,7 @@
### Packaging

- All upper version bounds on dependencies have been removed (#2718)
- `typing-extensions` is no longer a required dependency in Python 3.10+ (#2772)

### Integrations

Expand Down
5 changes: 1 addition & 4 deletions setup.py
Expand Up @@ -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'",
"pathspec>=0.9.0",
"dataclasses>=0.6; python_version < '3.7'",
"typing_extensions>=3.10.0.0",
# 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'",
"typing_extensions>=3.10.0.0; python_version < '3.10'",
"mypy_extensions>=0.4.3",
],
extras_require={
Expand Down

0 comments on commit 5fe6d48

Please sign in to comment.