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

Bug#1002524: sqlobject: autopkgtest needs update for new version of setuptools: deprecation warning on stderr

Source: sqlobject
Version: 3.9.0+dfsg-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 sqlobject 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
sqlobject              from testing    3.9.0+dfsg-1
all others             from testing    from testing

I copied some of the output at the bottom of this report. The test passes, but there's a deprecation warning on stderr. Output to stderr is treated as failure by autopkgtest unless the allow-stderr restriction is declared.

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


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


running install
/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.
/usr/lib/python3/dist-packages/setuptools/command/easy_install.py:158: EasyInstallDeprecationWarning: easy_install command is deprecated. Use build and pip and other standards-based tools.
running bdist_egg
running egg_info
creating testlib.egg-info
writing testlib.egg-info/PKG-INFO
writing dependency_links to testlib.egg-info/dependency_links.txt
writing entry points to testlib.egg-info/entry_points.txt
writing requirements to testlib.egg-info/requires.txt
writing top-level names to testlib.egg-info/top_level.txt
writing manifest file 'testlib.egg-info/SOURCES.txt'
reading manifest file 'testlib.egg-info/SOURCES.txt'
writing manifest file 'testlib.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-x86_64/egg
running install_lib
running build_py
creating build
creating build/lib
creating build/lib/testlib
copying testlib/testdb.py -> build/lib/testlib
copying testlib/__init__.py -> build/lib/testlib
copying testlib/base.py -> build/lib/testlib
creating build/bdist.linux-x86_64
creating build/bdist.linux-x86_64/egg
creating build/bdist.linux-x86_64/egg/testlib
copying build/lib/testlib/testdb.py -> build/bdist.linux-x86_64/egg/testlib
copying build/lib/testlib/__init__.py -> build/bdist.linux-x86_64/egg/testlib
copying build/lib/testlib/base.py -> build/bdist.linux-x86_64/egg/testlib
byte-compiling build/bdist.linux-x86_64/egg/testlib/testdb.py to testdb.cpython-39.pyc byte-compiling build/bdist.linux-x86_64/egg/testlib/__init__.py to __init__.cpython-39.pyc byte-compiling build/bdist.linux-x86_64/egg/testlib/base.py to base.cpython-39.pyc
creating build/bdist.linux-x86_64/egg/EGG-INFO
copying testlib.egg-info/PKG-INFO -> build/bdist.linux-x86_64/egg/EGG-INFO
copying testlib.egg-info/SOURCES.txt -> build/bdist.linux-x86_64/egg/EGG-INFO copying testlib.egg-info/dependency_links.txt -> build/bdist.linux-x86_64/egg/EGG-INFO copying testlib.egg-info/entry_points.txt -> build/bdist.linux-x86_64/egg/EGG-INFO copying testlib.egg-info/requires.txt -> build/bdist.linux-x86_64/egg/EGG-INFO copying testlib.egg-info/top_level.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying testlib.egg-info/zip-safe -> build/bdist.linux-x86_64/egg/EGG-INFO
creating dist
creating 'dist/testlib-0.0.1-py3.9.egg' and adding 'build/bdist.linux-x86_64/egg' to it
removing 'build/bdist.linux-x86_64/egg' (and everything under it)
Processing testlib-0.0.1-py3.9.egg
Copying testlib-0.0.1-py3.9.egg to /home/debci/.local/lib/python3.9/site-packages
Adding testlib 0.0.1 to easy-install.pth file
Installing testdb script to /home/debci/.local/bin

Installed /home/debci/.local/lib/python3.9/site-packages/testlib-0.0.1-py3.9.egg
Processing dependencies for testlib==0.0.1
Searching for SQLObject==3.9.0
Best match: SQLObject 3.9.0
Adding SQLObject 3.9.0 to easy-install.pth file

Using /usr/lib/python3/dist-packages
Searching for FormEncode==2.0.1
Best match: FormEncode 2.0.1
Adding FormEncode 2.0.1 to easy-install.pth file

Using /usr/lib/python3/dist-packages
Finished processing dependencies for testlib==0.0.1
autopkgtest [10:12:06]: test testdb-setuptools

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

Reply to: