#1084628 jython: removal of Python standard libraries in Python 3.13

Package:
src:jython
Source:
src:jython
Submitter:
Louis-Philippe Véronneau
Date:
2025-08-17 18:14:25 UTC
Severity:
normal
Tags:
#1084628#5
Date:
2024-10-07 16:20:17 UTC
From:
To:
Dear maintainer(s),

Python 3.13 removes a large amount of so called 'dead battery' libraries
from the standard library. As such, code that imports these libraries
will no longer work in Python 3.13, which is the targeted version for
Trixie.

The following removed libraries were found in this package:

imghdr: lib-python/2.7/email/mime/image.py:9
imghdr: lib-python/2.7/plat-irix5/torgb.py:15
imghdr: lib-python/2.7/plat-irix6/torgb.py:15
msilib: lib-python/2.7/distutils/command/bdist_msi.py:19
msilib: lib-python/2.7/distutils/command/bdist_msi.py:20
msilib: lib-python/2.7/distutils/command/bdist_msi.py:21
msilib: lib-python/2.7/msilib/text.py:1
pipes: lib-python/2.7/idlelib/IOBinding.py:10
pipes: lib-python/2.7/plat-irix5/torgb.py:14
pipes: lib-python/2.7/plat-irix6/torgb.py:14
pipes: lib-python/2.7/test/test_pipes.py:1
pipes: lib-python/2.7/toaiff.py:16
sndhdr: lib-python/2.7/email/mime/audio.py:9
sndhdr: lib-python/2.7/toaiff.py:17
sunau: lib-python/2.7/test/test_ossaudiodev.py:10
telnetlib: lib-python/2.7/test/test_telnetlib.py:2
xdrlib: lib-python/2.7/test/test_xdrlib.py:4
aifc: Lib/test/test_aifc.py:6
aifc: lib-python/2.7/test/test_aifc.py:6
audioop: lib-python/2.7/test/test_audioop.py:1
audioop: lib-python/2.7/test/test_linuxaudiodev.py:8
audioop: lib-python/2.7/test/test_ossaudiodev.py:12
cgi: Lib/SimpleHTTPServer.py:17
cgi: Lib/test/test_httpservers.py:368
cgi: lib-python/2.7/SimpleHTTPServer.py:17
cgi: lib-python/2.7/test/test_cgi.py:2
cgi: lib-python/2.7/test/test_httpservers.py:365
cgi: lib-python/2.7/test/test_xml_etree.py:15
chunk: lib-python/2.7/aifc.py:253
chunk: lib-python/2.7/wave.py:92

See this link for more details:
https://peps.python.org/pep-0594/#deprecated-modules

Cheers,

#1084628#14
Date:
2025-03-20 16:08:38 UTC
From:
To:
This is probably a false positive because these are the jython
implementations of those old modules. It does most certainly not depend
on the CPython ones.