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

Bug#1001482: restrictedpython: (autopkgtest) needs update for python3.10: deprecation warning on stderr



Source: restrictedpython
Version: 4.0~b3-2
Severity: serious
X-Debbugs-CC: debian-ci@lists.debian.org
Tags: sid bookworm
User: debian-ci@lists.debian.org
Usertags: needs-update
User: debian-python@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

Attachment: OpenPGP_signature
Description: OpenPGP digital signature


Reply to: