Package: src:horizon
Version: 3:25.5.1-3
Severity: serious
Tags: ftbfs forky sid

Dear maintainer:

During a rebuild of all packages in unstable, this package failed to build.

Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:

https://people.debian.org/~sanvila/build-logs/202512/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:horizon, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
 debian/rules clean
make: pyversions: No such file or directory
py3versions: no X-Python3-Version in control file, using supported versions
dh clean --buildsystem=pybuild --with python3,sphinxdoc
   debian/rules override_dh_auto_clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
make[1]: pyversions: No such file or directory
py3versions: no X-Python3-Version in control file, using supported versions
python3 setup.py clean
/usr/lib/python3/dist-packages/setuptools/dist.py:759: 
SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!

        
********************************************************************************
        Please consider removing the following classifiers in favor of a SPDX 
license expression:


[... snipped ...]

    hdlr.handle(record)
/usr/lib/python3.14/logging/__init__.py:1027: in handle
    self.emit(record)
/usr/lib/python3/dist-packages/django/utils/log.py:125: in emit
    reporter.get_traceback_text(),
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/usr/lib/python3/dist-packages/django/views/debug.py:418: in get_traceback_text
    return t.render(c)
           ^^^^^^^^^^^
/usr/lib/python3/dist-packages/django/template/base.py:175: in render
    return self._render(context)
           ^^^^^^^^^^^^^^^^^^^^^
/usr/lib/python3/dist-packages/django/test/utils.py:111: in 
instrumented_test_render
    template_rendered.send(sender=self, template=self, context=context)
/usr/lib/python3/dist-packages/django/dispatch/dispatcher.py:177: in send
    (receiver, receiver(signal=self, sender=sender, **named))
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/usr/lib/python3/dist-packages/django/test/client.py:267: in 
store_rendered_templates
    store["context"].append(copy(context))
                            ^^^^^^^^^^^^^
/usr/lib/python3.14/copy.py:82: in copy
    return copier(x)
           ^^^^^^^^^
/usr/lib/python3/dist-packages/django/template/context.py:158: in __copy__
    duplicate = super().__copy__()
                ^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = [{'True': True, 'False': False, 'None': None}, {'is_email': True, 
'unicode_hint': '', 'frames': [{'exc_cause': None, '...lf):'], 
'pre_context_lineno': 32, 'colno': '\n            ^^^^^^^^^^^^^^^', 
'tb_area_colno': '\n    ^^^^^^^^^^^^^^^'}}]

    def __copy__(self):
        duplicate = copy(super())
>       duplicate.dicts = self.dicts[:]
        ^^^^^^^^^^^^^^^
E       AttributeError: 'super' object has no attribute 'dicts' and no __dict__ 
for setting new attributes

/usr/lib/python3/dist-packages/django/template/context.py:39: AttributeError

During handling of the above exception, another exception occurred:

request = <class 'django.http.HttpRequest'>

    @wraps(get_response)
    def inner(request):
        try:
>           response = get_response(request)
                       ^^^^^^^^^^^^^^^^^^^^^

/usr/lib/python3/dist-packages/django/core/handlers/exception.py:55: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/usr/lib/python3/dist-packages/django/utils/deprecation.py:134: in __call__
    response = response or self.get_response(request)
                           ^^^^^^^^^^^^^^^^^^^^^^^^^^
/usr/lib/python3/dist-packages/django/core/handlers/exception.py:57: in inner
    response = response_for_exception(request, exc)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/usr/lib/python3/dist-packages/django/core/handlers/exception.py:144: in 
response_for_exception
    log_response(
/usr/lib/python3/dist-packages/django/utils/log.py:246: in log_response
    getattr(logger, level)(
/usr/lib/python3.14/logging/__init__.py:1549: in error
    self._log(ERROR, msg, args, **kwargs)
/usr/lib/python3.14/logging/__init__.py:1665: in _log
    self.handle(record)
/usr/lib/python3.14/logging/__init__.py:1681: in handle
    self.callHandlers(record)
/usr/lib/python3.14/logging/__init__.py:1737: in callHandlers
    hdlr.handle(record)
/usr/lib/python3.14/logging/__init__.py:1027: in handle
    self.emit(record)
/usr/lib/python3/dist-packages/django/utils/log.py:125: in emit
    reporter.get_traceback_text(),
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/usr/lib/python3/dist-packages/django/views/debug.py:418: in get_traceback_text
    return t.render(c)
           ^^^^^^^^^^^
/usr/lib/python3/dist-packages/django/template/base.py:175: in render
    return self._render(context)
           ^^^^^^^^^^^^^^^^^^^^^
/usr/lib/python3/dist-packages/django/test/utils.py:111: in 
instrumented_test_render
    template_rendered.send(sender=self, template=self, context=context)
/usr/lib/python3/dist-packages/django/dispatch/dispatcher.py:177: in send
    (receiver, receiver(signal=self, sender=sender, **named))
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/usr/lib/python3/dist-packages/django/test/client.py:267: in 
store_rendered_templates
    store["context"].append(copy(context))
                            ^^^^^^^^^^^^^
/usr/lib/python3.14/copy.py:82: in copy
    return copier(x)
           ^^^^^^^^^
/usr/lib/python3/dist-packages/django/template/context.py:158: in __copy__
    duplicate = super().__copy__()
                ^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = [{'True': True, 'False': False, 'None': None}, {'is_email': True, 
'unicode_hint': '', 'frames': [{'exc_cause': None, '...lf):'], 
'pre_context_lineno': 32, 'colno': '\n            ^^^^^^^^^^^^^^^', 
'tb_area_colno': '\n    ^^^^^^^^^^^^^^^'}}]

    def __copy__(self):
        duplicate = copy(super())
>       duplicate.dicts = self.dicts[:]
        ^^^^^^^^^^^^^^^
E       AttributeError: 'super' object has no attribute 'dicts' and no __dict__ 
for setting new attributes

/usr/lib/python3/dist-packages/django/template/context.py:39: AttributeError

During handling of the above exception, another exception occurred:

request = <class 'django.http.HttpRequest'>

    @wraps(get_response)
    def inner(request):
        try:
>           response = get_response(request)
                       ^^^^^^^^^^^^^^^^^^^^^

/usr/lib/python3/dist-packages/django/core/handlers/exception.py:55: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
openstack_auth/middleware.py:25: in __call__
    return self.get_response(request)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
/usr/lib/python3/dist-packages/django/core/handlers/exception.py:57: in inner
    response = response_for_exception(request, exc)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/usr/lib/python3/dist-packages/django/core/handlers/exception.py:144: in 
response_for_exception
    log_response(
/usr/lib/python3/dist-packages/django/utils/log.py:246: in log_response
    getattr(logger, level)(
/usr/lib/python3.14/logging/__init__.py:1549: in error
    self._log(ERROR, msg, args, **kwargs)
/usr/lib/python3.14/logging/__init__.py:1665: in _log
    self.handle(record)
/usr/lib/python3.14/logging/__init__.py:1681: in handle
    self.callHandlers(record)
/usr/lib/python3.14/logging/__init__.py:1737: in callHandlers
    hdlr.handle(record)
/usr/lib/python3.14/logging/__init__.py:1027: in handle
    self.emit(record)
/usr/lib/python3/dist-packages/django/utils/log.py:125: in emit
    reporter.get_traceback_text(),
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/usr/lib/python3/dist-packages/django/views/debug.py:418: in get_traceback_text
    return t.render(c)
           ^^^^^^^^^^^
/usr/lib/python3/dist-packages/django/template/base.py:175: in render
    return self._render(context)
           ^^^^^^^^^^^^^^^^^^^^^
/usr/lib/python3/dist-packages/django/test/utils.py:111: in 
instrumented_test_render
    template_rendered.send(sender=self, template=self, context=context)
/usr/lib/python3/dist-packages/django/dispatch/dispatcher.py:177: in send
    (receiver, receiver(signal=self, sender=sender, **named))
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/usr/lib/python3/dist-packages/django/test/client.py:267: in 
store_rendered_templates
    store["context"].append(copy(context))
                            ^^^^^^^^^^^^^
/usr/lib/python3.14/copy.py:82: in copy
    return copier(x)
           ^^^^^^^^^
/usr/lib/python3/dist-packages/django/template/context.py:158: in __copy__
    duplicate = super().__copy__()
                ^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = [{'True': True, 'False': False, 'None': None}, {'is_email': True, 
'unicode_hint': '', 'frames': [{'exc_cause': None, '...lf):'], 
'pre_context_lineno': 32, 'colno': '\n            ^^^^^^^^^^^^^^^', 
'tb_area_colno': '\n    ^^^^^^^^^^^^^^^'}}]

    def __copy__(self):
        duplicate = copy(super())
>       duplicate.dicts = self.dicts[:]
        ^^^^^^^^^^^^^^^
E       AttributeError: 'super' object has no attribute 'dicts' and no __dict__ 
for setting new attributes

/usr/lib/python3/dist-packages/django/template/context.py:39: AttributeError

During handling of the above exception, another exception occurred:

self = <horizon.test.unit.test_base.CustomPermissionsTests 
testMethod=test_customized_permissions>

    @override_settings(SESSION_REFRESH=False)
    def test_customized_permissions(self):
        dogs = horizon.get_dashboard("dogs")
        panel = dogs.get_panel('puppies')
    
        # Non-admin user
        self.assertQuerySetEqual(self.user.get_all_permissions(), [])
    
>       resp = self.client.get(panel.get_absolute_url())
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

horizon/test/unit/test_base.py:471: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/usr/lib/python3/dist-packages/django/test/client.py:927: in get
    response = super().get(path, data=data, secure=secure, headers=headers, 
**extra)
               
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/usr/lib/python3/dist-packages/django/test/client.py:457: in get
    return self.generic(
/usr/lib/python3/dist-packages/django/test/client.py:609: in generic
    return self.request(**r)
           ^^^^^^^^^^^^^^^^^
/usr/lib/python3/dist-packages/django/test/client.py:886: in request
    response = self.handler(environ)
               ^^^^^^^^^^^^^^^^^^^^^
/usr/lib/python3/dist-packages/django/test/client.py:176: in __call__
    response = self.get_response(request)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^
/usr/lib/python3/dist-packages/django/core/handlers/base.py:140: in get_response
    response = self._middleware_chain(request)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/usr/lib/python3/dist-packages/django/core/handlers/exception.py:57: in inner
    response = response_for_exception(request, exc)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/usr/lib/python3/dist-packages/django/core/handlers/exception.py:144: in 
response_for_exception
    log_response(
/usr/lib/python3/dist-packages/django/utils/log.py:246: in log_response
    getattr(logger, level)(
/usr/lib/python3.14/logging/__init__.py:1549: in error
    self._log(ERROR, msg, args, **kwargs)
/usr/lib/python3.14/logging/__init__.py:1665: in _log
    self.handle(record)
/usr/lib/python3.14/logging/__init__.py:1681: in handle
    self.callHandlers(record)
/usr/lib/python3.14/logging/__init__.py:1737: in callHandlers
    hdlr.handle(record)
/usr/lib/python3.14/logging/__init__.py:1027: in handle
    self.emit(record)
/usr/lib/python3/dist-packages/django/utils/log.py:125: in emit
    reporter.get_traceback_text(),
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/usr/lib/python3/dist-packages/django/views/debug.py:418: in get_traceback_text
    return t.render(c)
           ^^^^^^^^^^^
/usr/lib/python3/dist-packages/django/template/base.py:175: in render
    return self._render(context)
           ^^^^^^^^^^^^^^^^^^^^^
/usr/lib/python3/dist-packages/django/test/utils.py:111: in 
instrumented_test_render
    template_rendered.send(sender=self, template=self, context=context)
/usr/lib/python3/dist-packages/django/dispatch/dispatcher.py:177: in send
    (receiver, receiver(signal=self, sender=sender, **named))
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/usr/lib/python3/dist-packages/django/test/client.py:267: in 
store_rendered_templates
    store["context"].append(copy(context))
                            ^^^^^^^^^^^^^
/usr/lib/python3.14/copy.py:82: in copy
    return copier(x)
           ^^^^^^^^^
/usr/lib/python3/dist-packages/django/template/context.py:158: in __copy__
    duplicate = super().__copy__()
                ^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = [{'True': True, 'False': False, 'None': None}, {'is_email': True, 
'unicode_hint': '', 'frames': [{'exc_cause': None, '...lf):'], 
'pre_context_lineno': 32, 'colno': '\n            ^^^^^^^^^^^^^^^', 
'tb_area_colno': '\n    ^^^^^^^^^^^^^^^'}}]

    def __copy__(self):
        duplicate = copy(super())
>       duplicate.dicts = self.dicts[:]
        ^^^^^^^^^^^^^^^
E       AttributeError: 'super' object has no attribute 'dicts' and no __dict__ 
for setting new attributes

/usr/lib/python3/dist-packages/django/template/context.py:39: AttributeError
=============================== warnings summary ===============================
horizon/test/firefox_binary.py:27
horizon/test/firefox_binary.py:27
  /<<PKGBUILDDIR>>/horizon/test/firefox_binary.py:27: DeprecationWarning: Use 
binary_location property in Firefox Options to set location
    class FirefoxBinary(firefox.firefox_binary.FirefoxBinary):

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== short test summary info ============================
FAILED 
horizon/test/unit/middleware/test_base.py::MiddlewareTests::test_redirect_login_fail_to_login
FAILED horizon/test/unit/test_base.py::HorizonTests::test_public - AttributeE...
FAILED 
horizon/test/unit/tabs/test_tabs.py::TabExceptionTests::test_tab_302_exception
FAILED 
horizon/test/unit/tabs/test_tabs.py::TabExceptionTests::test_tab_view_exception
FAILED 
horizon/test/unit/templatetags/test_templatetags.py::TemplateTagTests::test_horizon_main_nav
FAILED horizon/test/unit/test_base.py::HorizonTests::test_required_permissions
FAILED horizon/test/unit/test_base.py::HorizonTests::test_ssl_redirect_by_proxy
FAILED 
horizon/test/unit/test_base.py::CustomPermissionsTests::test_customized_permissions
================== 8 failed, 195 passed, 2 warnings in 18.43s ==================
make[1]: *** [debian/rules:121: override_dh_auto_test] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:6: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

Reply via email to