Control: reassign -1 python3-django 3:4.2.26-1
Control: affects -1 src:python-django-contrib-comments
Control: fixed -1 3:4.2.27-2
Control: close -1

On Tue, Dec 16, 2025 at 08:28:43PM +0000, Santiago Vila wrote:
 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

Fixed by python-django 3:4.2.27-2:

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.

 -- Colin Watson <[email protected]>  Wed, 17 Dec 2025 10:23:30 +0000

--
Colin Watson (he/him)                              [[email protected]]

Reply via email to