Skip to content

Commit c3907ab

Browse files
srittauAlexWaygood
andauthored
Remove Python 2 support from some third-party distributions (#7466)
Co-authored-by: Alex Waygood <[email protected]>
1 parent 4e87b90 commit c3907ab

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+10
-557
lines changed

CONTRIBUTING.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -126,10 +126,6 @@ contains the following:
126126
* `METADATA.toml`, describing the package. See below for details.
127127
* Stubs (i.e. `*.pyi` files) for packages and modules that are shipped in the
128128
source distribution.
129-
* If the stubs are either Python 2-only, or if the Python 2 and Python 3 stubs
130-
are separate, the Python 2 stubs are put in a `@python2` subdirectory.
131-
Stubs outside `@python2` are always used with Python 3,
132-
and also with Python 2 if `python2 = true` is set in `METADATA.toml` (see below).
133129
* (Rarely) some docs specific to a given type stub package in `README` file.
134130

135131
When a third party stub is added or

stubs/boto/METADATA.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
version = "2.49.*"
2-
python2 = true
32
requires = ["types-six"]

stubs/cryptography/METADATA.toml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,2 @@
11
version = "3.3.*"
2-
python2 = true
3-
requires = ["types-enum34", "types-ipaddress"]
42
obsolete_since = "3.4.4"

stubs/enum34/@python2/enum.pyi

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

stubs/enum34/METADATA.toml

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

stubs/ipaddress/@python2/ipaddress.pyi

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

stubs/ipaddress/METADATA.toml

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

stubs/paramiko/METADATA.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
version = "2.8.*"
2-
python2 = true
32
requires = ["types-cryptography"]

stubs/pysftp/METADATA.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
version = "0.2.*"
2-
python2 = true
32
requires = ["types-paramiko"]

stubs/pyvmomi/METADATA.toml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1 @@
11
version = "7.0.*"
2-
python2 = true
3-
requires = ["types-enum34"]

stubs/six/@python2/six/__init__.pyi

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

stubs/six/@python2/six/moves/BaseHTTPServer.pyi

Lines changed: 0 additions & 1 deletion
This file was deleted.

stubs/six/@python2/six/moves/CGIHTTPServer.pyi

Lines changed: 0 additions & 1 deletion
This file was deleted.

stubs/six/@python2/six/moves/SimpleHTTPServer.pyi

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)