#1084550 qt6-webengine: removal of Python standard libraries in Python 3.13

#1084550#5
Date:
2024-10-07 16:14:19 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:

cgi: src/3rdparty/chromium/components/crash/content/tools/dmp2minidump.py:11
cgi:
src/3rdparty/chromium/tools/json_schema_compiler/highlighters/none_highlighter.py:5
cgi: src/3rdparty/chromium/tools/unused-symbols-report.py:22
cgi: src/3rdparty/gn/misc/help_as_html.py:14
cgi: src/3rdparty/ninja/src/browse.py:30
imghdr:
src/3rdparty/chromium/chrome/test/chromedriver/test/run_py_tests.py:17
pipes: src/3rdparty/chromium/buildtools/checkdeps/graphdeps.py:20
pipes: src/3rdparty/chromium/tools/clang/scripts/remote_link.py:21
pipes: src/3rdparty/chromium/v8/tools/mb/mb.py:21
pipes: src/3rdparty/ninja/configure.py:26
cgi:
src/3rdparty/chromium/ppapi/native_client/tools/browser_tester/browsertester/server.py:6
cgi:
src/3rdparty/chromium/third_party/blink/tools/blinkpy/web_tests/breakpad/dump_reader_multipart.py:29
cgi:
src/3rdparty/chromium/third_party/jsoncpp/source/devtools/batchbuild.py:12
cgi:
src/3rdparty/chromium/third_party/wpt_tools/wpt/tools/wptserve/wptserve/request.py:4

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

Cheers,

#1084550#14
Date:
2025-04-13 18:19:31 UTC
From:
To:
Hi,
[..]

this bug is severity: serious. However, qt6-webengine was uploaded
about 42 days ago and built successfully.

Is this a valid bug report or not?

Chris

#1084550#19
Date:
2025-04-14 17:35:52 UTC
From:
To:
On Sunday, April 13, 2025 11:19:31 AM Mountain Standard Time Chris Hofstaedtler wrote:
wrote:

These file are either entirely are almost entirely not used by qt6-
webengine.  They are included in upstream chromium code, which is
shipped in the qt6-webengine package even when it is not used.

At some point, probably during the freeze, I am planning to go through
each of these files and make sure there is no code path that reaches
them, but, as pointed out, the package builds fine and there are no
bugs from any users indicating that there are any problems.

If there are any problems, they are likely to be in the devtools
functionality, which is very rarely used.

https://doc.qt.io/qt-6/qtwebengine-features.html#chromium-devtools