You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PEP 594 (Removing dead batteries from the standard library) deprecates cgi (among other modules) starting in Python 3.11. The DeprecationWarning was added on import as of Python 3.11.0b1 today.
Expected behavior
Pip should be able to install packages without raising deprecation warnings.
pip version
22.0.4
Python version
3.11.0b1
OS
Debian GNU/Linux
How to Reproduce
export PYTHONWARNINGS=error and then pip install anything from the network
Output
DeprecationWarning: 'cgi' is deprecated and slated for removal in Python 3.13
@fungi Thanks for filing this issue. As a general note, I'd suggest avoiding mentioning issues in commit messages, since that results in an entry on this issue every time you amend/rebase that commit.
@fungi Thanks for filing this issue. As a general note, I'd suggest avoiding mentioning issues in commit messages, since that results in an entry on this issue every time you amend/rebase that commit.
Thanks for the idea! I'll try to remember to remove it if it needs to be amended again.
Description
PEP 594 (Removing dead batteries from the standard library) deprecates cgi (among other modules) starting in Python 3.11. The DeprecationWarning was added on import as of Python 3.11.0b1 today.
Expected behavior
Pip should be able to install packages without raising deprecation warnings.
pip version
22.0.4
Python version
3.11.0b1
OS
Debian GNU/Linux
How to Reproduce
export PYTHONWARNINGS=error and then pip install anything from the network
Output
DeprecationWarning: 'cgi' is deprecated and slated for removal in Python 3.13
Code of Conduct
The text was updated successfully, but these errors were encountered: