Source: python-cinderclient Version: 1:9.5.0-2 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. What's new in Python 3.13: https://docs.python.org/3.13/whatsnew/3.13.html Log snippet: ====================================================================== FAIL: cinderclient.tests.unit.test_shell.TestLoadVersionedActions.test_load_versioned_actions_with_help cinderclient.tests.unit.test_shell.TestLoadVersionedActions.test_load_versioned_actions_with_help ---------------------------------------------------------------------- testtools.testresult.real._StringException: Traceback (most recent call last): File "/<<PKGBUILDDIR>>/cinderclient/tests/unit/test_shell.py", line 442, in test_load_versioned_actions_with_help mock_add_parser.assert_any_call( ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 'fake-action', ^^^^^^^^^^^^^^ ...<2 lines>... add_help=False, ^^^^^^^^^^^^^^^ formatter_class=cinderclient.shell.OpenStackHelpFormatter) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.13/unittest/mock.py", line 1048, in assert_any_call raise AssertionError( '%s call not found' % expected_string ) from cause AssertionError: add_parser('fake-action', help='help message (Supported by API versions 3.0 - 3.3)', description='help message\n\n This will not show up in help message\n ', add_help=False, formatter_class=<class 'cinderclient.shell.OpenStackHelpFormatter'>) call not found ---------------------------------------------------------------------- Ran 737 tests in 22.367s FAILED (failures=1) + echo ======> STESTR TEST SUITE FAILED FOR python3.13: displaying pip3 freeze output... ======> STESTR TEST SUITE FAILED FOR python3.13: displaying pip3 freeze output... + [ -x /usr/bin/pip3 ] + pip3 freeze 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 colorama==0.4.6 coverage==7.6.0 cryptography==43.0.0 ddt==1.7.1 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 gabbi==2.4.0 greenlet==3.0.1 hacking==4.1.0 hatch-vcs==0.4.0 hatchling==1.25.0 httplib2==0.22.0 idna==3.6 imagesize==1.4.1 inflect==7.3.1 iniconfig==1.1.1 iso8601==1.0.2 jaraco.context==6.0.0 jaraco.functools==4.0.2 Jinja2==3.1.3 jmespath==1.0.1 jsonpatch==1.32 jsonpath-rw==1.4.0 jsonpath-rw-ext==1.2.2 jsonpointer==2.4 jsonschema==4.19.2 jsonschema-specifications==2023.12.1 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 os-testr==3.0.0 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 packaging==24.1 paramiko==3.4.1 pathspec==0.12.1 pbr==6.0.0 platformdirs==4.3.2 pluggy==1.5.0 ply==3.11 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 PyNaCl==1.5.0 pyparsing==3.1.2 pyperclip==1.8.2 pytest==8.3.3 python-cinderclient==9.5.0 python-dateutil==2.9.0 python-subunit==1.4.2 python-swiftclient==4.5.0 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 setuptools==74.1.2 setuptools-scm==8.1.0 six==1.16.0 snowballstemmer==2.2.0 Sphinx==7.4.7 stestr==4.1.0 stevedore==5.2.0 tempest==38.0.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 wcwidth==0.2.13 wheel==0.44.0 wrapt==1.15.0 wsgi-intercept==1.13.0 zipp==3.20.2 + exit 1 make[1]: *** [debian/rules:18: override_dh_auto_install] Error 1 make[1]: Leaving directory '/<<PKGBUILDDIR>>' make: *** [debian/rules:6: binary] Error 2 dpkg-buildpackage: error: fakeroot debian/rules binary subprocess returned exit status 2 -------------------------------------------------------------------------------- Build finished at 2024-09-18T23:25:53Z If required, the full build log is available here (for the next 30 days): https://debusine.debian.net/artifact/781735/ 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