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

Bug#1041198: marked as done (qtwebengine-opensource-src: Uses deprecated Python distutils)



Your message dated Thu, 18 Jul 2024 16:36:41 -0700
with message-id <5052792.KebhpiMAHz@soren-desktop>
and subject line qtwebengine-opensource-src: Uses deprecated Python distutils
has caused the Debian Bug report #1041198,
regarding qtwebengine-opensource-src: Uses deprecated Python distutils
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
1041198: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1041198
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
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?

--- End Message ---
--- Begin Message ---
My testing indicates that this bug is not an issue.

Without question, distutils is not invoked during build, as qtwebengine-
opensource-src build on unstable, which no longer includes python2-distutils.

Additionally, I am not able to trigger any code attempting to call distutils 
at runtime.

It appears that these are simply python files included as part Chromium’s 
third-party imports but that aren’t actually accessed through any of Qt 
WebEngine’s code paths.

-- 
Soren Stoutner
soren@debian.org

Attachment: signature.asc
Description: This is a digitally signed message part.


--- End Message ---

Reply to: