Your message dated Tue, 3 Mar 2026 10:57:48 +0100
with message-id <[email protected]>
and subject line Re: Bug#1129298: openstack-pkg-tools: pkgos-dh_auto_install is
always looking for setup.py
has caused the Debian Bug report #1129298,
regarding openstack-pkg-tools: pkgos-dh_auto_install is always looking for
setup.py
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 [email protected]
immediately.)
--
1129298: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1129298
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: openstack-pkg-tools
Version: 140
Severity: normal
X-Debbugs-Cc: [email protected]
Dear Maintainer,
The pkgos-dh_auto_install command is always looking for setup.py, while,
with the move to pep517, this file has been deprecated, and multiple
projects are moving away from this practice, meaning this file might not
be present.
This result in the following error:
+ python3.14 setup.py install --install-layout=deb --root
/<<PKGBUILDDIR>>/debian/python3-django-formtools
python3.14: can't open file '/<<PKGBUILDDIR>>/setup.py': [Errno 2] No such file
or directory
make[1]: *** [debian/rules:23: override_dh_auto_install] Error 2
-- System Information:
Debian Release: 13.3
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 6.17.0-14-generic (SMP w/24 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages openstack-pkg-tools depends on:
ii gettext 0.23.1-2
pn jq <none>
ii po-debconf 1.0.21+nmu1
pn python3-pip <none>
Versions of packages openstack-pkg-tools recommends:
ii autopkgtest 5.49
ii madison-lite 0.28
ii pristine-tar 1.50+nmu2
openstack-pkg-tools suggests no packages.
--- End Message ---
--- Begin Message ---
On 2/28/26 7:14 PM, Guillaume Boutry wrote:
Package: openstack-pkg-tools
Version: 140
Severity: normal
X-Debbugs-Cc: [email protected]
Dear Maintainer,
The pkgos-dh_auto_install command is always looking for setup.py, while,
with the move to pep517, this file has been deprecated, and multiple
projects are moving away from this practice, meaning this file might not
be present.
This result in the following error:
+ python3.14 setup.py install --install-layout=deb --root
/<<PKGBUILDDIR>>/debian/python3-django-formtools
python3.14: can't open file '/<<PKGBUILDDIR>>/setup.py': [Errno 2] No such file
or directory
make[1]: *** [debian/rules:23: override_dh_auto_install] Error 2
Hi Guillaume,
I'm very much aware of this. The answer is very simple: each time you
see a package is moving away from setup.py, to a pyproject.toml, you
should add pybuild-plugin-pyproject as build-depends, and let pybuild
handle the build and install phase instead of pkgos-dh_auto_install.
In other words: I have no intention to continue maintaining
pkgos-dh_auto_install for non- setup.py packages, as I believe pybuild
will do a better job at this, and as it duplicate the maintenance effort.
Feel free to switch OpenStack packages away from pkgos-dh_auto_install
whenever you feel like it's the correct time to do it. For many legacy
packages it's not (yet) worth the effort.
I'm therefore closing this bug.
Cheers,
Thomas Goirand (zigo)
--- End Message ---