]> git.madduck.net Git - etc/vim.git/commitdiff

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

Dont require typing-extensions in 3.10 (GH-2772)
authorMarco Edward Gorelli <marcogorelli@protonmail.com>
Sat, 15 Jan 2022 04:24:55 +0000 (04:24 +0000)
committerGitHub <noreply@github.com>
Sat, 15 Jan 2022 04:24:55 +0000 (23:24 -0500)
3.10 ships with TypeGuard which is the newest feature we need.

Co-authored-by: Richard Si <63936253+ichard26@users.noreply.github.com>
CHANGES.md
setup.py

index 6813e86e0da64125bac75a5429a97382f6248691..32059a305483cf5e2a0f1cd3494f5ae30c3925a1 100644 (file)
@@ -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
 
index 57632498debc65d850bc1376fc859e5e44b92e55..c31baab00ae06de6634eec6d600e4a7209dccd2d 100644 (file)
--- 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={