Skip to content

Commit fc660d6

Browse files
authored
Move typing_extensions to stdlib (#5233)
I'm not sure what the best way to do this is. This effectively orphans types-typing-extensions, but maybe that's not really a problem. (We can yank the package too) See #5229 (comment) for some details Co-authored-by: hauntsaninja <>
1 parent f527e96 commit fc660d6

File tree

18 files changed

+16
-16
lines changed

18 files changed

+16
-16
lines changed

stdlib/VERSIONS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -233,6 +233,7 @@ tty: 2.7
233233
turtle: 2.7
234234
types: 3.6
235235
typing: 3.6
236+
typing_extensions: 2.7
236237
unicodedata: 2.7
237238
unittest: 3.6
238239
urllib: 3.6

stubs/Deprecated/METADATA.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
version = "0.1"
22
python2 = true
3-
requires = ["types-typing-extensions"]
3+
requires = []

stubs/Jinja2/METADATA.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
version = "0.1"
22
python2 = true
3-
requires = ["types-MarkupSafe", "types-typing-extensions"]
3+
requires = ["types-MarkupSafe"]

stubs/Markdown/METADATA.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
version = "0.1"
22
python2 = true
3-
requires = ["types-typing-extensions"]
3+
requires = []

stubs/Werkzeug/METADATA.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
version = "0.1"
22
python2 = true
3-
requires = ["types-typing-extensions"]
3+
requires = []

stubs/aiofiles/METADATA.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
version = "0.1"
2-
requires = ["types-typing-extensions"]
2+
requires = []

stubs/chardet/METADATA.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
version = "0.1"
22
python2 = true
3-
requires = ["types-typing-extensions"]
3+
requires = []

stubs/click-spinner/METADATA.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
version = "0.1"
22
python2 = true
3-
requires = ["types-typing-extensions"]
3+
requires = []

stubs/nmap/METADATA.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
version = "0.1"
22
python2 = true
3-
requires = ["types-typing-extensions"]
3+
requires = []

stubs/pathlib2/METADATA.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
version = "0.1"
22
python2 = true
33
python3 = false
4-
requires = ["types-typing-extensions"]
4+
requires = []

stubs/protobuf/METADATA.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
version = "0.1"
22
python2 = true
3-
requires = ["types-futures", "types-typing-extensions"]
3+
requires = ["types-futures"]

stubs/pysftp/METADATA.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
version = "0.2"
22
python2 = true
3-
requires = ["types-typing-extensions", "types-paramiko"]
3+
requires = ["types-paramiko"]

stubs/python-dateutil/METADATA.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
version = "0.1"
22
python2 = true
3-
requires = ["types-typing-extensions"]
3+
requires = []

stubs/redis/METADATA.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
version = "0.1"
22
python2 = true
3-
requires = ["types-typing-extensions"]
3+
requires = []

stubs/typing-extensions/METADATA.toml

Lines changed: 0 additions & 2 deletions
This file was deleted.

stubs/waitress/METADATA.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
version = "0.1"
2-
requires = ["types-typing-extensions"]
2+
requires = []

tests/stubtest_whitelists/py3_common.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -307,6 +307,7 @@ collections.abc.* # Types are re-exported from _collections_abc, so errors shou
307307
tempfile._TemporaryFileWrapper.[\w_]+
308308
# Various classes in typing aren't types at runtime. In addition, mypy thinks some special forms are tautologically defined.
309309
typing.[A-Z]\w+
310+
typing_extensions\..*
310311
# We can't distinguish not having a default value from having a default value of inspect.Parameter.empty
311312
inspect.Parameter.__init__
312313
inspect.Signature.__init__

0 commit comments

Comments
 (0)