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

Bug#1041198: qtwebengine-opensource-src: Uses deprecated Python distutils



Source: qtwebengine-opensource-src
Version: 5.15.13+dfsg-1~deb12u1
Severity: minor
Tags: upstream

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

>From https://udd.debian.org/lintian/?&packages=qtwebengine-opensource-src&format=html&lt_information=on

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/tlslite/setup.py:6
src/3rdparty/chromium/third_party/webdriver/pylib/selenium/webdriver/firefox/firefox_profile.py:26
src/3rdparty/chromium/third_party/webrtc/tools_webrtc/ios/build_ios_libs.py:17
src/3rdparty/chromium/tools/binary_size/diagnose_bloat.py:17
src/3rdparty/chromium/tools/binary_size/libsupersize/main.py:11
src/3rdparty/chromium/tools/binary_size/libsupersize/path_util.py:8
src/3rdparty/chromium/tools/ipc_fuzzer/scripts/cf_package_builder.py:12
src/3rdparty/chromium/tools/bisect-builds.py:90
src/3rdparty/chromium/tools/real_world_impact/real_world_impact.py:26
tools/scripts/take_snapshot.py:39
src/3rdparty/chromium/build/android/gyp/compile_java.py:7
src/3rdparty/chromium/build/toolchain/win/midl.py:10
src/3rdparty/chromium/build/win/message_compiler.py:12
src/3rdparty/chromium/third_party/angle/third_party/vulkan-loader/src/scripts/update_deps.py:245
src/3rdparty/chromium/third_party/angle/third_party/vulkan-tools/src/scripts/update_deps.py:245
src/3rdparty/chromium/third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/wpt/browser.py:10
src/3rdparty/chromium/third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/wpt/run.py:5
src/3rdparty/chromium/third_party/blink/tools/blinkpy/third_party/wpt/wpt/tools/wpt/virtualenv.py:5
src/3rdparty/chromium/third_party/glslang/src/update_glslang_sources.py:24
src/3rdparty/chromium/third_party/pdfium/testing/tools/pngdiffer.py:6
src/3rdparty/chromium/third_party/perfetto/src/trace_processor/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/setup.py:18
src/3rdparty/chromium/third_party/protobuf/python/setup.py:19
src/3rdparty/chromium/third_party/protobuf/python/setup.py:20


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 qt6-webengine and chromium, although the list of affected files is different.

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


Reply to: