Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
6.4.2
-
None
Description
Qt WebEngine includes a number of files that depend on Python's deprecated distutils.
Debian's Lintian tools reports the following files in the Debian qt6-webengine package, although this might not be a comprehensive list of all affected files in the WebEngine project.
From https://udd.debian.org/lintian/?&packages=qt6-webengine&format=html<_information=on
src/3rdparty/chromium/third_party/vulkan-deps/glslang/src/update_glslang_sources.py:24
src/3rdparty/chromium/third_party/webdriver/pylib/selenium/webdriver/firefox/firefox_profile.py:26
src/3rdparty/chromium/third_party/wpt_tools/wpt/tools/wpt/browser.py:10
src/3rdparty/chromium/third_party/wpt_tools/wpt/tools/wptrunner/wptrunner/browsers/safari.py:3
src/3rdparty/chromium/third_party/wpt_tools/wpt/tools/wptrunner/wptrunner/browsers/safari.py:4
src/3rdparty/chromium/third_party/wpt_tools/wpt/tools/wptrunner/wptrunner/wptcommandline.py:5
src/3rdparty/chromium/third_party/wpt_tools/wpt/tools/wpt/run.py:5
src/3rdparty/chromium/third_party/wpt_tools/wpt/tools/wpt/virtualenv.py:5
src/3rdparty/chromium/tools/binary_size/libsupersize/main.py:9
src/3rdparty/chromium/tools/bisect-builds.py:93
src/3rdparty/chromium/tools/ipc_fuzzer/scripts/cf_package_builder.py:12
src/3rdparty/chromium/tools/real_world_impact/real_world_impact.py:26
src/3rdparty/chromium/tools/valgrind/asan/third_party/asan_symbolize.py:31
src/3rdparty/chromium/v8/tools/release/common_includes.py:31
tools/scripts/take_snapshot.py:13
src/3rdparty/chromium/build/toolchain/win/midl.py:10
src/3rdparty/chromium/build/win/message_compiler.py:12
src/3rdparty/chromium/third_party/pdfium/testing/tools/pngdiffer.py:8
src/3rdparty/chromium/third_party/perfetto/python/setup.py:1
src/3rdparty/chromium/third_party/protobuf/python/compatibility_tests/v2.5.0/setup.py:16
src/3rdparty/chromium/third_party/protobuf/python/protobuf_distutils/protobuf_distutils/generate_py_protobufs.py:38
src/3rdparty/chromium/third_party/protobuf/python/protobuf_distutils/protobuf_distutils/generate_py_protobufs.py:39
src/3rdparty/chromium/third_party/protobuf/python/protobuf_distutils/protobuf_distutils/generate_py_protobufs.py:40
src/3rdparty/chromium/third_party/protobuf/python/setup.py:19
src/3rdparty/chromium/third_party/protobuf/python/setup.py:20
src/3rdparty/chromium/third_party/protobuf/python/setup.py:21
src/3rdparty/chromium/third_party/protobuf/python/setup.py:4
src/3rdparty/chromium/third_party/pycoverage/setup.py:46
src/3rdparty/chromium/third_party/pycoverage/setup.py:47
src/3rdparty/chromium/third_party/pycoverage/setup.py:48
src/3rdparty/chromium/third_party/pyelftools/setup.py:10
src/3rdparty/chromium/third_party/tflite/src/tensorflow/api_template.{}init{}.py:29
src/3rdparty/chromium/third_party/tflite/src/tensorflow/api_template_v1.{}init{}.py:17
src/3rdparty/chromium/third_party/tflite/src/tensorflow/lite/python/convert.py:17
src/3rdparty/chromium/third_party/tflite/src/tensorflow/python/compiler/tensorrt/utils.py:17
src/3rdparty/chromium/third_party/tflite/src/tensorflow/python/ops/math_ops_linspace_test.py:19
src/3rdparty/chromium/third_party/tflite/src/tensorflow/python/tpu/profiler/capture_tpu_profile.py:22
src/3rdparty/chromium/third_party/tflite/src/tensorflow/tools/docs/base_dir.py:16
src/3rdparty/chromium/third_party/tflite/src/tensorflow/tools/docs/generate2.py:28
The description of this lintian tag reads as follows:
This package uses the Python distutils module.
In Python 3.10 and 3.11, distutils has been formally marked as deprecated.
Code that imports distutils will no longer work from Python 3.12.
Please prepare for this deprecation and migrate away from the Python
distutils module.
See-Also: https://peps.python.org/pep-0632
There is an upstream Chromium bug report at https://bugs.chromium.org/p/chromium/issues/detail?id=1467539.