Package: src:python-django-contrib-comments
Version: 2.2.0-2
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:python-django-contrib-comments, so that this 
is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean --with python3,sphinxdoc --buildsystem=pybuild
   dh_auto_clean -O--buildsystem=pybuild
I: pybuild base:317: python3.14 setup.py clean 
/usr/lib/python3/dist-packages/setuptools/_distutils/dist.py:289: UserWarning: 
Unknown distribution option: 'test_suite'
  warnings.warn(msg)
/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:

        License :: OSI Approved :: BSD License

        See 
https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license 
for details.

[... snipped ...]

  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 
144, in response_for_exception
    log_response(
    ~~~~~~~~~~~~^
        "%s: %s",
        ^^^^^^^^^
    ...<4 lines>...
        exception=exc,
        ^^^^^^^^^^^^^^
    )
    ^
  File "/usr/lib/python3/dist-packages/django/utils/log.py", line 246, in 
log_response
    getattr(logger, level)(
    ~~~~~~~~~~~~~~~~~~~~~~^
        message,
        ^^^^^^^^
    ...<5 lines>...
        exc_info=exception,
        ^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/usr/lib/python3.14/logging/__init__.py", line 1549, in error
    self._log(ERROR, msg, args, **kwargs)
    ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.14/logging/__init__.py", line 1665, in _log
    self.handle(record)
    ~~~~~~~~~~~^^^^^^^^
  File "/usr/lib/python3.14/logging/__init__.py", line 1681, in handle
    self.callHandlers(record)
    ~~~~~~~~~~~~~~~~~^^^^^^^^
  File "/usr/lib/python3.14/logging/__init__.py", line 1737, in callHandlers
    hdlr.handle(record)
    ~~~~~~~~~~~^^^^^^^^
  File "/usr/lib/python3.14/logging/__init__.py", line 1027, in handle
    self.emit(record)
    ~~~~~~~~~^^^^^^^^
  File "/usr/lib/python3/dist-packages/django/utils/log.py", line 125, in emit
    reporter.get_traceback_text(),
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
  File "/usr/lib/python3/dist-packages/django/views/debug.py", line 418, in 
get_traceback_text
    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 
144, in response_for_exception
    log_response(
    ~~~~~~~~~~~~^
        "%s: %s",
        ^^^^^^^^^
    ...<4 lines>...
        exception=exc,
        ^^^^^^^^^^^^^^
    )
    ^
  File "/usr/lib/python3/dist-packages/django/utils/log.py", line 246, in 
log_response
    getattr(logger, level)(
    ~~~~~~~~~~~~~~~~~~~~~~^
        message,
        ^^^^^^^^
    ...<5 lines>...
        exc_info=exception,
        ^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/usr/lib/python3.14/logging/__init__.py", line 1549, in error
    self._log(ERROR, msg, args, **kwargs)
    ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.14/logging/__init__.py", line 1665, in _log
    self.handle(record)
    ~~~~~~~~~~~^^^^^^^^
  File "/usr/lib/python3.14/logging/__init__.py", line 1681, in handle
    self.callHandlers(record)
    ~~~~~~~~~~~~~~~~~^^^^^^^^
  File "/usr/lib/python3.14/logging/__init__.py", line 1737, in callHandlers
    hdlr.handle(record)
    ~~~~~~~~~~~^^^^^^^^
  File "/usr/lib/python3.14/logging/__init__.py", line 1027, in handle
    self.emit(record)
    ~~~~~~~~~^^^^^^^^
  File "/usr/lib/python3/dist-packages/django/utils/log.py", line 125, in emit
    reporter.get_traceback_text(),
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
  File "/usr/lib/python3/dist-packages/django/views/debug.py", line 418, in 
get_traceback_text
    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 
"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_django-contrib-comments/build/tests/testapp/tests/test_comment_utils_moderators.py",
 line 78, in testEmailNotification
    self.createSomeComments()
    ~~~~~~~~~~~~~~~~~~~~~~~^^
  File 
"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_django-contrib-comments/build/tests/testapp/tests/test_comment_utils_moderators.py",
 line 50, in createSomeComments
    self.client.post("/post/", data, REMOTE_ADDR="1.2.3.4")
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/django/test/client.py", line 948, in post
    response = super().post(
        path,
    ...<4 lines>...
        **extra,
    )
  File "/usr/lib/python3/dist-packages/django/test/client.py", line 482, in post
    return self.generic(
           ~~~~~~~~~~~~^
        "POST",
        ^^^^^^^
    ...<5 lines>...
        **extra,
        ^^^^^^^^
    )
    ^
  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 
144, in response_for_exception
    log_response(
    ~~~~~~~~~~~~^
        "%s: %s",
        ^^^^^^^^^
    ...<4 lines>...
        exception=exc,
        ^^^^^^^^^^^^^^
    )
    ^
  File "/usr/lib/python3/dist-packages/django/utils/log.py", line 246, in 
log_response
    getattr(logger, level)(
    ~~~~~~~~~~~~~~~~~~~~~~^
        message,
        ^^^^^^^^
    ...<5 lines>...
        exc_info=exception,
        ^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/usr/lib/python3.14/logging/__init__.py", line 1549, in error
    self._log(ERROR, msg, args, **kwargs)
    ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.14/logging/__init__.py", line 1665, in _log
    self.handle(record)
    ~~~~~~~~~~~^^^^^^^^
  File "/usr/lib/python3.14/logging/__init__.py", line 1681, in handle
    self.callHandlers(record)
    ~~~~~~~~~~~~~~~~~^^^^^^^^
  File "/usr/lib/python3.14/logging/__init__.py", line 1737, in callHandlers
    hdlr.handle(record)
    ~~~~~~~~~~~^^^^^^^^
  File "/usr/lib/python3.14/logging/__init__.py", line 1027, in handle
    self.emit(record)
    ~~~~~~~~~^^^^^^^^
  File "/usr/lib/python3/dist-packages/django/utils/log.py", line 125, in emit
    reporter.get_traceback_text(),
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
  File "/usr/lib/python3/dist-packages/django/views/debug.py", line 418, in 
get_traceback_text
    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

----------------------------------------------------------------------
Ran 26 tests in 0.121s

FAILED (errors=1)
Destroying test database for alias 'default'...
E: pybuild pybuild:389: test: plugin custom failed with: exit code=1: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_django-contrib-comments/build; 
python3.14 tests/runtests.py
I: pybuild pybuild:308: cp -r /<<PKGBUILDDIR>>/tests 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_django-contrib-comments/build
I: pybuild base:317: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_django-contrib-comments/build; 
python3.13 tests/runtests.py
Creating test database for alias 'default'...
Found 115 test(s).
System check identified no issues (0 silenced).
......................................Bad Request: /post/
.............................................................................
----------------------------------------------------------------------
Ran 115 tests in 0.510s

OK
Destroying test database for alias 'default'...
I: pybuild pybuild:334: rm -rf 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_django-contrib-comments/build/tests
dh_auto_test: error: pybuild --test -i python{version} -p "3.14 3.13" 
--system=custom --test-args="cd {build_dir}; {interpreter} tests/runtests.py" 
returned exit code 13
make[1]: *** [debian/rules:27: override_dh_auto_test] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:11: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

Reply via email to