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

Bug#1002533: wheel: autopkgtest needs update for new version of setuptools: deprecation warning on stderr



Source: wheel
Version: 0.34.2-1
Severity: serious
X-Debbugs-CC: debian-ci@lists.debian.org, setuptools@packages.debian.org
Tags: sid bookworm
User: debian-ci@lists.debian.org
Usertags: needs-update
Control: affects -1 src:setuptools

Dear maintainer(s),

With a recent upload of setuptools the autopkgtest of wheel fails in testing when that autopkgtest is run with the binary packages of setuptools from unstable. It passes when run with only packages from testing. In tabular form:

                       pass            fail
setuptools             from testing    59.6.0-1
wheel                  from testing    0.34.2-1
all others             from testing    from testing

I copied some of the output at the bottom of this report. The test passes, but a deprecation warning is printed on stderr and autopkgtest fails by default on that unless the allow-stderr restriction is used.

Currently this regression is blocking the migration of setuptools to testing [1]. Of course, setuptools shouldn't just break your autopkgtest (or even worse, your package), but it seems to me that the change in setuptools was intended and your package needs to update to the new situation.

If this is a real problem in your package (and not only in your autopkgtest), the right binary package(s) from setuptools should really add a versioned Breaks on the unfixed version of (one of your) package(s). Note: the Breaks is nice even if the issue is only in the autopkgtest as it helps the migration software to figure out the right versions to combine in the tests.

More information about this bug and the reason for filing it can be found on
https://wiki.debian.org/ContinuousIntegration/RegressionEmailInformation

Paul

[1] https://qa.debian.org/excuses.php?package=setuptools

https://ci.debian.net/data/autopkgtest/testing/amd64/w/wheel/17811345/log.gz

running bdist_wheel
running build
running build_py
creating build
creating build/lib
creating build/lib/dummy
copying dummy/yes.py -> build/lib/dummy
copying dummy/no.py -> build/lib/dummy
copying dummy/__init__.py -> build/lib/dummy
/usr/lib/python3/dist-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
  warnings.warn(
installing to /tmp/autopkgtest-lxc.x6s6pv29/downtmp/autopkgtest_tmp/build
running install
running install_lib
creating /tmp/autopkgtest-lxc.x6s6pv29/downtmp/autopkgtest_tmp/build
creating /tmp/autopkgtest-lxc.x6s6pv29/downtmp/autopkgtest_tmp/build/dummy
copying build/lib/dummy/yes.py -> /tmp/autopkgtest-lxc.x6s6pv29/downtmp/autopkgtest_tmp/build/dummy copying build/lib/dummy/no.py -> /tmp/autopkgtest-lxc.x6s6pv29/downtmp/autopkgtest_tmp/build/dummy copying build/lib/dummy/__init__.py -> /tmp/autopkgtest-lxc.x6s6pv29/downtmp/autopkgtest_tmp/build/dummy
running install_egg_info
running egg_info
creating dummy.egg-info
writing dummy.egg-info/PKG-INFO
writing dependency_links to dummy.egg-info/dependency_links.txt
writing top-level names to dummy.egg-info/top_level.txt
writing manifest file 'dummy.egg-info/SOURCES.txt'
reading manifest file 'dummy.egg-info/SOURCES.txt'
writing manifest file 'dummy.egg-info/SOURCES.txt'
Copying dummy.egg-info to /tmp/autopkgtest-lxc.x6s6pv29/downtmp/autopkgtest_tmp/build/dummy-0.0.egg-info
running install_scripts
creating /tmp/autopkgtest-lxc.x6s6pv29/downtmp/autopkgtest_tmp/build/dummy-0.0.dist-info/WHEEL creating '/tmp/autopkgtest-lxc.x6s6pv29/downtmp/autopkgtest_tmp/wheels/dummy-0.0-py3-none-any.whl' and adding '/tmp/autopkgtest-lxc.x6s6pv29/downtmp/autopkgtest_tmp/build' to it
adding 'dummy/__init__.py'
adding 'dummy/no.py'
adding 'dummy/yes.py'
adding 'dummy-0.0.dist-info/METADATA'
adding 'dummy-0.0.dist-info/WHEEL'
adding 'dummy-0.0.dist-info/top_level.txt'
adding 'dummy-0.0.dist-info/RECORD'
removing /tmp/autopkgtest-lxc.x6s6pv29/downtmp/autopkgtest_tmp/build
yes = yes
no = no
autopkgtest [14:16:50]: test smoketest-3

Attachment: OpenPGP_signature
Description: OpenPGP digital signature


Reply to: