-
-
Notifications
You must be signed in to change notification settings - Fork 30.8k
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
PEP 594: Remove stdlib modules scheduled for deletion in Python 3.13 #104773
Comments
Remove the Lib/test/sndhdrdata/ directory.
Remove the Lib/test/sndhdrdata/ directory.
Remove the Lib/test/sndhdrdata/ directory.
* Remove Lib/test/imghdrdata/ directory. * Copy 5 pictures (gif, png, ppm, pgm, xbm) from removed Lib/test/imghdrdata/ to a new Lib/test/tkinterdata/ directory.
* Remove the Lib/test/imghdrdata/ directory. * Copy 5 pictures (gif, png, ppm, pgm, xbm) from removed Lib/test/imghdrdata/ to a new Lib/test/tkinterdata/ directory.
test_pyclbr now long tests the cgi module.
test_pyclbr no longer tests the cgi module.
* Replace "cgi" with "!cgi" in the Sphinx documentation to avoid warnings on broken references. * test_pyclbr no longer tests the cgi module.
* Replace "cgi" with "!cgi" in the Sphinx documentation to avoid warnings on broken references. * test_pyclbr no longer tests the cgi module.
* Replace "cgi" with "!cgi" in the Sphinx documentation to avoid warnings on broken references. * test_pyclbr no longer tests the cgi module.
* Replace "cgi" with "!cgi" in the Sphinx documentation to avoid warnings on broken references. * test_pyclbr no longer tests the cgi module.
* Replace "cgi" with "!cgi" in the Sphinx documentation to avoid warnings on broken references. * test_pyclbr no longer tests the cgi module.
Remove the Lib/test/sndhdrdata/ directory.
Remove the Lib/test/sndhdrdata/ directory.
The module has no tests.
* Remove the Lib/test/imghdrdata/ directory. * Copy 5 pictures (gif, png, ppm, pgm, xbm) from removed Lib/test/imghdrdata/ to a new Lib/test/tkinterdata/ directory.
* Remove the Lib/test/imghdrdata/ directory. * Copy 5 pictures (gif, png, ppm, pgm, xbm) from removed Lib/test/imghdrdata/ to a new Lib/test/tkinterdata/ directory.
* Remove the Lib/test/imghdrdata/ directory. * Copy 5 pictures (gif, png, ppm, pgm, xbm) from removed Lib/test/imghdrdata/ to a new Lib/test/tkinterdata/ directory.
* Remove the Lib/test/imghdrdata/ directory. * Copy 5 pictures (gif, png, ppm, pgm, xbm) from removed Lib/test/imghdrdata/ to a new Lib/test/tkinterdata/ directory. * Update Sphinx from 4.5 to 6.2 in Doc/requirements.txt.
Summary:
The remaining minor task related to the uu encoding is covered by PR #92758. I'm not sure how to coordinate the work on helping third-party Python projects migrating to Python 3.13: move away from removed modules. But I prefer to not reuse this issue for this. Maybe discuss.python.org is a better place for that, since it's more visible than the Python bug tracker. I created python/peps#3156 to mark PEP 594 as Final. |
I created a discussion on discuss.python.org: PEP 594 has been implementated: Python 3.13 removes 20 stdlib modules. |
The Python 3.13 release notes mention `filetype.py` as one of the alternatives for `imghdr` which was removed from the Standard Library so let's ensure that its test pass on Python 3.13 beta. https://www.python.org/downloads/release/python-3130b1/ Raises `ModuleNotFoundError: No module named 'imghdr'` because Python 3.13 removes it from the Standard Library. * https://docs.python.org/3/library/imghdr.html > imghdr: use the projects [filetype](https://pypi.org/project/filetype/), [puremagic](https://pypi.org/project/puremagic/), or [python-magic](https://pypi.org/project/python-magic/) instead. (Contributed by Victor Stinner in [gh-104773](python/cpython#104773).) https://docs.python.org/3.13/whatsnew/3.13.html#pep-594-dead-batteries-and-other-module-removals
The Python 3.13 release notes mention `puremagic` as one of the alternatives for `imghdr` which was removed from the Standard Library so let's ensure that its tests pass on Python 3.13 beta. https://www.python.org/downloads/release/python-3130b1/ May raise `ModuleNotFoundError: No module named 'imghdr'` because Python 3.13 removes it from the Standard Library. * https://docs.python.org/3/library/imghdr.html > imghdr: use the projects [filetype](https://pypi.org/project/filetype/), [puremagic](https://pypi.org/project/puremagic/), or [python-magic](https://pypi.org/project/python-magic/) instead. (Contributed by Victor Stinner in [gh-104773](python/cpython#104773).) https://docs.python.org/3.13/whatsnew/3.13.html#pep-594-dead-batteries-and-other-module-removals
The Python 3.13 release notes mention `python-magic` as one of the alternatives for `imghdr` which was removed from the Standard Library so let's ensure that its tests pass on Python 3.13 beta. https://www.python.org/downloads/release/python-3130b1/ May raise `ModuleNotFoundError: No module named 'imghdr'` because Python 3.13 removes it from the Standard Library. * https://docs.python.org/3/library/imghdr.html > imghdr: use the projects [filetype](https://pypi.org/project/filetype/), [puremagic](https://pypi.org/project/puremagic/), or [python-magic](https://pypi.org/project/python-magic/) instead. (Contributed by Victor Stinner in [gh-104773](python/cpython#104773).) https://docs.python.org/3.13/whatsnew/3.13.html#pep-594-dead-batteries-and-other-module-removals
The Python 3.13 release notes mention `python-magic` as one of the alternatives for `imghdr` which was removed from the Standard Library so let's ensure that its tests pass on Python 3.13 beta. https://www.python.org/downloads/release/python-3130b1/ May raise `ModuleNotFoundError: No module named 'imghdr'` because Python 3.13 removes it from the Standard Library. * https://docs.python.org/3/library/imghdr.html > imghdr: use the projects [filetype](https://pypi.org/project/filetype/), [puremagic](https://pypi.org/project/puremagic/), or [python-magic](https://pypi.org/project/python-magic/) instead. (Contributed by Victor Stinner in [gh-104773](python/cpython#104773).) https://docs.python.org/3.13/whatsnew/3.13.html#pep-594-dead-batteries-and-other-module-removals
The Python 3.13 release notes mention `python-magic` as one of the alternatives for `imghdr` which was removed from the Standard Library so let's ensure that its tests pass on Python 3.13 beta. https://www.python.org/downloads/release/python-3130b1/ May raise `ModuleNotFoundError: No module named 'imghdr'` because Python 3.13 removes it from the Standard Library. * https://docs.python.org/3/library/imghdr.html > imghdr: use the projects [filetype](https://pypi.org/project/filetype/), [puremagic](https://pypi.org/project/puremagic/), or [python-magic](https://pypi.org/project/python-magic/) instead. (Contributed by Victor Stinner in [gh-104773](python/cpython#104773).) https://docs.python.org/3.13/whatsnew/3.13.html#pep-594-dead-batteries-and-other-module-removals
PEP 594 ("Removing dead batteries from the standard library") deprecated the following 19 modules in Python 3.11 (or before) and their removal in Python 3.13:
I propose to remove them as soon as possible in the Python 3.13 development cycle to help users to prepare for this incompatible change before Python 3.13 final release (scheduled for October 2024).
I plan to work on pull requests to remove these modules.
Linked PRs
The text was updated successfully, but these errors were encountered: