Source: python-pankoclient Version: 1.2.0-3 Severity: normal User: debian-pyt...@lists.debian.org Usertags: python3.13
This package failed build from source when test-built against a version of python3-defaults that includes 3.13 as a supported version. To reproduce this issue, build against python3-defaults (python3-all-dev etc.) from Debian experimental. I see upstream has declared the package dead, and there are no reverse-dependencies. Time to remove it? What's new in Python 3.13: https://docs.python.org/3.13/whatsnew/3.13.html Log snippet: pankoclient.tests.unit.common.test_base.TestManager.test_manager_find_more_than_one_result pankoclient.tests.unit.common.test_base.TestManager.test_manager_find_more_than_one_result ... ok pankoclient.tests.unit.common.test_base.TestResource.test_resource_lazy_getattr pankoclient.tests.unit.common.test_base.TestResource.test_resource_lazy_getattr ... ok pankoclient.tests.unit.v2.test_events.TestEventTypeList.test_event_type_list pankoclient.tests.unit.v2.test_events.TestEventTypeList.test_event_type_list ... ok pankoclient.tests.unit.v2.test_events.TestEventTraitDescription.test_event_type_traits_description pankoclient.tests.unit.v2.test_events.TestEventTraitDescription.test_event_type_traits_description ... ok pankoclient.tests.unit.v2.test_events.TestEventTraitsList.test_event_traits_list pankoclient.tests.unit.v2.test_events.TestEventTraitsList.test_event_traits_list ... ok running=OS_STDOUT_CAPTURE=${OS_STDOUT_CAPTURE:-1} \ OS_STDERR_CAPTURE=${OS_STDERR_CAPTURE:-1} \ OS_TEST_TIMEOUT=${OS_TEST_TIMEOUT:-60} \ ${PYTHON:-python} -m subunit.run discover -t ./ . --list running=OS_STDOUT_CAPTURE=${OS_STDOUT_CAPTURE:-1} \ OS_STDERR_CAPTURE=${OS_STDERR_CAPTURE:-1} \ OS_TEST_TIMEOUT=${OS_TEST_TIMEOUT:-60} \ ${PYTHON:-python} -m subunit.run discover -t ./ . --load-list /tmp/tmpdq4459sm running=OS_STDOUT_CAPTURE=${OS_STDOUT_CAPTURE:-1} \ OS_STDERR_CAPTURE=${OS_STDERR_CAPTURE:-1} \ OS_TEST_TIMEOUT=${OS_TEST_TIMEOUT:-60} \ ${PYTHON:-python} -m subunit.run discover -t ./ . --load-list /tmp/tmp_aqv86hp running=OS_STDOUT_CAPTURE=${OS_STDOUT_CAPTURE:-1} \ OS_STDERR_CAPTURE=${OS_STDERR_CAPTURE:-1} \ OS_TEST_TIMEOUT=${OS_TEST_TIMEOUT:-60} \ ${PYTHON:-python} -m subunit.run discover -t ./ . --load-list /tmp/tmpdezoe526 running=OS_STDOUT_CAPTURE=${OS_STDOUT_CAPTURE:-1} \ OS_STDERR_CAPTURE=${OS_STDERR_CAPTURE:-1} \ OS_TEST_TIMEOUT=${OS_TEST_TIMEOUT:-60} \ ${PYTHON:-python} -m subunit.run discover -t ./ . --load-list /tmp/tmp_zga92oy running=OS_STDOUT_CAPTURE=${OS_STDOUT_CAPTURE:-1} \ OS_STDERR_CAPTURE=${OS_STDERR_CAPTURE:-1} \ OS_TEST_TIMEOUT=${OS_TEST_TIMEOUT:-60} \ ${PYTHON:-python} -m subunit.run discover -t ./ . --load-list /tmp/tmppf7t4_at running=OS_STDOUT_CAPTURE=${OS_STDOUT_CAPTURE:-1} \ OS_STDERR_CAPTURE=${OS_STDERR_CAPTURE:-1} \ OS_TEST_TIMEOUT=${OS_TEST_TIMEOUT:-60} \ ${PYTHON:-python} -m subunit.run discover -t ./ . --load-list /tmp/tmppj4ta__9 running=OS_STDOUT_CAPTURE=${OS_STDOUT_CAPTURE:-1} \ OS_STDERR_CAPTURE=${OS_STDERR_CAPTURE:-1} \ OS_TEST_TIMEOUT=${OS_TEST_TIMEOUT:-60} \ ${PYTHON:-python} -m subunit.run discover -t ./ . --load-list /tmp/tmpkxj_warh running=OS_STDOUT_CAPTURE=${OS_STDOUT_CAPTURE:-1} \ OS_STDERR_CAPTURE=${OS_STDERR_CAPTURE:-1} \ OS_TEST_TIMEOUT=${OS_TEST_TIMEOUT:-60} \ ${PYTHON:-python} -m subunit.run discover -t ./ . --load-list /tmp/tmp9tgbs9t9 ====================================================================== FAIL: pankoclient.tests.unit.test_osc_plugin.TestEventPlugin.test_make_client_with_session pankoclient.tests.unit.test_osc_plugin.TestEventPlugin.test_make_client_with_session ---------------------------------------------------------------------- testtools.testresult.real._StringException: Traceback (most recent call last): File "/usr/lib/python3.13/unittest/mock.py", line 1420, in patched with self.decoration_helper(patched, ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^ args, ^^^^^ keywargs) as (newargs, newkeywargs): ^^^^^^^^^ File "/usr/lib/python3.13/contextlib.py", line 141, in __enter__ return next(self.gen) File "/usr/lib/python3.13/unittest/mock.py", line 1402, in decoration_helper arg = exit_stack.enter_context(patching) File "/usr/lib/python3.13/contextlib.py", line 530, in enter_context result = _enter(cm) File "/usr/lib/python3.13/unittest/mock.py", line 1475, in __enter__ self.target = self.getter() ~~~~~~~~~~~^^ File "/usr/lib/python3.13/pkgutil.py", line 528, in resolve_name result = getattr(result, p) AttributeError: module 'pankoclient.v2' has no attribute 'client' ====================================================================== FAIL: pankoclient.tests.unit.test_osc_plugin.TestEventPlugin.test_make_client_no_session pankoclient.tests.unit.test_osc_plugin.TestEventPlugin.test_make_client_no_session ---------------------------------------------------------------------- testtools.testresult.real._StringException: Traceback (most recent call last): File "/usr/lib/python3.13/unittest/mock.py", line 1420, in patched with self.decoration_helper(patched, ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^ args, ^^^^^ keywargs) as (newargs, newkeywargs): ^^^^^^^^^ File "/usr/lib/python3.13/contextlib.py", line 141, in __enter__ return next(self.gen) File "/usr/lib/python3.13/unittest/mock.py", line 1402, in decoration_helper arg = exit_stack.enter_context(patching) File "/usr/lib/python3.13/contextlib.py", line 530, in enter_context result = _enter(cm) File "/usr/lib/python3.13/unittest/mock.py", line 1475, in __enter__ self.target = self.getter() ~~~~~~~~~~~^^ File "/usr/lib/python3.13/pkgutil.py", line 528, in resolve_name result = getattr(result, p) AttributeError: module 'pankoclient.v2' has no attribute 'client' ---------------------------------------------------------------------- Ran 25 tests in 1.860s FAILED (failures=2) + echo ======> TESTR TEST SUITE FAILED FOR python3.13: displaying pip3 freeze output... ======> TESTR TEST SUITE FAILED FOR python3.13: displaying pip3 freeze output... + [ -x /usr/bin/pip3 ] + pip3 freeze WARNING: The directory '/sbuild-nonexistent/.cache/pip' or its parent directory is not owned or is not writable by the current user. The cache has been disabled. Check the permissions and owner of that directory. If executing pip with sudo, you should use sudo's -H flag. alabaster==0.7.16 attrs==24.2.0 autocommand==2.2.2 autopage==0.4.0 Babel==2.14.0 bcrypt==4.2.0 blinker==1.8.2 certifi==2024.8.30 chardet==5.2.0 charset-normalizer==3.3.2 cliff==4.6.0 cmd2==2.4.3+ds coverage==7.6.0 cryptography==43.0.0 debtcollector==3.0.0 decorator==5.1.1 defusedxml==0.7.1 deprecation==2.0.7 dnspython==2.6.1 docutils==0.21.2 dogpile.cache==1.3.1 dulwich==0.21.6 eventlet==0.0.0 extras==1.0.0 fasteners==0.18 fixtures==4.1.0 flake8==7.1.1 greenlet==3.0.1 hacking==4.1.0 hatch-vcs==0.4.0 hatchling==1.25.0 idna==3.6 imagesize==1.4.1 importlib_metadata==8.5.0 inflect==7.3.1 iso8601==1.0.2 jaraco.classes==3.4.0 jaraco.context==6.0.0 jaraco.functools==4.0.2 jeepney==0.8.0 Jinja2==3.1.3 jmespath==1.0.1 jsonpatch==1.32 jsonpointer==2.4 jsonschema==4.19.2 jsonschema-specifications==2023.12.1 keyring==25.3.0 keystoneauth1==5.6.0 lxml==5.3.0 Mako==1.3.5.dev0 MarkupSafe==2.1.5 mccabe==0.7.0 monotonic==1.6 more-itertools==10.4.0 msgpack==1.0.3 netaddr==0.10.1 netifaces==0.11.0 oauthlib==3.2.2 openstackdocstheme==3.2.0 openstacksdk==3.0.0 os-client-config==2.1.0 os-service-types==1.7.0 osc-lib==3.0.1 oslo.concurrency==6.0.0 oslo.config==9.4.0 oslo.context==5.5.0 oslo.i18n==6.3.0 oslo.log==5.5.1 oslo.serialization==5.4.0 oslo.utils==7.1.0 oslotest==4.5.0 osprofiler==3.4.3 packaging==24.1 pathspec==0.12.1 pbr==6.0.0 platformdirs==4.3.2 pluggy==1.5.0 prettytable==3.10.1 pyasyncore==1.0.2 pycodestyle==2.11.1 pyflakes==3.2.0 Pygments==2.18.0 pyinotify==0.9.6 PyJWT==2.7.0 pyOpenSSL==24.2.1 pyparsing==3.1.2 pyperclip==1.8.2 python-cinderclient==9.5.0 python-dateutil==2.9.0 python-glanceclient==4.5.0 python-keystoneclient==5.4.0 python-neutronclient==11.2.0 python-novaclient==18.6.0 python-openstackclient==6.6.0 python-subunit==1.4.2 pytz==2024.1 PyYAML==6.0.2 referencing==0.35.1 requests==2.32.3 requests_mock==1.12.1 requestsexceptions==1.4.0 rfc3986==2.0.0 roman==3.3 rpds-py==0.12.0 SecretStorage==3.3.3 setuptools==74.1.2 setuptools-scm==8.1.0 simplejson==3.19.3 six==1.16.0 snowballstemmer==2.2.0 Sphinx==7.4.7 stestr==4.1.0 stevedore==5.2.0 testrepository==0.0.0 testscenarios==0.5.0 testtools==2.7.2 tomlkit==0.13.2 trove-classifiers==2024.4.10 typeguard==4.3.0 typing_extensions==4.12.2 urllib3==2.0.7 voluptuous==0.14.2 warlock==2.0.1 wcwidth==0.2.13 WebOb==1.8.7 wheel==0.44.0 wrapt==1.15.0 zipp==3.20.2 + exit 1 make[1]: *** [debian/rules:21: override_dh_auto_test] Error 1 make[1]: Leaving directory '/<<PKGBUILDDIR>>' make: *** [debian/rules:6: build] Error 2 dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2 -------------------------------------------------------------------------------- Build finished at 2024-09-19T05:32:57Z If required, the full build log is available here (for the next 30 days): https://debusine.debian.net/artifact/787054/ This bug has been filed at "normal" severity, as we haven't started the transition to add 3.13 as a supported version, yet. This will be raised to RC as soon as that happens, hopefully well before trixie. Thanks, Stefano