Package: src:social-auth-app-django
Version: 5.4.3-1
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:social-auth-app-django, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean --buildsystem=pybuild
   dh_auto_clean -O--buildsystem=pybuild
   dh_autoreconf_clean -O--buildsystem=pybuild
   dh_clean -O--buildsystem=pybuild
 debian/rules binary
dh binary --buildsystem=pybuild
   dh_update_autotools_config -O--buildsystem=pybuild
   dh_autoreconf -O--buildsystem=pybuild
   dh_auto_configure -O--buildsystem=pybuild
   dh_auto_build -O--buildsystem=pybuild
I: pybuild plugin_pyproject:131: Building wheel for python3.14 with "build" 
module
I: pybuild base:317: python3.14 -m build --skip-dependency-check --no-isolation 
--wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_social-auth-app-django 
 
* Building wheel...
/usr/lib/python3/dist-packages/setuptools/config/_apply_pyprojecttoml.py:82: 
SetuptoolsDeprecationWarning: `project.license` as a TOML table is deprecated

[... snipped ...]

  File "/usr/lib/python3/dist-packages/django/utils/deprecation.py", line 134, 
in __call__
    response = response or self.get_response(request)
                           ~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/usr/lib/python3/dist-packages/django/core/handlers/exception.py", line 
57, in inner
    response = response_for_exception(request, exc)
  File "/usr/lib/python3/dist-packages/django/core/handlers/exception.py", line 
141, in response_for_exception
    response = handle_uncaught_exception(
        request, get_resolver(get_urlconf()), sys.exc_info()
    )
  File "/usr/lib/python3/dist-packages/django/core/handlers/exception.py", line 
182, in handle_uncaught_exception
    return debug.technical_500_response(request, *exc_info)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/django/views/debug.py", line 67, in 
technical_500_response
    html = reporter.get_traceback_html()
  File "/usr/lib/python3/dist-packages/django/views/debug.py", line 411, in 
get_traceback_html
    return t.render(c)
           ~~~~~~~~^^^
  File "/usr/lib/python3/dist-packages/django/template/base.py", line 175, in 
render
    return self._render(context)
           ~~~~~~~~~~~~^^^^^^^^^
  File "/usr/lib/python3/dist-packages/django/test/utils.py", line 111, in 
instrumented_test_render
    template_rendered.send(sender=self, template=self, context=context)
    ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/django/dispatch/dispatcher.py", line 
177, in send
    (receiver, receiver(signal=self, sender=sender, **named))
               ~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/django/test/client.py", line 267, in 
store_rendered_templates
    store["context"].append(copy(context))
                            ~~~~^^^^^^^^^
  File "/usr/lib/python3.14/copy.py", line 82, in copy
    return copier(x)
  File "/usr/lib/python3/dist-packages/django/template/context.py", line 158, 
in __copy__
    duplicate = super().__copy__()
  File "/usr/lib/python3/dist-packages/django/template/context.py", line 39, in 
__copy__
    duplicate.dicts = self.dicts[:]
    ^^^^^^^^^^^^^^^
AttributeError: 'super' object has no attribute 'dicts' and no __dict__ for 
setting new attributes

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/django/core/handlers/exception.py", line 
55, in inner
    response = get_response(request)
  File "/usr/lib/python3/dist-packages/django/utils/deprecation.py", line 134, 
in __call__
    response = response or self.get_response(request)
                           ~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "/usr/lib/python3/dist-packages/django/core/handlers/exception.py", line 
57, in inner
    response = response_for_exception(request, exc)
  File "/usr/lib/python3/dist-packages/django/core/handlers/exception.py", line 
141, in response_for_exception
    response = handle_uncaught_exception(
        request, get_resolver(get_urlconf()), sys.exc_info()
    )
  File "/usr/lib/python3/dist-packages/django/core/handlers/exception.py", line 
182, in handle_uncaught_exception
    return debug.technical_500_response(request, *exc_info)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/django/views/debug.py", line 67, in 
technical_500_response
    html = reporter.get_traceback_html()
  File "/usr/lib/python3/dist-packages/django/views/debug.py", line 411, in 
get_traceback_html
    return t.render(c)
           ~~~~~~~~^^^
  File "/usr/lib/python3/dist-packages/django/template/base.py", line 175, in 
render
    return self._render(context)
           ~~~~~~~~~~~~^^^^^^^^^
  File "/usr/lib/python3/dist-packages/django/test/utils.py", line 111, in 
instrumented_test_render
    template_rendered.send(sender=self, template=self, context=context)
    ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/django/dispatch/dispatcher.py", line 
177, in send
    (receiver, receiver(signal=self, sender=sender, **named))
               ~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/django/test/client.py", line 267, in 
store_rendered_templates
    store["context"].append(copy(context))
                            ~~~~^^^^^^^^^
  File "/usr/lib/python3.14/copy.py", line 82, in copy
    return copier(x)
  File "/usr/lib/python3/dist-packages/django/template/context.py", line 158, 
in __copy__
    duplicate = super().__copy__()
  File "/usr/lib/python3/dist-packages/django/template/context.py", line 39, in 
__copy__
    duplicate.dicts = self.dicts[:]
    ^^^^^^^^^^^^^^^
AttributeError: 'super' object has no attribute 'dicts' and no __dict__ for 
setting new attributes

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.14/unittest/mock.py", line 1432, in patched
    return func(*newargs, **newkeywargs)
  File "/usr/lib/python3/dist-packages/django/test/utils.py", line 461, in inner
    return func(*args, **kwargs)
  File "/<<PKGBUILDDIR>>/tests/test_middleware.py", line 36, in 
test_exception_debug
    self.client.get(self.complete_url)
    ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/django/test/client.py", line 927, in get
    response = super().get(path, data=data, secure=secure, headers=headers, 
**extra)
  File "/usr/lib/python3/dist-packages/django/test/client.py", line 457, in get
    return self.generic(
           ~~~~~~~~~~~~^
        "GET",
        ^^^^^^
    ...<6 lines>...
        },
        ^^
    )
    ^
  File "/usr/lib/python3/dist-packages/django/test/client.py", line 609, in 
generic
    return self.request(**r)
           ~~~~~~~~~~~~^^^^^
  File "/usr/lib/python3/dist-packages/django/test/client.py", line 886, in 
request
    response = self.handler(environ)
  File "/usr/lib/python3/dist-packages/django/test/client.py", line 176, in 
__call__
    response = self.get_response(request)
  File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 140, 
in get_response
    response = self._middleware_chain(request)
  File "/usr/lib/python3/dist-packages/django/core/handlers/exception.py", line 
57, in inner
    response = response_for_exception(request, exc)
  File "/usr/lib/python3/dist-packages/django/core/handlers/exception.py", line 
141, in response_for_exception
    response = handle_uncaught_exception(
        request, get_resolver(get_urlconf()), sys.exc_info()
    )
  File "/usr/lib/python3/dist-packages/django/core/handlers/exception.py", line 
182, in handle_uncaught_exception
    return debug.technical_500_response(request, *exc_info)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/django/views/debug.py", line 67, in 
technical_500_response
    html = reporter.get_traceback_html()
  File "/usr/lib/python3/dist-packages/django/views/debug.py", line 411, in 
get_traceback_html
    return t.render(c)
           ~~~~~~~~^^^
  File "/usr/lib/python3/dist-packages/django/template/base.py", line 175, in 
render
    return self._render(context)
           ~~~~~~~~~~~~^^^^^^^^^
  File "/usr/lib/python3/dist-packages/django/test/utils.py", line 111, in 
instrumented_test_render
    template_rendered.send(sender=self, template=self, context=context)
    ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/django/dispatch/dispatcher.py", line 
177, in send
    (receiver, receiver(signal=self, sender=sender, **named))
               ~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/django/test/client.py", line 267, in 
store_rendered_templates
    store["context"].append(copy(context))
                            ~~~~^^^^^^^^^
  File "/usr/lib/python3.14/copy.py", line 82, in copy
    return copier(x)
  File "/usr/lib/python3/dist-packages/django/template/context.py", line 158, 
in __copy__
    duplicate = super().__copy__()
  File "/usr/lib/python3/dist-packages/django/template/context.py", line 39, in 
__copy__
    duplicate.dicts = self.dicts[:]
    ^^^^^^^^^^^^^^^
AttributeError: 'super' object has no attribute 'dicts' and no __dict__ for 
setting new attributes

======================================================================
ERROR: test_begin_view (tests.test_views.TestViews.test_begin_view)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/social_core/backends/utils.py", line 48, 
in get_backend
    return BACKENDSCACHE[name]
           ~~~~~~~~~~~~~^^^^^^
KeyError: 'blabla'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/social_core/backends/utils.py", line 53, 
in get_backend
    return BACKENDSCACHE[name]
           ~~~~~~~~~~~~~^^^^^^
KeyError: 'blabla'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/social_django/utils.py", line 40, in wrapper
    request.backend = load_backend(request.social_strategy, backend, 
redirect_uri=uri)
                      
~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/<<PKGBUILDDIR>>/social_django/utils.py", line 23, in load_backend
    return strategy.get_backend(name, redirect_uri=redirect_uri)
           ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/social_core/strategy.py", line 201, in 
get_backend
    Backend = self.get_backend_class(name)
  File "/usr/lib/python3/dist-packages/social_core/strategy.py", line 195, in 
get_backend_class
    return get_backend(self.get_backends(), name)
  File "/usr/lib/python3/dist-packages/social_core/backends/utils.py", line 55, 
in get_backend
    raise MissingBackend(name)
social_core.exceptions.MissingBackend: Missing backend "blabla" entry

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/django/core/handlers/exception.py", line 
55, in inner
    response = get_response(request)
  File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 197, 
in _get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "/usr/lib/python3/dist-packages/django/views/decorators/cache.py", line 
62, in _wrapper_view_func
    response = view_func(request, *args, **kwargs)
  File "/<<PKGBUILDDIR>>/social_django/utils.py", line 57, in wrapper
    return func(request, backend, *args, **kwargs)
  File "/<<PKGBUILDDIR>>/social_django/utils.py", line 42, in wrapper
    raise Http404("Backend not found")
django.http.response.Http404: Backend not found

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/django/views/defaults.py", line 63, in 
page_not_found
    template = loader.get_template(template_name)
  File "/usr/lib/python3/dist-packages/django/template/loader.py", line 19, in 
get_template
    raise TemplateDoesNotExist(template_name, chain=chain)
django.template.exceptions.TemplateDoesNotExist: 404.html

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/tests/test_views.py", line 24, in test_begin_view
    response = self.client.get(url)
  File "/usr/lib/python3/dist-packages/django/test/client.py", line 927, in get
    response = super().get(path, data=data, secure=secure, headers=headers, 
**extra)
  File "/usr/lib/python3/dist-packages/django/test/client.py", line 457, in get
    return self.generic(
           ~~~~~~~~~~~~^
        "GET",
        ^^^^^^
    ...<6 lines>...
        },
        ^^
    )
    ^
  File "/usr/lib/python3/dist-packages/django/test/client.py", line 609, in 
generic
    return self.request(**r)
           ~~~~~~~~~~~~^^^^^
  File "/usr/lib/python3/dist-packages/django/test/client.py", line 891, in 
request
    self.check_exception(response)
    ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/django/test/client.py", line 738, in 
check_exception
    raise exc_value
  File "/usr/lib/python3/dist-packages/django/core/handlers/exception.py", line 
165, in get_exception_response
    response = callback(request, exception=exception)
  File "/usr/lib/python3/dist-packages/django/utils/decorators.py", line 134, 
in _wrapper_view
    response = view_func(request, *args, **kwargs)
  File "/usr/lib/python3/dist-packages/django/views/defaults.py", line 78, in 
page_not_found
    body = template.render(Context(context))
  File "/usr/lib/python3/dist-packages/django/template/base.py", line 175, in 
render
    return self._render(context)
           ~~~~~~~~~~~~^^^^^^^^^
  File "/usr/lib/python3/dist-packages/django/test/utils.py", line 111, in 
instrumented_test_render
    template_rendered.send(sender=self, template=self, context=context)
    ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/django/dispatch/dispatcher.py", line 
177, in send
    (receiver, receiver(signal=self, sender=sender, **named))
               ~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/django/test/client.py", line 267, in 
store_rendered_templates
    store["context"].append(copy(context))
                            ~~~~^^^^^^^^^
  File "/usr/lib/python3.14/copy.py", line 82, in copy
    return copier(x)
  File "/usr/lib/python3/dist-packages/django/template/context.py", line 158, 
in __copy__
    duplicate = super().__copy__()
  File "/usr/lib/python3/dist-packages/django/template/context.py", line 39, in 
__copy__
    duplicate.dicts = self.dicts[:]
    ^^^^^^^^^^^^^^^
AttributeError: 'super' object has no attribute 'dicts' and no __dict__ for 
setting new attributes

----------------------------------------------------------------------
Ran 60 tests in 0.842s

FAILED (errors=5)
Destroying test database for alias 'default'...
E: pybuild pybuild:389: test: plugin custom failed with: exit code=1: 
python3.14 ./manage.py test
I: pybuild base:317: python3.13 ./manage.py test
Creating test database for alias 'default'...
Found 60 test(s).
System check identified no issues (0 silenced).
............................................................
----------------------------------------------------------------------
Ran 60 tests in 0.511s

OK
Destroying test database for alias 'default'...
dh_auto_test: error: pybuild --test -i python{version} -p "3.14 3.13" 
--system=custom --test-args="{interpreter} ./manage.py test" returned exit code 
13
make[1]: *** [debian/rules:10: override_dh_auto_test] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:7: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

Reply via email to