[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1041199: qt6-webengine: Uses deprecated Python distutils



Source: qt6-webengine
Version: 6.4.2-final+dfsg-5
Severity: minor
Tags: upstream

There are a number of files that depend on Python's deprecated distutils.

>From https://udd.debian.org/lintian/?&packages=qt6-webengine&format=html&lt_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


Python 3.12 is already in Debian and, presumably, at some point soon will become the default.

https://tracker.debian.org/pkg/python3.12


This problem also affects qtwebengine-opensource-src and chromium, although the list of affected files is different.

Does anyone know if upstream is working on removing the distutils dependency?


Reply to: