Skip to content

Commit

Permalink
Remove Python 2 support from some third-party distributions
Browse files Browse the repository at this point in the history
* Remove all Python 2 only third-party distributions.
* Remove Python 2 support from six as the Python 2 stubs diverged from
  the Python 3 stubs.
* Recursively remove Python 2 support from all distributions that depend
  on the distributions above.

Affects:

* boto
* cryptography
* enum34 (removed)
* ipaddress (removed)
* paramiko
* pysftp
* pyvmomi
* six

Part of python#7367
  • Loading branch information
srittau committed Mar 9, 2022
1 parent 70988f1 commit 2f41d6d
Show file tree
Hide file tree
Showing 45 changed files with 0 additions and 532 deletions.
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

0 comments on commit 2f41d6d

Please sign in to comment.