mat2 0.13.5-1.1 has an unsatisfiable dependency on python2,
while 0.13.5-1 hadn't.
while my local build of mat2_0.13.5-1.1_all.deb has
Depends: gir1.2-gdkpixbuf-2.0, gir1.2-poppler-0.18, gir1.2-rsvg-2.0, libimage-exiftool-perl, python3-gi-cairo, python3-mutagen, python3-cairo, python3-gi, python3:any
Call me confused …
Sounds like fallout from the recent setuptools update. I see in their changelog:
https://github.com/pypa/setuptools/blob/main/NEWS.rst#v7600
https://github.com/pypa/setuptools/issues/4863
Sorry, I didn't do full archive rebuild testing before this upload, just looked at autopkgtests, and they were fine.
The solution here is to use dh_python3's explicit shebang rewriting helper (--shebang=/usr/bin/python3).
clone -1 -2Bug #1103044 [mat2] mat2: unsatisfiable dependency on python2
reassign -2 python3-setuptools 77.0.3-1Bug #1103150 [mat2] mat2: unsatisfiable dependency on python2
retitle -2 python3-setuptools: Generates #!python shebangs, which dh_python3 considers as Python 2Bug #1103150 [python3-setuptools] mat2: unsatisfiable dependency on python2 Changed Bug title to 'python3-setuptools: Generates #!python shebangs, which dh_python3 considers as Python 2' from 'mat2: unsatisfiable dependency on python2'.
block -1 by -2Bug #1103044 [mat2] mat2: unsatisfiable dependency on python2
Hi Dmitry (2025.04.14_13:21:17_+0000)
What do you think about patching setuptools to generate #!python3 instead of
#!python? This should make dh_python3 do the right thing, and should not cause
much difference on systems other than Debian.
That is tempting.
I think the future-looking option here is to enable python -> python3
shebang rewrites in dh-python by default. But there is more risk with this path.
Hi,
On a tanget to this bug: this package is maintained in Salsa, and the original build failure is visible when CI runs in https://salsa.debian.org/otto/mat2/-/pipelines/850962, and the fact
that the new change fixed the first issue but revealed another is
visible in https://salsa.debian.org/otto/mat2/-/pipelines/850963.
This change was submitted as patch in https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1101130 and uploaded
via DELAY/2. There was no MR before or after the upload, and no CI
runs.
Okay, I will NMU setuptools then, and then NMU mat2 with bumped dependency
on setuptools.
tags -1 + pendingBug #1103044 [mat2] mat2: unsatisfiable dependency on python2
On a tanget to this bug: this package is maintained in Salsa, and the >original build failure is visible when CI runs in >https://salsa.debian.org/otto/mat2/-/pipelines/850962, and the fact
that the new change fixed the first issue but revealed another is
visible in https://salsa.debian.org/otto/mat2/-/pipelines/850963.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 546 |
Nodes: | 16 (1 / 15) |
Uptime: | 159:50:55 |
Calls: | 10,385 |
Calls today: | 2 |
Files: | 14,056 |
Messages: | 6,416,491 |