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

Paul Gevers elbrus at debian.org
Fri Dec 10 20:45:09 GMT 2021


Source: restrictedpython
Version: 4.0~b3-2
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 restrictedpython 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
restrictedpython       from testing    4.0~b3-2
all others             from testing    from testing

I copied some of the output at the bottom of this report. As mentioned 
in bug #909487 this test doesn't seem to be doing anything, and it can 
nevertheless fail. It's because there's a deprecation warning on stderr 
and autopkgtest fails on that by default. Unless a real test is added, I 
suggest to remove the autopkgtest.

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/r/restrictedpython/17446736/log.gz

<string>:1: DeprecationWarning: The distutils package is deprecated and 
slated for removal in Python 3.12. Use setuptools or check PEP 632 for 
potential alternatives
<string>:1: DeprecationWarning: The distutils.sysconfig module is 
deprecated, use sysconfig instead
Running tests for python3.10: /usr/bin/zope-testrunner3 -k --test-path 
/usr/lib/python3/dist-packages -s RestrictedPython
Total: 0 tests, 0 failures, 0 errors and 0 skipped in 0.000 seconds.
Running tests for python3.9: /usr/bin/zope-testrunner3 -k --test-path 
/usr/lib/python3/dist-packages -s RestrictedPython
Total: 0 tests, 0 failures, 0 errors and 0 skipped in 0.000 seconds.
autopkgtest [14:17:09]: test all

-------------- 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/20211210/bb9a5f25/attachment.sig>


More information about the Python-modules-team mailing list