Package: src:python-django-debreach
Version: 2.1.0-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:python-django-debreach, 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
   dh_auto_clean -O--buildsystem=pybuild
   dh_autoreconf_clean -O--buildsystem=pybuild
   dh_clean -O--buildsystem=pybuild
 debian/rules binary
make: pyversions: No such file or directory
py3versions: no X-Python3-Version in control file, using supported versions
dh binary --buildsystem=pybuild --with python3,sphinxdoc
   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_django-debreach  
* Building wheel...
/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.
        
********************************************************************************

!!
  self._finalize_license_expression()
running bdist_wheel
running build
running build_py
creating build/lib/debreach
copying debreach/decorators.py -> build/lib/debreach
copying debreach/middleware.py -> build/lib/debreach
copying debreach/apps.py -> build/lib/debreach
copying debreach/tests.py -> build/lib/debreach
copying debreach/__init__.py -> build/lib/debreach
running egg_info
creating django_debreach.egg-info
writing django_debreach.egg-info/PKG-INFO
writing dependency_links to django_debreach.egg-info/dependency_links.txt
writing top-level names to django_debreach.egg-info/top_level.txt
writing manifest file 'django_debreach.egg-info/SOURCES.txt'
reading manifest file 'django_debreach.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching '*.html' under directory 'debreach'
warning: no files found matching '*.png' under directory 'debreach'
warning: no files found matching '*.gif' under directory 'debreach'
warning: no files found matching '*js' under directory 'debreach'
warning: no files found matching '*jpg' under directory 'debreach'
warning: no files found matching '*jpeg' under directory 'debreach'
warning: no files found matching '*svg' under directory 'debreach'
adding license file 'LICENSE'
adding license file 'AUTHORS.rst'
writing manifest file 'django_debreach.egg-info/SOURCES.txt'
installing to build/bdist.linux-x86_64/wheel
running install
running install_lib
creating build/bdist.linux-x86_64/wheel
creating build/bdist.linux-x86_64/wheel/debreach
copying build/lib/debreach/decorators.py -> 
build/bdist.linux-x86_64/wheel/./debreach
copying build/lib/debreach/middleware.py -> 
build/bdist.linux-x86_64/wheel/./debreach
copying build/lib/debreach/apps.py -> build/bdist.linux-x86_64/wheel/./debreach
copying build/lib/debreach/tests.py -> build/bdist.linux-x86_64/wheel/./debreach
copying build/lib/debreach/__init__.py -> 
build/bdist.linux-x86_64/wheel/./debreach
running install_egg_info
Copying django_debreach.egg-info to 
build/bdist.linux-x86_64/wheel/./django_debreach-2.1.0.egg-info
running install_scripts
creating build/bdist.linux-x86_64/wheel/django_debreach-2.1.0.dist-info/WHEEL
creating 
'/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_django-debreach/.tmp-806zchex/django_debreach-2.1.0-py3-none-any.whl'
 and adding 'build/bdist.linux-x86_64/wheel' to it
adding 'debreach/__init__.py'
adding 'debreach/apps.py'
adding 'debreach/decorators.py'
adding 'debreach/middleware.py'
adding 'debreach/tests.py'
adding 'django_debreach-2.1.0.dist-info/licenses/AUTHORS.rst'
adding 'django_debreach-2.1.0.dist-info/licenses/LICENSE'
adding 'django_debreach-2.1.0.dist-info/METADATA'
adding 'django_debreach-2.1.0.dist-info/WHEEL'
adding 'django_debreach-2.1.0.dist-info/top_level.txt'
adding 'django_debreach-2.1.0.dist-info/RECORD'
removing build/bdist.linux-x86_64/wheel
Successfully built django_debreach-2.1.0-py3-none-any.whl
I: pybuild plugin_pyproject:155: Unpacking wheel built for python3.14 with 
"installer" module
I: pybuild plugin_pyproject:131: Building wheel for python3.13 with "build" 
module
I: pybuild base:317: python3.13 -m build --skip-dependency-check --no-isolation 
--wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_django-debreach  
* Building wheel...
/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.
        
********************************************************************************

!!
  self._finalize_license_expression()
running bdist_wheel
running build
running build_py
running egg_info
writing django_debreach.egg-info/PKG-INFO
writing dependency_links to django_debreach.egg-info/dependency_links.txt
writing top-level names to django_debreach.egg-info/top_level.txt
reading manifest file 'django_debreach.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching '*.html' under directory 'debreach'
warning: no files found matching '*.png' under directory 'debreach'
warning: no files found matching '*.gif' under directory 'debreach'
warning: no files found matching '*js' under directory 'debreach'
warning: no files found matching '*jpg' under directory 'debreach'
warning: no files found matching '*jpeg' under directory 'debreach'
warning: no files found matching '*svg' under directory 'debreach'
adding license file 'LICENSE'
adding license file 'AUTHORS.rst'
writing manifest file 'django_debreach.egg-info/SOURCES.txt'
installing to build/bdist.linux-x86_64/wheel
running install
running install_lib
creating build/bdist.linux-x86_64/wheel
creating build/bdist.linux-x86_64/wheel/debreach
copying build/lib/debreach/decorators.py -> 
build/bdist.linux-x86_64/wheel/./debreach
copying build/lib/debreach/middleware.py -> 
build/bdist.linux-x86_64/wheel/./debreach
copying build/lib/debreach/apps.py -> build/bdist.linux-x86_64/wheel/./debreach
copying build/lib/debreach/tests.py -> build/bdist.linux-x86_64/wheel/./debreach
copying build/lib/debreach/__init__.py -> 
build/bdist.linux-x86_64/wheel/./debreach
running install_egg_info
Copying django_debreach.egg-info to 
build/bdist.linux-x86_64/wheel/./django_debreach-2.1.0.egg-info
running install_scripts
creating build/bdist.linux-x86_64/wheel/django_debreach-2.1.0.dist-info/WHEEL
creating 
'/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_django-debreach/.tmp-0guxtn0d/django_debreach-2.1.0-py3-none-any.whl'
 and adding 'build/bdist.linux-x86_64/wheel' to it
adding 'debreach/__init__.py'
adding 'debreach/apps.py'
adding 'debreach/decorators.py'
adding 'debreach/middleware.py'
adding 'debreach/tests.py'
adding 'django_debreach-2.1.0.dist-info/licenses/AUTHORS.rst'
adding 'django_debreach-2.1.0.dist-info/licenses/LICENSE'
adding 'django_debreach-2.1.0.dist-info/METADATA'
adding 'django_debreach-2.1.0.dist-info/WHEEL'
adding 'django_debreach-2.1.0.dist-info/top_level.txt'
adding 'django_debreach-2.1.0.dist-info/RECORD'
removing build/bdist.linux-x86_64/wheel
Successfully built django_debreach-2.1.0-py3-none-any.whl
I: pybuild plugin_pyproject:155: Unpacking wheel built for python3.13 with 
"installer" module
   debian/rules override_dh_auto_test
make[1]: Entering directory '/<<PKGBUILDDIR>>'
make[1]: pyversions: No such file or directory
py3versions: no X-Python3-Version in control file, using supported versions
set -e ; for pyvers in 3.14 3.13; do \
        python$pyvers runtests.py ; \
done
Creating test database for alias 'default' 
('file:memorydb_default?mode=memory&cache=shared')...
Found 9 test(s).
Operations to perform:
  Synchronize unmigrated apps: debreach, staticfiles
  Apply all migrations: auth, contenttypes, sessions, sites
Synchronizing apps without migrations:
  Creating tables...
    Running deferred SQL...
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
  Applying sites.0001_initial... OK
  Applying sites.0002_alter_domain_unique... OK
System check identified no issues (0 silenced).
test_adds_comment (debreach.tests.IntegrationTests.test_adds_comment) ... ERROR
test_append_random_comment 
(debreach.tests.TestDecorators.test_append_random_comment) ... ok
test_random_comment_exempt 
(debreach.tests.TestDecorators.test_random_comment_exempt) ... ok
test_empty_response_body_ignored 
(debreach.tests.TestRandomCommentMiddleware.test_empty_response_body_ignored) 
... ok
test_exemption (debreach.tests.TestRandomCommentMiddleware.test_exemption) ... 
ok
test_html_content_type 
(debreach.tests.TestRandomCommentMiddleware.test_html_content_type) ... ok
test_missing_content_type 
(debreach.tests.TestRandomCommentMiddleware.test_missing_content_type) ... ok
test_noop_on_wrong_content_type 
(debreach.tests.TestRandomCommentMiddleware.test_noop_on_wrong_content_type) 
... ok
test_unicode_characters 
(debreach.tests.TestRandomCommentMiddleware.test_unicode_characters) ... ok

======================================================================
ERROR: test_adds_comment (debreach.tests.IntegrationTests.test_adds_comment)
----------------------------------------------------------------------
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 220, 
in _get_response
    response = response.render()
  File "/usr/lib/python3/dist-packages/django/template/response.py", line 114, 
in render
    self.content = self.rendered_content
                   ^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/django/template/response.py", line 92, 
in rendered_content
    return template.render(context, self._request)
           ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/django/template/backends/django.py", 
line 61, in render
    return self.template.render(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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/debreach/tests.py", line 130, in test_adds_comment
    resp = self.client.get(reverse('home'))
  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 
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 9 tests in 0.014s

FAILED (errors=1)
Destroying test database for alias 'default' 
('file:memorydb_default?mode=memory&cache=shared')...
make[1]: *** [debian/rules:19: override_dh_auto_test] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:9: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

Reply via email to