[Python-modules-team] Bug#1001429: python-qtpy: (autopkgtest) needs update for python3.10: deprecation warning on stderr

Paul Gevers elbrus at debian.org
Thu Dec 9 21:01:32 GMT 2021


Source: python-qtpy
Version: 1.9.0-3
Severity: serious
X-Debbugs-CC: debian-ci at lists.debian.org
Tags: sid bookworm
User: debian-ci at lists.debian.org
Usertags: needs-update
User: debian-python at lists.debian.org
Usertags: python3.10
Control: affects -1 src:python3-defaults

Dear maintainer(s),

We are in the transition of adding python3.10 to the supported Python 
versions [0]. With a recent upload of python3-defaults the autopkgtest 
of python-qtpy fails in testing when that autopkgtest is run with the 
binary packages of python3-defaults from unstable. It passes when run 
with only packages from testing. In tabular form:

                        pass            fail
python3-defaults       from testing    3.9.8-1
python-qtpy            from testing    1.9.0-3
all others             from testing    from testing

I copied some of the output at the bottom of this report. As the test 
passes otherwise, either suppress deprecation warnings, fix the issue 
and/or use the allow-stderr restriction in autopkgtest to avoid having 
autopkgtest fail on warnings.

Currently this regression is blocking the migration of python3-defaults 
to testing [1]. https://docs.python.org/3/whatsnew/3.10.html lists 
what's new in Python3.10, it may help to identify what needs to be updated.

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

Paul

[0] https://bugs.debian.org/996584
[1] https://qa.debian.org/excuses.php?package=python3-defaults

https://ci.debian.net/data/autopkgtest/testing/amd64/p/python-qtpy/17420668/log.gz

Testing with python3.10:
/usr/lib/python3/dist-packages/qtpy/__init__.py:65: DeprecationWarning: 
The distutils package is deprecated and slated for removal in Python 
3.12. Use setuptools or check PEP 632 for potential alternatives
   from distutils.version import LooseVersion

-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 495 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/python-modules-team/attachments/20211209/5d58da7e/attachment.sig>


More information about the Python-modules-team mailing list