From: Marco Edward Gorelli Date: Sat, 15 Jan 2022 04:24:55 +0000 (+0000) Subject: Dont require typing-extensions in 3.10 (GH-2772) X-Git-Url: https://git.madduck.net/etc/vim.git/commitdiff_plain/5fe6d48fcd687a972278048d3bfeec9e2040ed64 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> --- diff --git a/CHANGES.md b/CHANGES.md index 6813e86..32059a3 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -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 diff --git a/setup.py b/setup.py index 5763249..c31baab 100644 --- a/setup.py +++ b/setup.py @@ -103,10 +103,7 @@ setup( "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={