Your message dated Wed, 17 Dec 2025 10:51:17 +0000
with message-id <[email protected]>
and subject line Bug#1122185: fixed in python-django 3:4.2.27-2
has caused the Debian Bug report #1122185,
regarding django-modeltranslation: FTBFS: dh_auto_test: error: pybuild --test 
--test-pytest -i python{version} -p "3.14 3.13" returned exit code 13
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1122185: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1122185
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: src:django-modeltranslation
Version: 0.19.18-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-modeltranslation, 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_django-modeltranslation  
* Building wheel...
Successfully built django_modeltranslation-0.19.18-py3-none-any.whl

[... snipped ...]

    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 = <WSGIRequest: POST '/admin/tests/modelwithconstraint/add/'>

    @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 = <WSGIRequest: POST '/admin/tests/modelwithconstraint/add/'>

    @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:

admin_client = <django.test.client.Client object at 0x7f4ab403f070>

    def test_create_duplicate(admin_client: Client):
        """Unique constraint error should be handled by TranslationAdmin."""
        ModelWithConstraint.objects.create(title="1", sub_title="One")
        url = reverse("admin:tests_modelwithconstraint_add")
    
>       response = admin_client.post(
            url,
            {
                "title": "1",
                "sub_title_en": "One",
                "sub_title_de": "Ein",
            },
        )

../../../modeltranslation/tests/test_admin_views.py:14: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/usr/lib/python3/dist-packages/django/test/client.py:948: in post
    response = super().post(
/usr/lib/python3/dist-packages/django/test/client.py:482: in post
    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
=========================== short test summary info ============================
FAILED 
../../../modeltranslation/tests/test_admin_views.py::test_create_duplicate
=================== 1 failed, 158 passed, 1 skipped in 2.23s ===================
E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_django-modeltranslation/build; 
python3.14 -m pytest {dir}/modeltranslation/tests
I: pybuild base:317: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_django-modeltranslation/build; 
python3.13 -m pytest /<<PKGBUILDDIR>>/modeltranslation/tests
============================= test session starts ==============================
platform linux -- Python 3.13.11, pytest-9.0.2, pluggy-1.6.0
django: version: 4.2.26, settings: modeltranslation.tests.settings (from ini)
rootdir: /<<PKGBUILDDIR>>
configfile: pytest.ini
plugins: typeguard-4.4.4, django-4.11.1, sugar-1.1.1
collected 160 items

../../../modeltranslation/tests/test_admin.py .................          [ 10%]
../../../modeltranslation/tests/test_admin_views.py .                    [ 11%]
../../../modeltranslation/tests/test_third_party.py ..                   [ 12%]
../../../modeltranslation/tests/tests.py ............................... [ 31%]
........................................................................ [ 76%]
................................                                         [ 96%]
../../../modeltranslation/tests/test_compat.py s                         [ 97%]
../../../modeltranslation/tests/test_runtime_typing.py ....              [100%]

======================== 159 passed, 1 skipped in 1.45s ========================
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.14 
3.13" returned exit code 13
make: *** [debian/rules:7: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

--- End Message ---
--- Begin Message ---
Source: python-django
Source-Version: 3:4.2.27-2
Done: Colin Watson <[email protected]>

We believe that the bug you reported is fixed in the latest version of
python-django, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Colin Watson <[email protected]> (supplier of updated python-django package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Wed, 17 Dec 2025 10:23:30 +0000
Source: python-django
Architecture: source
Version: 3:4.2.27-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <[email protected]>
Changed-By: Colin Watson <[email protected]>
Closes: 1122185
Changes:
 python-django (3:4.2.27-2) unstable; urgency=medium
 .
   * Team upload.
   * Backport various upstream fixes for newer Python versions (closes:
     #1122185):
     - Fixed tests for test --parallel option on Python 3.14+.
     - Fixed copying BaseContext and its subclasses on Python 3.14+.
     - Fixed OtherModelFormTests.test_prefetch_related_queryset() test on
       Python 3.14+.
     - Adjusted test_strip_tags following Python behavior change for
       incomplete entities.
   * Revert "Mark that Python 3.14 is not supported yet", since it now is.
Checksums-Sha1:
 a21c2a55aaa610649ff3b15b69fc1a97ddecd21c 3067 python-django_4.2.27-2.dsc
 e00852bfb377d083eac0861f9f1346117ffef152 37736 
python-django_4.2.27-2.debian.tar.xz
 3481cf5dc15931eba9d9704e9bcf2a30206e8d10 15645408 
python-django_4.2.27-2.git.tar.xz
 4237d76bd9a07141910ff64f38abc920d160eb8c 17165 
python-django_4.2.27-2_source.buildinfo
Checksums-Sha256:
 18706965fe0f7f51e6a8568d3af296d630ce703cd304d9f2803bf82be0098b9f 3067 
python-django_4.2.27-2.dsc
 3482a518930b228fd33d8d0d18dec7f78616952f384532b01747e81a46a2fdb4 37736 
python-django_4.2.27-2.debian.tar.xz
 7e538403df979f274c3f81b99634c13414424991b050af735427158ab45a7abf 15645408 
python-django_4.2.27-2.git.tar.xz
 029d995d3c8cefdaf6b1c24ef8fd037458a2f0df3f9b53bcc00115ccf3478487 17165 
python-django_4.2.27-2_source.buildinfo
Files:
 5160460df04a1a474d5ea69a80c78093 3067 python optional 
python-django_4.2.27-2.dsc
 70acd45feeb1fbe32bd9257fd59daf31 37736 python optional 
python-django_4.2.27-2.debian.tar.xz
 19cb8939294e68f681567a01ac4080fa 15645408 python optional 
python-django_4.2.27-2.git.tar.xz
 82c594e11fd282c124cd3bbab65998ad 17165 python optional 
python-django_4.2.27-2_source.buildinfo
Git-Tag-Info: tag=6b0d9b9034925ba8947af043528a9c27e6a39be8 
fp=ac0a4ff12611b6fccf01c111393587d97d86500b
Git-Tag-Tagger: Colin Watson <[email protected]>

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEN02M5NuW6cvUwJcqYG0ITkaDwHkFAmlChTAACgkQYG0ITkaD
wHlXpBAAv6Qwzp4/XZpfyyN5HUULtNfEohZuSnd92SaXNmxS9RTCSZo11cs4J1xf
/s29mY8hDlKbCj/44tgqSUclfetJroRfyMCvgvzUMmpKWr/KFvQMtA3MdmW14bf3
02QCfZG8Rp3u7Ij/jApZhwdyCPDxUxey4cdfNRP3mrKcoWxF2CB+TVVrqbEBe+vh
YGFH17BG1JJYe0or2fK6l/VYDbwBEuI5G650iZoJzbLFtoO0dro4znAyCVrpZeh9
ygGVVChO1a7sml91NHiQLYlZ73BL8JjSQ5rGdH1mPb7ph6ilbWeIVWdIlhJxljzs
+RhQyh1zPIkQEuk3x7G4kWrYBqB+L1YEqHgm7SBtllaukiCxJcMpwrpyeZeyCNNT
0ulWieSUIcheXfxlQaJALulzhmu+XPTBWGeb2c0gN2gQFBXx8Y6Fgy8XGR5zzGuB
9usLBTAvDrOSWlAabWmf4eiYwAdzkNlR7tpIF1Anh6Ou2CCJ7UKaxYcSGIHuAESL
BbliV21OMG84gATNhvFbXcc7pGrT7sjwQiKFhlWuKNWUEVm1uMt32ms49D6PKxIg
WXHLtNnXI3ppMSlowrz95BohJLz9yBwBgIeoMfZU2b0u4ocN5LaGioKsIJHaFBk0
XzPl4tNRqLL7aIwNGsCGOjfOY+sd8e7AbCuR+SV7yibWHBqp1Hc=
=eZQ8
-----END PGP SIGNATURE-----

Attachment: pgpYSkU3lH4Jy.pgp
Description: PGP signature


--- End Message ---

Reply via email to