Source: python-azure-devtools Version: 1.2.0-3 Severity: serious Tags: sid bookworm User: debian...@lists.debian.org Usertags: needs-update User: debian-pyt...@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 python-azure-devtools 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 python-azure-devtools from testing 1.2.0-3 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/p/python-azure-devtools/28728879/log.gz=================================== FAILURES =================================== _____________________________ test_preparer_order ______________________________
def test_preparer_order(): # Mimic a real test runner, for better compat 2.7 / 3.x suite = unittest.TestSuite() suite.addTest(_TestClassSample('example_test')) unittest.TextTestRunner().run(suite) > assert len(traces) == 4 E AssertionError: assert 3 == 4 E + where 3 = len(['create A', 'create B', 'remove A']) tests/test_preparer_order.py:38: AssertionError----------------------------- Captured stderr call -----------------------------
E ======================================================================ERROR: example_test (tests.test_preparer_order._TestClassSample.example_test)
---------------------------------------------------------------------- Traceback (most recent call last):File "/usr/lib/python3/dist-packages/azure_devtools/scenario_tests/preparers.py", line 50, in _preparer_wrapper
fn(test_class_instance, **kwargs)File "/usr/lib/python3/dist-packages/azure_devtools/scenario_tests/preparers.py", line 47, in _preparer_wrapper
trim_kwargs_from_test_function(fn, kwargs)File "/usr/lib/python3/dist-packages/azure_devtools/scenario_tests/utilities.py", line 73, in trim_kwargs_from_test_function args, _, kw, _ = inspect.getargspec(fn) # pylint: disable=deprecated-method
^^^^^^^^^^^^^^^^^^ AttributeError: module 'inspect' has no attribute 'getargspec' ---------------------------------------------------------------------- Ran 1 test in 0.001s FAILED (errors=1)=========================== short test summary info ============================ FAILED tests/test_preparer_order.py::test_preparer_order - AssertionError: as... ================== 1 failed, 16 passed, 1 deselected in 0.15s ==================
autopkgtest [23:00:54]: test command1
OpenPGP_signature
Description: OpenPGP digital signature