Control: reassign -1 python3-django 3:4.2.26-1
Control: affects -1 src:python-crispy-bootstrap5
Control: fixed -1 3:4.2.27-2
Control: close -1
On Tue, Dec 16, 2025 at 07:45:50PM +0000, Santiago Vila wrote:
/usr/lib/python3/dist-packages/django/template/context.py:158: in __copy__
duplicate = super().__copy__()
^^^^^^^^^^^^^^^^^^
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = [{'True': True, 'False': False, 'None': None}, {'form': <SampleForm
bound=False, valid=Unknown,
fields=(is_company;email;password1;password2;first_name;last_name;datetime_field)>,
'helper': None}]
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
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]]