[Freedombox-pkg-team] Bug#1061798: freedombox fails its autopkg tests with Python 3.12

Matthias Klose doko at debian.org
Mon Jan 29 19:21:42 GMT 2024


Package: src:freedombox
Version: 24.2
Severity: important
Tags: sid trixie ftbfs
User: debian-python at lists.debian.org
Usertags: python3.12

With python3-defaults from experimental, the package fails its autopkg 
tests:

[...]
427s autopkgtest [01:35:26]: test command2: [-----------------------
429s Traceback (most recent call last):
429s   File "/usr/bin/py.test-3", line 8, in <module>
429s     sys.exit(console_main())
429s              ^^^^^^^^^^^^^^
429s   File "/usr/lib/python3/dist-packages/_pytest/config/__init__.py", 
line 192, in console_main
429s     code = main()
429s            ^^^^^^
429s   File "/usr/lib/python3/dist-packages/_pytest/config/__init__.py", 
line 150, in main
429s     config = _prepareconfig(args, plugins)
429s              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
429s   File "/usr/lib/python3/dist-packages/_pytest/config/__init__.py", 
line 331, in _prepareconfig
429s     config = pluginmanager.hook.pytest_cmdline_parse(
429s              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
429s   File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 493, 
in __call__
429s     return self._hookexec(self.name, self._hookimpls, kwargs, 
firstresult)
429s 
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
429s   File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 
115, in _hookexec
429s     return self._inner_hookexec(hook_name, methods, kwargs, 
firstresult)
429s 
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
429s   File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 
130, in _multicall
429s     teardown[0].send(outcome)
429s   File "/usr/lib/python3/dist-packages/_pytest/helpconfig.py", line 
104, in pytest_cmdline_parse
429s     config: Config = outcome.get_result()
429s                      ^^^^^^^^^^^^^^^^^^^^
429s   File "/usr/lib/python3/dist-packages/pluggy/_result.py", line 
114, in get_result
429s     raise exc.with_traceback(exc.__traceback__)
429s   File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 
77, in _multicall
429s     res = hook_impl.function(*args)
429s           ^^^^^^^^^^^^^^^^^^^^^^^^^
429s   File "/usr/lib/python3/dist-packages/_pytest/config/__init__.py", 
line 1075, in pytest_cmdline_parse
429s     self.parse(args)
429s   File "/usr/lib/python3/dist-packages/_pytest/config/__init__.py", 
line 1425, in parse
429s     self._preparse(args, addopts=addopts)
429s   File "/usr/lib/python3/dist-packages/_pytest/config/__init__.py", 
line 1327, in _preparse
429s     self.hook.pytest_load_initial_conftests(
429s   File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 493, 
in __call__
429s     return self._hookexec(self.name, self._hookimpls, kwargs, 
firstresult)
429s 
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
429s   File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 
115, in _hookexec
429s     return self._inner_hookexec(hook_name, methods, kwargs, 
firstresult)
429s 
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
429s   File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 
152, in _multicall
429s     return outcome.get_result()
429s            ^^^^^^^^^^^^^^^^^^^^
429s   File "/usr/lib/python3/dist-packages/pluggy/_result.py", line 
114, in get_result
429s     raise exc.with_traceback(exc.__traceback__)
429s   File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 
77, in _multicall
429s     res = hook_impl.function(*args)
429s           ^^^^^^^^^^^^^^^^^^^^^^^^^
429s   File "/usr/lib/python3/dist-packages/pytest_django/plugin.py", 
line 353, in pytest_load_initial_conftests
429s     _setup_django()
429s   File "/usr/lib/python3/dist-packages/pytest_django/plugin.py", 
line 236, in _setup_django
429s     django.setup()
429s   File "/usr/lib/python3/dist-packages/django/__init__.py", line 
24, in setup
429s     apps.populate(settings.INSTALLED_APPS)
429s   File "/usr/lib/python3/dist-packages/django/apps/registry.py", 
line 91, in populate
429s     app_config = AppConfig.create(entry)
429s                  ^^^^^^^^^^^^^^^^^^^^^^^
429s   File "/usr/lib/python3/dist-packages/django/apps/config.py", line 
193, in create
429s     import_module(entry)
429s   File "/usr/lib/python3.12/importlib/__init__.py", line 90, in 
import_module
429s     return _bootstrap._gcd_import(name[level:], package, level)
429s            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
429s   File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
429s   File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
429s   File "<frozen importlib._bootstrap>", line 1331, in 
_find_and_load_unlocked
429s   File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
429s   File "<frozen importlib._bootstrap_external>", line 994, in 
exec_module
429s   File "<frozen importlib._bootstrap>", line 488, in 
_call_with_frames_removed
429s   File "/usr/lib/python3/dist-packages/bootstrapform/__init__.py", 
line 1, in <module>
429s     from .meta import VERSION
429s   File "/usr/lib/python3/dist-packages/bootstrapform/meta.py", line 
1, in <module>
429s     from distutils.version import StrictVersion
429s ModuleNotFoundError: No module named 'distutils'
429s autopkgtest [01:35:28]: test command2: -----------------------]
429s autopkgtest [01:35:28]: test command2:  - - - - - - - - - - results 
- - - - - - - - - -
429s command2             FAIL non-zero exit status 1
430s autopkgtest [01:35:29]: test command2:  - - - - - - - - - - stderr 
- - - - - - - - - -
430s Traceback (most recent call last):
430s   File "/usr/bin/py.test-3", line 8, in <module>
430s     sys.exit(console_main())
430s              ^^^^^^^^^^^^^^
430s   File "/usr/lib/python3/dist-packages/_pytest/config/__init__.py", 
line 192, in console_main
430s     code = main()
430s            ^^^^^^
430s   File "/usr/lib/python3/dist-packages/_pytest/config/__init__.py", 
line 150, in main
430s     config = _prepareconfig(args, plugins)
430s              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
430s   File "/usr/lib/python3/dist-packages/_pytest/config/__init__.py", 
line 331, in _prepareconfig
430s     config = pluginmanager.hook.pytest_cmdline_parse(
430s              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
430s   File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 493, 
in __call__
430s     return self._hookexec(self.name, self._hookimpls, kwargs, 
firstresult)
430s 
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
430s   File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 
115, in _hookexec
430s     return self._inner_hookexec(hook_name, methods, kwargs, 
firstresult)
430s 
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
430s   File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 
130, in _multicall
430s     teardown[0].send(outcome)
430s   File "/usr/lib/python3/dist-packages/_pytest/helpconfig.py", line 
104, in pytest_cmdline_parse
430s     config: Config = outcome.get_result()
430s                      ^^^^^^^^^^^^^^^^^^^^
430s   File "/usr/lib/python3/dist-packages/pluggy/_result.py", line 
114, in get_result
430s     raise exc.with_traceback(exc.__traceback__)
430s   File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 
77, in _multicall
430s     res = hook_impl.function(*args)
430s           ^^^^^^^^^^^^^^^^^^^^^^^^^
430s   File "/usr/lib/python3/dist-packages/_pytest/config/__init__.py", 
line 1075, in pytest_cmdline_parse
430s     self.parse(args)
430s   File "/usr/lib/python3/dist-packages/_pytest/config/__init__.py", 
line 1425, in parse
430s     self._preparse(args, addopts=addopts)
430s   File "/usr/lib/python3/dist-packages/_pytest/config/__init__.py", 
line 1327, in _preparse
430s     self.hook.pytest_load_initial_conftests(
430s   File "/usr/lib/python3/dist-packages/pluggy/_hooks.py", line 493, 
in __call__
430s     return self._hookexec(self.name, self._hookimpls, kwargs, 
firstresult)
430s 
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
430s   File "/usr/lib/python3/dist-packages/pluggy/_manager.py", line 
115, in _hookexec
430s     return self._inner_hookexec(hook_name, methods, kwargs, 
firstresult)
430s 
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
430s   File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 
152, in _multicall
430s     return outcome.get_result()
430s            ^^^^^^^^^^^^^^^^^^^^
430s   File "/usr/lib/python3/dist-packages/pluggy/_result.py", line 
114, in get_result
430s     raise exc.with_traceback(exc.__traceback__)
430s   File "/usr/lib/python3/dist-packages/pluggy/_callers.py", line 
77, in _multicall
430s     res = hook_impl.function(*args)
430s           ^^^^^^^^^^^^^^^^^^^^^^^^^
430s   File "/usr/lib/python3/dist-packages/pytest_django/plugin.py", 
line 353, in pytest_load_initial_conftests
430s     _setup_django()
430s   File "/usr/lib/python3/dist-packages/pytest_django/plugin.py", 
line 236, in _setup_django
430s     django.setup()
430s   File "/usr/lib/python3/dist-packages/django/__init__.py", line 
24, in setup
430s     apps.populate(settings.INSTALLED_APPS)
430s   File "/usr/lib/python3/dist-packages/django/apps/registry.py", 
line 91, in populate
430s     app_config = AppConfig.create(entry)
430s                  ^^^^^^^^^^^^^^^^^^^^^^^
430s   File "/usr/lib/python3/dist-packages/django/apps/config.py", line 
193, in create
430s     import_module(entry)
430s   File "/usr/lib/python3.12/importlib/__init__.py", line 90, in 
import_module
430s     return _bootstrap._gcd_import(name[level:], package, level)
430s            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
430s   File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
430s   File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
430s   File "<frozen importlib._bootstrap>", line 1331, in 
_find_and_load_unlocked
430s   File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
430s   File "<frozen importlib._bootstrap_external>", line 994, in 
exec_module
430s   File "<frozen importlib._bootstrap>", line 488, in 
_call_with_frames_removed
430s   File "/usr/lib/python3/dist-packages/bootstrapform/__init__.py", 
line 1, in <module>
430s     from .meta import VERSION
430s   File "/usr/lib/python3/dist-packages/bootstrapform/meta.py", line 
1, in <module>
430s     from distutils.version import StrictVersion
430s ModuleNotFoundError: No module named 'distutils'
430s autopkgtest [01:35:29]: @@@@@@@@@@@@@@@@@@@@ summary



More information about the Freedombox-pkg-team mailing list