Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove Python 2 support from some third-party distributions #7466

Merged
merged 4 commits into from
Mar 9, 2022
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -126,10 +126,6 @@ contains the following:
* `METADATA.toml`, describing the package. See below for details.
* Stubs (i.e. `*.pyi` files) for packages and modules that are shipped in the
source distribution.
* If the stubs are either Python 2-only, or if the Python 2 and Python 3 stubs
are separate, the Python 2 stubs are put in a `@python2` subdirectory.
Stubs outside `@python2` are always used with Python 3,
and also with Python 2 if `python2 = true` is set in `METADATA.toml` (see below).
* (Rarely) some docs specific to a given type stub package in `README` file.

When a third party stub is added or
Expand Down
1 change: 0 additions & 1 deletion stubs/boto/METADATA.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
version = "2.49.*"
python2 = true
requires = ["types-six"]
2 changes: 0 additions & 2 deletions stubs/cryptography/METADATA.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
version = "3.3.*"
python2 = true
requires = ["types-enum34", "types-ipaddress"]
obsolete_since = "3.4.4"
70 changes: 0 additions & 70 deletions stubs/enum34/@python2/enum.pyi

This file was deleted.

2 changes: 0 additions & 2 deletions stubs/enum34/METADATA.toml

This file was deleted.

149 changes: 0 additions & 149 deletions stubs/ipaddress/@python2/ipaddress.pyi

This file was deleted.

2 changes: 0 additions & 2 deletions stubs/ipaddress/METADATA.toml

This file was deleted.

1 change: 0 additions & 1 deletion stubs/paramiko/METADATA.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
version = "2.8.*"
python2 = true
requires = ["types-cryptography"]
1 change: 0 additions & 1 deletion stubs/pysftp/METADATA.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
version = "0.2.*"
python2 = true
requires = ["types-paramiko"]
2 changes: 0 additions & 2 deletions stubs/pyvmomi/METADATA.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
version = "7.0.*"
python2 = true
requires = ["types-enum34"]
119 changes: 0 additions & 119 deletions stubs/six/@python2/six/__init__.pyi

This file was deleted.

1 change: 0 additions & 1 deletion stubs/six/@python2/six/moves/BaseHTTPServer.pyi

This file was deleted.

1 change: 0 additions & 1 deletion stubs/six/@python2/six/moves/CGIHTTPServer.pyi

This file was deleted.

1 change: 0 additions & 1 deletion stubs/six/@python2/six/moves/SimpleHTTPServer.pyi

This file was deleted.

Loading