Debian Bug report logs -
#938322
qtwebengine-opensource-src: Python2 removal in sid/bullseye
Toggle useless messages
Report forwarded
to Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>:
Bug#938322; Package src:qtwebengine-opensource-src.
(Fri, 30 Aug 2019 09:30:13 GMT) (full text, mbox, link).
Acknowledgement sent
to Matthias Klose <doko@debian.org>:
New Bug report received and forwarded. Copy sent to Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>.
(Fri, 30 Aug 2019 09:30:13 GMT) (full text, mbox, link).
Message #5 received at maintonly@bugs.debian.org (full text, mbox, reply):
Package: src:qtwebengine-opensource-src
Version: 5.11.3+dfsg-2
Severity: normal
Tags: sid bullseye
User: debian-python@lists.debian.org
Usertags: py2removal
Python2 becomes end-of-live upstream, and Debian aims to remove
Python2 from the distribution, as discussed in
https://lists.debian.org/debian-python/2019/07/msg00080.html
Your package either build-depends, depends on Python2, or uses Python2
in the autopkg tests. Please stop using Python2, and fix this issue
by one of the following actions.
- Convert your Package to Python3. This is the preferred option. In
case you are providing a Python module foo, please consider dropping
the python-foo package, and only build a python3-foo package. Please
don't drop Python2 modules, which still have reverse dependencies,
just document them.
This is the preferred option.
- If the package is dead upstream, cannot be converted or maintained
in Debian, it should be removed from the distribution. If the
package still has reverse dependencies, raise the severity to
"serious" and document the reverse dependencies with the BTS affects
command. If the package has no reverse dependencies, confirm that
the package can be removed, reassign this issue to ftp.debian.org,
make sure that the bug priority is set to normal and retitle the
issue to "RM: PKG -- removal triggered by the Python2 removal".
- If the package has still many users (popcon >= 300), or is needed to
build another package which cannot be removed, document that by
adding the "py2keep" user tag (not replacing the py2remove tag),
using the debian-python@lists.debian.org user. Also any
dependencies on an unversioned python package (python, python-dev)
must not be used, same with the python shebang. These have to be
replaced by python2/python2.7 dependencies and shebang.
This is the least preferred option.
If the conversion or removal needs action on another package first,
please document the blocking by using the BTS affects command, like
affects <bug number of blocking py2removal bug> + src:qtwebengine-opensource-src
If there is no py2removal bug for that reverse-dependency, please file
a bug on this package (similar to this bug report).
If there are questions, please refer to the wiki page for the removal:
https://wiki.debian.org/Python/2Removal, or ask for help on IRC
#debian-python, or the debian-python@lists.debian.org mailing list.
Added indication that bug 938322 blocks 937695
Request was from Sandro Tosi <morph@debian.org>
to control@bugs.debian.org.
(Mon, 21 Oct 2019 23:20:11 GMT) (full text, mbox, link).
Severity set to 'serious' from 'normal'
Request was from Sandro Tosi <morph@debian.org>
to control@bugs.debian.org.
(Wed, 08 Jul 2020 06:39:51 GMT) (full text, mbox, link).
Severity set to 'normal' from 'serious'
Request was from Sandro Tosi <morph@debian.org>
to control@bugs.debian.org.
(Wed, 08 Jul 2020 07:03:50 GMT) (full text, mbox, link).
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>:
Bug#938322; Package src:qtwebengine-opensource-src.
(Fri, 16 Oct 2020 18:39:02 GMT) (full text, mbox, link).
Acknowledgement sent
to Dmitry Shachnev <mitya57@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>.
(Fri, 16 Oct 2020 18:39:02 GMT) (full text, mbox, link).
Message #18 received at 938322@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Hi Moritz!
On Fri, Oct 16, 2020 at 08:04:56PM +0200, Moritz Mühlenhoff wrote:
> There will be few core packages build-depending on Python 2 (for tests
> or building) which won't be ready for Python 3 for Bullseye (Chromium,
> qtwebkit and IIRC also Pypy), but those only need Python 2 (and a very
> small set of support packages like setuptools/jinja) to build and
> run their tests.
Small correction: s/qtwebkit/qtwebengine/.
QtWebEngine bundles Chromium whose upstream is actively working on
Python 3 port [1]. Most probably it won't be ready in time for Bullseye,
but for Bookworm it should be ready (or rather, Qt WebEngine 6 will
use Python 3, and we will remove Qt WebEngine 5).
There are also patches from the FreeBSD maintainer [2], but they are huge
(2200 lines in total) and the author reports that they cause some JS errors,
so I would better not apply them and wait for an official port.
Qt WebEngine in Debian is not supported from security point of view anyway,
so I think it should be fine to let it use Python 2 in Bullseye.
[1]: https://bugs.chromium.org/p/chromium/issues/detail?id=1112471
[2]: https://mail.kde.org/pipermail/distributions/2020-September/000860.html
--
Dmitry Shachnev
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>:
Bug#938322; Package src:qtwebengine-opensource-src.
(Wed, 18 May 2022 06:51:02 GMT) (full text, mbox, link).
Acknowledgement sent
to Sebastian Ramacher <sramacher@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>.
(Wed, 18 May 2022 06:51:02 GMT) (full text, mbox, link).
Message #23 received at 938322@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Control: clone -1 -2
Control: reassign -2 src:qt6-webengine 6.2.4+dfsg-7
Control: retitle -2 qt6-webengine: Python 2 removal in sid/bookworm
On 2020-10-16 21:36:09 +0300, Dmitry Shachnev wrote:
> Hi Moritz!
>
> On Fri, Oct 16, 2020 at 08:04:56PM +0200, Moritz Mühlenhoff wrote:
> > There will be few core packages build-depending on Python 2 (for tests
> > or building) which won't be ready for Python 3 for Bullseye (Chromium,
> > qtwebkit and IIRC also Pypy), but those only need Python 2 (and a very
> > small set of support packages like setuptools/jinja) to build and
> > run their tests.
>
> Small correction: s/qtwebkit/qtwebengine/.
>
> QtWebEngine bundles Chromium whose upstream is actively working on
> Python 3 port [1]. Most probably it won't be ready in time for Bullseye,
> but for Bookworm it should be ready (or rather, Qt WebEngine 6 will
> use Python 3, and we will remove Qt WebEngine 5).
Except that qt6-webengine still uses python2. Hence cloning this bug to
also track the issue in qt6-webengine.
Cheers
>
> There are also patches from the FreeBSD maintainer [2], but they are huge
> (2200 lines in total) and the author reports that they cause some JS errors,
> so I would better not apply them and wait for an official port.
>
> Qt WebEngine in Debian is not supported from security point of view anyway,
> so I think it should be fine to let it use Python 2 in Bullseye.
>
> [1]: https://bugs.chromium.org/p/chromium/issues/detail?id=1112471
> [2]: https://mail.kde.org/pipermail/distributions/2020-September/000860.html
>
> --
> Dmitry Shachnev
--
Sebastian Ramacher
[signature.asc (application/pgp-signature, inline)]
Bug 938322 cloned as bug 1011197
Request was from Sebastian Ramacher <sramacher@debian.org>
to 938322-submit@bugs.debian.org.
(Wed, 18 May 2022 06:51:03 GMT) (full text, mbox, link).
Severity set to 'serious' from 'normal'
Request was from Paul Gevers <elbrus@debian.org>
to control@bugs.debian.org.
(Wed, 03 Aug 2022 21:21:05 GMT) (full text, mbox, link).
Added tag(s) bookworm.
Request was from Adrian Bunk <bunk@debian.org>
to control@bugs.debian.org.
(Fri, 30 Sep 2022 11:15:02 GMT) (full text, mbox, link).
Removed tag(s) bullseye.
Request was from Adrian Bunk <bunk@debian.org>
to control@bugs.debian.org.
(Fri, 30 Sep 2022 11:15:04 GMT) (full text, mbox, link).
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>:
Bug#938322; Package src:qtwebengine-opensource-src.
(Wed, 16 Nov 2022 00:09:03 GMT) (full text, mbox, link).
Acknowledgement sent
to Bastian Germann <bage@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>.
(Wed, 16 Nov 2022 00:09:03 GMT) (full text, mbox, link).
Message #36 received at 938322@bugs.debian.org (full text, mbox, reply):
When qtwebengine-opensource-src is removed a lot of packages will have a problem because they are not ready for qt6.
Is it a bookworm release goal to remove the python2 interpreter also for packages that just build-depend on it?
If so, the FreeBSD patch (or a backport from the qt6 package) might be worth a look.
Message sent on
to Matthias Klose <doko@debian.org>:
Bug#938322.
(Sun, 27 Nov 2022 09:09:16 GMT) (full text, mbox, link).
Message #39 received at 938322-submitter@bugs.debian.org (full text, mbox, reply):
Control: tag -1 pending
Hello,
Bug #938322 in qtwebengine-opensource-src reported by you has been fixed in the
Git repository and is awaiting an upload. You can see the commit
message below and you can check the diff of the fix at:
https://salsa.debian.org/qt-kde-team/qt/qtwebengine/-/commit/0db62e47f0e2f5e4e00193b65da912fe0083088c
------------------------------------------------------------------------
Use Python 3 instead of Python 2 for building.
- Update build-dependency.
- Add python3.patch, inspired by Arch Linux but using versioned python3.
- Add chromium-python3.patch, copied from Arch Linux.
Closes: #938322.
------------------------------------------------------------------------
(this message was generated automatically)
--
Greetings
https://bugs.debian.org/938322
Added tag(s) pending.
Request was from Dmitry Shachnev <noreply@salsa.debian.org>
to 938322-submitter@bugs.debian.org.
(Sun, 27 Nov 2022 09:09:16 GMT) (full text, mbox, link).
Reply sent
to Dmitry Shachnev <mitya57@debian.org>:
You have taken responsibility.
(Sun, 27 Nov 2022 10:03:02 GMT) (full text, mbox, link).
Notification sent
to Matthias Klose <doko@debian.org>:
Bug acknowledged by developer.
(Sun, 27 Nov 2022 10:03:02 GMT) (full text, mbox, link).
Message #46 received at 938322-close@bugs.debian.org (full text, mbox, reply):
Source: qtwebengine-opensource-src
Source-Version: 5.15.11+dfsg-1
Done: Dmitry Shachnev <mitya57@debian.org>
We believe that the bug you reported is fixed in the latest version of
qtwebengine-opensource-src, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 938322@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Dmitry Shachnev <mitya57@debian.org> (supplier of updated qtwebengine-opensource-src package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Sun, 27 Nov 2022 12:06:13 +0300
Source: qtwebengine-opensource-src
Architecture: source
Version: 5.15.11+dfsg-1
Distribution: experimental
Urgency: medium
Maintainer: Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Changed-By: Dmitry Shachnev <mitya57@debian.org>
Closes: 938322
Changes:
qtwebengine-opensource-src (5.15.11+dfsg-1) experimental; urgency=medium
.
* New upstream release.
* Update SUBMODULE_COMMIT for the new release.
* Bump ABI version to qtwebengine-abi-5-15-11.
* Remove __NR_statx part from sandbox-time64-syscalls.patch.
A similar change was applied upstream in commit a7a23ccc69e6756e.
* Disable Catapult to simplify porting to Python 3.
- Add disable-catapult.patch (copied from Chromium packaging).
- Exclude catapult directory from the tarball.
- Drop remove-benchmark-from-inputs.patch and python2.patch.
- Drop debian/missing-sources/jszip-2.4.0.
- Stop copying pako.min.js and d3.min.js in debian/rules.
- Drop libjs-d3 and node-pako build-dependencies.
* Use Python 3 instead of Python 2 for building (closes: #938322).
- Update build-dependency.
- Add python3.patch, inspired by Arch Linux but using versioned python3.
- Add chromium-python3.patch, copied from Arch Linux.
Checksums-Sha1:
0c4c8741cfae4ba7853ec822cdfa4f351f36533d 5699 qtwebengine-opensource-src_5.15.11+dfsg-1.dsc
3e4fe7d4c933440e123eaf135194dcea194c0847 280270896 qtwebengine-opensource-src_5.15.11+dfsg.orig.tar.xz
c77c6f20e977f6c0b2537706294e53c4d8f15a51 229332 qtwebengine-opensource-src_5.15.11+dfsg-1.debian.tar.xz
3fa8b8d78c45f3fa06a31746ea74aebe90e888c1 23036 qtwebengine-opensource-src_5.15.11+dfsg-1_source.buildinfo
Checksums-Sha256:
5845cdcbacc2458b29dc82bc7ade8930c1c380f697162774e99b6db748a11bbf 5699 qtwebengine-opensource-src_5.15.11+dfsg-1.dsc
ee25ad9ffb3ffcd6f7aea5c4a7480ad21691d015c62d512d2cbe593c5c6b46a0 280270896 qtwebengine-opensource-src_5.15.11+dfsg.orig.tar.xz
2dd2166cfc7f49906014d455449c619191405b218c33ef254577b7261062f53c 229332 qtwebengine-opensource-src_5.15.11+dfsg-1.debian.tar.xz
8017fe70e91bcd5eea6da1149faec0dd1ba0e09cb71750a9c7e13fc99961a7b8 23036 qtwebengine-opensource-src_5.15.11+dfsg-1_source.buildinfo
Files:
841ccc053ee12e7c4d4be5c0ecc4e045 5699 libs optional qtwebengine-opensource-src_5.15.11+dfsg-1.dsc
940688e7245c0aeaabb63a14c39dfab6 280270896 libs optional qtwebengine-opensource-src_5.15.11+dfsg.orig.tar.xz
9ca5a700877dd43ef29c2097000b4d3f 229332 libs optional qtwebengine-opensource-src_5.15.11+dfsg-1.debian.tar.xz
a225396fbf12835ce3369656236258d9 23036 libs optional qtwebengine-opensource-src_5.15.11+dfsg-1_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJHBAEBCgAxFiEE5688gqe4PSusUZcLZkYmW1hrg8sFAmODKsMTHG1pdHlhNTdA
ZGViaWFuLm9yZwAKCRBmRiZbWGuDywyaEACRtMlg29X64GE+LGumpmCDdbtNcyz3
2zekUHVuGnLPc5JcoKjHPSSFmXVl6Pe7NSEJNpmlTWh3J6KhzF7qsRzeW2hsevHj
PEJ4zdNP36HdND8+8OMqg2hxIjhk6/XMadqv/pk+woYQ7xAV2PGfQ3LF3VSFeq1t
vZukTh8m3XFoJNw3HHSKhljfvU4g7NqB6UjgSbdtNqsfByiuTKwVbGcPkGkiB92M
rKdAJb8XBryJ9epaZB4Ka5peNlrRzimXfM4xMWZBFUrBhtdjpwtA640g+15XCnHB
L1RzjGc99oxBrrkn2E2Qd6ITzz5veAn90eqeew58jAJl6PKXoNufJsGIgyiiCdDM
NhX8JtwRw75JOkwo7SiP0gUO+J61rl61B9+LEMO/mc5XjvcvS9BptxucSpeTrtHM
Q4KJRbExJeFHNQ//L0viXAnNdqgNNXCmWXqyX7xb9dHaHqQ1qxl7cA8GlCPP7Kix
h/ZL8wwJDzW+hHYyBIkB617MSc+0BHJzbncZ9Xq3CtpLJHgoMBjHMljLGre68EoA
3BVMMS35Hpe0NmaXCzbtBpcH/S4UsOSBBfv1fGx1z/sZetB7MSHIOUBT9exPjnTC
R+7g6iyXuGZvZ1Mi51dpL6nZo5N2TonWLGTmrqddotLoU8V7fjjQxMjdL4a642Ju
xPkd1FQRgHaWvg==
=Bxno
-----END PGP SIGNATURE-----
Added tag(s) experimental.
Request was from Andreas Beckmann <anbe@debian.org>
to control@bugs.debian.org.
(Tue, 29 Nov 2022 14:27:34 GMT) (full text, mbox, link).
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>:
Bug#938322; Package src:qtwebengine-opensource-src.
(Sat, 03 Dec 2022 23:18:02 GMT) (full text, mbox, link).
Acknowledgement sent
to Bastian Germann <bage@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>.
(Sat, 03 Dec 2022 23:18:02 GMT) (full text, mbox, link).
Message #53 received at 938322@bugs.debian.org (full text, mbox, reply):
On Sun, 27 Nov 2022 10:00:56 +0000 Debian FTP Masters <ftpmaster@ftp-master.debian.org> wrote:
> * Use Python 3 instead of Python 2 for building (closes: #938322).
> - Update build-dependency.
> - Add python3.patch, inspired by Arch Linux but using versioned python3.
> - Add chromium-python3.patch, copied from Arch Linux.
This is now literally the last package that has build depends on python2 in bookworm.
Is there a chance to move the experimental package to sid soon?
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>:
Bug#938322; Package src:qtwebengine-opensource-src.
(Sun, 04 Dec 2022 10:39:02 GMT) (full text, mbox, link).
Acknowledgement sent
to Dmitry Shachnev <mitya57@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>.
(Sun, 04 Dec 2022 10:39:02 GMT) (full text, mbox, link).
Message #58 received at 938322@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Hi Bastian!
On Sun, Dec 04, 2022 at 12:15:04AM +0100, Bastian Germann wrote:
> On Sun, 27 Nov 2022 10:00:56 +0000 Debian FTP Masters <ftpmaster@ftp-master.debian.org> wrote:
> > * Use Python 3 instead of Python 2 for building (closes: #938322).
> > - Update build-dependency.
> > - Add python3.patch, inspired by Arch Linux but using versioned python3.
> > - Add chromium-python3.patch, copied from Arch Linux.
>
> This is now literally the last package that has build depends on python2 in
> bookworm.
> Is there a chance to move the experimental package to sid soon?
Done!
It requires binNMU of two reverse deps, that is tracked in #1025055.
--
Dmitry Shachnev
[signature.asc (application/pgp-signature, inline)]
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Wed, 04 Jan 2023 07:26:28 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Sun Mar 10 03:46:23 2024;
Machine Name:
bembo
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.