--- Begin Message ---
Source: watcher-dashboard
Version: 8.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
watcher-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
watcher-dashboard from testing 8.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/w/watcher-dashboard/28796452/log.gz
Running migrations:
Applying contenttypes.0001_initial... OK
Applying contenttypes.0002_remove_content_type_name... OK
Applying auth.0001_initial... OK
Applying auth.0002_alter_permission_name_max_length... OK
Applying auth.0003_alter_user_email_max_length... OK
Applying auth.0004_alter_user_username_opts... OK
Applying auth.0005_alter_user_last_login_null... OK
Applying auth.0006_require_contenttypes_0002... OK
Applying auth.0007_alter_validators_add_error_messages... OK
Applying auth.0008_alter_user_username_max_length... OK
Applying auth.0009_alter_user_last_name_max_length... OK
Applying auth.0010_alter_group_name_max_length... OK
Applying auth.0011_update_proxy_permissions... OK
Applying auth.0012_alter_user_first_name_max_length... OK
Applying sessions.0001_initial... OK
Destroying test database for alias 'default'
('file:memorydb_default?mode=memory&cache=shared')...
Traceback (most recent call last):
File "/tmp/autopkgtest-lxc.2p5z09al/downtmp/build.k2W/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_load
File "<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_module
File "<frozen importlib._bootstrap>", line 241, in
_call_with_frames_removed
File
"/tmp/autopkgtest-lxc.2p5z09al/downtmp/build.k2W/src/watcher_dashboard/content/goals/urls.py",
line 18, in <module>
from watcher_dashboard.content.goals import views
File
"/tmp/autopkgtest-lxc.2p5z09al/downtmp/build.k2W/src/watcher_dashboard/content/goals/views.py",
line 25, in <module>
from watcher_dashboard.api import watcher
File
"/tmp/autopkgtest-lxc.2p5z09al/downtmp/build.k2W/src/watcher_dashboard/api/watcher.py",
line 55, in <module>
class Audit(base.APIDictWrapper):
File
"/tmp/autopkgtest-lxc.2p5z09al/downtmp/build.k2W/src/watcher_dashboard/api/watcher.py",
line 114, in Audit
@errors_utils.handle_errors(_("Unable to retrieve audit"))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File
"/tmp/autopkgtest-lxc.2p5z09al/downtmp/build.k2W/src/watcher_dashboard/utils/errors.py",
line 42, in decorator
for _request_arg, name in enumerate(inspect.getargspec(func).args):
^^^^^^^^^^^^^^^^^^
AttributeError: module 'inspect' has no attribute 'getargspec'. Did you
mean: 'getargs'?
autopkgtest [01:19:47]: test unittests
OpenPGP_signature
Description: OpenPGP digital signature
--- End Message ---