Source: mistral-dashboard Version: 15.0.0-1 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 mistral-dashboard 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 mistral-dashboard from testing 15.0.0-1 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/m/mistral-dashboard/28711966/log.gz/tmp/autopkgtest-lxc._qtzsg39/downtmp/build.uyw/src/debian/tests/unittests: 11: CURDIR: not found + PYTHONPATH=/debian/tmp/usr/lib/python3/dist-packages NOSE_WITH_OPENSTACK=1 NOSE_OPENSTACK_COLOR=1 NOSE_OPENSTACK_RED=0.05 NOSE_OPENSTACK_YELLOW=0.025 NOSE_OPENSTACK_SHOW_ELAPSED=1 http_proxy=127.0.0.1:9 https_proxy=127.0.0.9:9 HTTP_PROXY=127.0.0.1:9 HTTPS_PROXY=127.0.0.1:9 DJANGO_SETTINGS_MODULE=mistraldashboard.test.settings PYTHON=python3.11 python3.11 -m coverage run manage.py test mistraldashboard --settings=mistraldashboard.test.settings
Traceback (most recent call last):File "/tmp/autopkgtest-lxc._qtzsg39/downtmp/build.uyw/src/manage.py", line 23, in <module>
execute_from_command_line(sys.argv)File "/usr/lib/python3/dist-packages/django/core/management/__init__.py", line 419, in execute_from_command_line
utility.execute()File "/usr/lib/python3/dist-packages/django/core/management/__init__.py", line 413, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)File "/usr/lib/python3/dist-packages/django/core/management/commands/test.py", line 23, in run_from_argv
super().run_from_argv(argv)File "/usr/lib/python3/dist-packages/django/core/management/base.py", line 354, in run_from_argv
self.execute(*args, **cmd_options)File "/usr/lib/python3/dist-packages/django/core/management/base.py", line 398, in execute
output = self.handle(*args, **options) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^File "/usr/lib/python3/dist-packages/django/core/management/commands/test.py", line 55, in handle
failures = test_runner.run_tests(test_labels) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^File "/usr/lib/python3/dist-packages/django/test/runner.py", line 728, in run_tests
self.run_checks(databases)File "/usr/lib/python3/dist-packages/django/test/runner.py", line 665, in run_checks
call_command('check', verbosity=self.verbosity, databases=databases)File "/usr/lib/python3/dist-packages/django/core/management/__init__.py", line 181, in call_command
return command.execute(*args, **defaults) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^File "/usr/lib/python3/dist-packages/django/core/management/base.py", line 398, in execute
output = self.handle(*args, **options) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^File "/usr/lib/python3/dist-packages/django/core/management/commands/check.py", line 63, in handle
self.check(File "/usr/lib/python3/dist-packages/django/core/management/base.py", line 419, in check
all_issues = checks.run_checks( ^^^^^^^^^^^^^^^^^^File "/usr/lib/python3/dist-packages/django/core/checks/registry.py", line 76, in run_checks
new_errors = check(app_configs=app_configs, databases=databases) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^File "/usr/lib/python3/dist-packages/django/core/checks/urls.py", line 13, in check_url_config
return check_resolver(resolver) ^^^^^^^^^^^^^^^^^^^^^^^^File "/usr/lib/python3/dist-packages/django/core/checks/urls.py", line 23, in check_resolver
return check_method() ^^^^^^^^^^^^^^File "/usr/lib/python3/dist-packages/django/urls/resolvers.py", line 417, in check
messages.extend(check_resolver(pattern)) ^^^^^^^^^^^^^^^^^^^^^^^File "/usr/lib/python3/dist-packages/django/core/checks/urls.py", line 23, in check_resolver
return check_method() ^^^^^^^^^^^^^^File "/usr/lib/python3/dist-packages/django/urls/resolvers.py", line 416, in check
for pattern in self.url_patterns: ^^^^^^^^^^^^^^^^^File "/usr/lib/python3/dist-packages/django/utils/functional.py", line 48, in __get__
res = instance.__dict__[self.name] = self.func(instance) ^^^^^^^^^^^^^^^^^^^File "/usr/lib/python3/dist-packages/django/urls/resolvers.py", line 604, in url_patterns
iter(patterns)File "/usr/lib/python3/dist-packages/horizon/base.py", line 679, in __iter__
self._setup()File "/usr/lib/python3/dist-packages/django/utils/functional.py", line 382, in _setup
self._wrapped = self._setupfunc() ^^^^^^^^^^^^^^^^^File "/usr/lib/python3/dist-packages/horizon/base.py", line 842, in url_patterns
return self._urls()[0] ^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/horizon/base.py", line 877, in _urls _wrapped_include(dash._decorated_urls))) ^^^^^^^^^^^^^^^^^^^^File "/usr/lib/python3/dist-packages/horizon/base.py", line 555, in _decorated_urls
_wrapped_include(panel._decorated_urls))) ^^^^^^^^^^^^^^^^^^^^^File "/usr/lib/python3/dist-packages/horizon/base.py", line 328, in _decorated_urls
urlpatterns = self._get_default_urlpatterns() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^File "/usr/lib/python3/dist-packages/horizon/base.py", line 132, in _get_default_urlpatterns
urls_mod = import_module('.urls', package_string) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^File "/usr/lib/python3.11/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "<frozen importlib._bootstrap>", line 1206, in _gcd_import File "<frozen importlib._bootstrap>", line 1178, in _find_and_loadFile "<frozen importlib._bootstrap>", line 1149, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 690, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 940, in exec_moduleFile "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed File "/tmp/autopkgtest-lxc._qtzsg39/downtmp/build.uyw/src/mistraldashboard/workbooks/urls.py", line 17, in <module>
from mistraldashboard.workbooks import viewsFile "/tmp/autopkgtest-lxc._qtzsg39/downtmp/build.uyw/src/mistraldashboard/workbooks/views.py", line 24, in <module>
from mistraldashboard import apiFile "/tmp/autopkgtest-lxc._qtzsg39/downtmp/build.uyw/src/mistraldashboard/api.py", line 52, in <module>
@handle_errors(_("Unable to retrieve list"), []) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^File "/tmp/autopkgtest-lxc._qtzsg39/downtmp/build.uyw/src/mistraldashboard/handle_errors.py", line 42, in decorator
if _request_arg not in inspect.getargspec(func).args: ^^^^^^^^^^^^^^^^^^AttributeError: module 'inspect' has no attribute 'getargspec'. Did you mean: 'getargs'?
autopkgtest [20:15:33]: test unittests
OpenPGP_signature
Description: OpenPGP digital signature