Package: src:django-classy-tags
Version: 4.1.0-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:django-classy-tags, 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
dh_autoreconf_clean -O--buildsystem=pybuild
debian/rules override_dh_clean
make[1]: Entering directory '/<>'
rm -rf docs/_build
dh_clean
make[1]: Leaving directory '/<>'
debian/rules binary
dh binary --with python3,sphinxdoc --buildsystem=pybuild
dh_update_autotools_config -O--buildsystem=pybuild
dh_autoreconf -O--buildsystem=pybuild
dh_auto_configure -O--buildsystem=pybuild
debian/rules override_dh_auto_build
[... snipped ...]
copying assets: done
writing output... [ 12%] arguments
writing output... [ 25%] changes
writing output... [ 38%] contribute
writing output... [ 50%] extend
writing output... [ 62%] index
writing output... [ 75%] installation
writing output... [ 88%] reference
writing output... [100%] usage
generating indices... genindex py-modindex done
writing additional pages... search done
dumping search index in English (code: en)... done
dumping object inventory... done
build succeeded, 2 warnings.
The HTML pages are in docs/_build/html.
make[1]: Leaving directory '/<>'
dh_auto_test -O--buildsystem=pybuild
I: pybuild base:317: cd
/<>/.pybuild/cpython3_3.14_django-classy-tags/build; python3.14 -m
pytest --ds=tests.settings
= test session starts ==
platform linux -- Python 3.14.2, pytest-9.0.2, pluggy-1.6.0
django: version: 4.2.26, settings: tests.settings (from option)
rootdir: /<>
plugins: typeguard-4.4.4, django-4.11.1
collected 73 items
tests/test_core.py .FFF. [ 72%]
[100%]
=== FAILURES ===
__ ClassytagsTests.test_inclusion_tag __
self =
def test_inclusion_tag(self):
class Inc(helpers.InclusionTag):
template = 'test.html'
options = core.Options(
arguments.Argument('var'),
)
def get_context(self, context, var):
return {'var': var}
templates = [
('{% inc var %}', 'inc', {'var': 'inc'},),
]
> self._tag_tester(Inc, templates)
tests/test_core.py:717:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tests/test_core.py:113: in _tag_tester
s = 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:112: in
instrumented_test_render
return self.nodelist.render(context)
^
/usr/lib/python3/dist-packages/django/template/base.py:1005: in render
return SafeString("".join([node.render_annotated(context) for node in
self]))
^^
/usr/lib/python3/dist-packages/django/template/base.py:966: in render_annotated
return self.render(context)
classytags/core.py:142: in render
return str(self.render_tag(context, **kwargs))
^^
classytags/helpers.py:87: in render_tag
new_context = context.new(
/usr/lib/python3/dist-packages/django/template/context.py:110: in new
new_context = copy(self)
^^
/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}, {'var': 'inc'}]
def __copy__(self):
duplicate = copy(super())
> duplicate.dicts = self.dicts[:]
^^