Bug#1025194: tpot: (autopkgtest) needs update for python3.11: module 'inspect' has no attribute 'getargspec'

Paul Gevers elbrus at debian.org
Wed Nov 30 20:26:08 GMT 2022


Source: tpot
Version: 0.11.7+dfsg-4
Severity: serious
Tags: sid bookworm
User: debian-ci at lists.debian.org
Usertags: needs-update
User: debian-python at lists.debian.org
Usertags: python3.11
Control: affects -1 src:python3-defaults

Dear maintainer(s),

We are in the transition of adding python3.11 as a supported Python 
version [0]. With a recent upload of python3-defaults the autopkgtest of 
tpot 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.10.6-3
tpot                   from testing    0.11.7+dfsg-4
all others             from testing    from testing

I copied some of the output at the bottom of this report.

Currently this regression is blocking the migration of python3-defaults 
to testing [1]. https://docs.python.org/3/whatsnew/3.11.html lists 
what's new in Python3.11, 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/1021984
[1] https://qa.debian.org/excuses.php?package=python3-defaults

https://ci.debian.net/data/autopkgtest/testing/amd64/t/tpot/28796450/log.gz

======================================================================
ERROR: Assert that get_params returns the exact dictionary of parameters 
used by TPOT.
----------------------------------------------------------------------
Traceback (most recent call last):
   File "/usr/lib/python3/dist-packages/nose/case.py", line 197, in runTest
     self.test(*self.arg)
   File 
"/tmp/autopkgtest-lxc.aob2cy93/downtmp/autopkgtest_tmp/python3.11/tests/tpot_tests.py", 
line 480, in test_get_params
     initializer = inspect.getargspec(TPOTBase.__init__)
                   ^^^^^^^^^^^^^^^^^^
AttributeError: module 'inspect' has no attribute 'getargspec'

----------------------------------------------------------------------
Ran 249 tests in 50.080s
-------------- 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/debian-science-maintainers/attachments/20221130/055d497f/attachment.sig>


More information about the debian-science-maintainers mailing list