Your message dated Tue, 27 Oct 2026 20:45:15 +0000
with message-id <[email protected]>
and subject line Bug#1126323: fixed in python-django 3:5.2.18-2
has caused the Debian Bug report #1126323,
regarding python-django: flaky autopkgtest: several tests sometimes fail
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.)


-- 
1126323: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1126323
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: python-django
Version: 3:4.2.27-2
Severity: serious
User: [email protected]
Usertags: flaky

Dear maintainer(s),

I looked at the results of the autopkgtest of your package because it was blocking migration of dpkg. I noticed that it regularly fails.

Because the unstable-to-testing migration software now blocks on
regressions in testing, flaky tests, i.e. tests that flip between
passing and failing without changes to the list of installed packages,
are causing people unrelated to your package to spend time on these
tests.

Don't hesitate to reach out if you need help and some more information
from our infrastructure.

Paul


https://ci.debian.net/packages/p/python-django/testing/i386/67933798/

670s FAIL: test_crafted_xml_performance (serializers.test_xml.XmlSerializerTestCase.test_crafted_xml_performance) [varying depth, varying length]
670s The time to process invalid inputs is not quadratic.
670s ----------------------------------------------------------------------
670s Traceback (most recent call last):
670s File "/usr/lib/python3.13/unittest/case.py", line 58, in testPartExecutor
670s     yield
670s   File "/usr/lib/python3.13/unittest/case.py", line 556, in subTest
670s     yield
670s File "/tmp/autopkgtest-lxc.1d5e7vra/downtmp/autopkgtest_tmp/tests/serializers/test_xml.py", line 137, in assertFactor
670s     self.assertLessEqual(sum(factors) / len(factors), factor)
670s     ^^^^^^^
670s File "/usr/lib/python3.13/unittest/case.py", line 1285, in assertLessEqual
670s     self.fail(self._formatMessage(msg, standardMsg))
670s     ^^^^^^^^^^^
670s   File "/usr/lib/python3.13/unittest/case.py", line 732, in fail
670s     raise self.failureException(msg)
670s     ^^^^^^^^^^^^^^^
670s AssertionError: 2.046626556487961 not less than or equal to 2


https://ci.debian.net/packages/p/python-django/testing/i386/67768234/

641s FAIL: test_crafted_xml_performance (serializers.test_xml.XmlSerializerTestCase.test_crafted_xml_performance) [varying depth, varying length]
641s The time to process invalid inputs is not quadratic.
641s ----------------------------------------------------------------------
641s Traceback (most recent call last):
641s File "/usr/lib/python3.13/unittest/case.py", line 58, in testPartExecutor
641s     yield
641s   File "/usr/lib/python3.13/unittest/case.py", line 556, in subTest
641s     yield
641s File "/tmp/autopkgtest-lxc.r7zb5maq/downtmp/autopkgtest_tmp/tests/serializers/test_xml.py", line 137, in assertFactor
641s     self.assertLessEqual(sum(factors) / len(factors), factor)
641s     ^^^^^^^
641s File "/usr/lib/python3.13/unittest/case.py", line 1285, in assertLessEqual
641s     self.fail(self._formatMessage(msg, standardMsg))
641s     ^^^^^^^^^^^
641s   File "/usr/lib/python3.13/unittest/case.py", line 732, in fail
641s     raise self.failureException(msg)
641s     ^^^^^^^^^^^^^^^
641s AssertionError: 2.3748599472916405 not less than or equal to 2


https://ci.debian.net/packages/p/python-django/testing/amd64/67223491/

102s FAIL: test_strip_tags (utils_tests.test_html.TestUtilsHtml.test_strip_tags) [<object object at 0x7fa9619eb4d0>] (value='<script>alert()</script>&h', output='alert()h')
102s ----------------------------------------------------------------------
102s Traceback (most recent call last):
102s File "/usr/lib/python3.13/unittest/case.py", line 58, in testPartExecutor
102s     yield
102s   File "/usr/lib/python3.13/unittest/case.py", line 556, in subTest
102s     yield
102s File "/tmp/autopkgtest-lxc.dqt79vvc/downtmp/autopkgtest_tmp/tests/utils_tests/test_html.py", line 149, in test_strip_tags
102s     self.check_output(strip_tags, value, output)
102s     ^^^^^^^
102s File "/tmp/autopkgtest-lxc.dqt79vvc/downtmp/autopkgtest_tmp/tests/utils_tests/test_html.py", line 33, in check_output
102s     self.assertEqual(function(value), output)
102s     ^^^^^^^^^^^^^^^
102s   File "/usr/lib/python3.13/unittest/case.py", line 907, in assertEqual
102s     assertion_func(first, second, msg=msg)
102s     ^^^^^^^^^^^^^^^
102s File "/usr/lib/python3.13/unittest/case.py", line 1273, in assertMultiLineEqual
102s     self.fail(self._formatMessage(msg, standardMsg))
102s     ^^^^^^^^^^^
102s   File "/usr/lib/python3.13/unittest/case.py", line 732, in fail
102s     raise self.failureException(msg)
102s     ^^^^^^^^^^^^^^^
102s AssertionError: 'alert()&h;' != 'alert()h'
102s - alert()&h;
102s ?        - -
102s + alert()h

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature


--- End Message ---
--- Begin Message ---
Source: python-django
Source-Version: 3:5.2.18-2
Done: Chris Lamb <[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.
Chris Lamb <[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: Tue, 27 Oct 2026 12:32:26 -0700
Source: python-django
Built-For-Profiles: nocheck
Architecture: source
Version: 3:5.2.18-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <[email protected]>
Changed-By: Chris Lamb <[email protected]>
Closes: 1126323
Changes:
 python-django (3:5.2.18-2) unstable; urgency=medium
 .
   * Adjust the scaling factor in the test for CVE-2025-64460 added in
     3:4.2.27-0+deb13u1 as it causes flakiness on loaded machines, and in
     particular, on the runners for autopkgtests. (Closes: #1126323)
Checksums-Sha1:
 06e1f6d512e8b48844269730c690103d6a77d0ec 2790 python-django_5.2.18-2.dsc
 4bffbac1bb6e554d937c1066de6b4ab8716ce6d6 44120 
python-django_5.2.18-2.debian.tar.xz
 d018e79d411b04f89d383e7b1b8e2061ef8e8fc6 7780 
python-django_5.2.18-2_amd64.buildinfo
Checksums-Sha256:
 1b4ceb7724d5947bd8c62f31f778cb44ab9f92edd51f8021986bea2df890163e 2790 
python-django_5.2.18-2.dsc
 947ee0440f7b9c7a96c085d0d62f08f7c8a1c06552b712689d7f7da6c685abb0 44120 
python-django_5.2.18-2.debian.tar.xz
 71ae9b986da433ca7193d69d628c5bf6d2a3da1636bfa2d166b3b2eb8328769e 7780 
python-django_5.2.18-2_amd64.buildinfo
Files:
 111e89480b19dfe17f593b35a3ad9307 2790 python optional 
python-django_5.2.18-2.dsc
 d0c8ad34f6799cd346100ebf6c381334 44120 python optional 
python-django_5.2.18-2.debian.tar.xz
 cfcafb12ab82a3d734073a1bcedb4fb3 7780 python optional 
python-django_5.2.18-2_amd64.buildinfo

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

iQIzBAEBCgAdFiEEwv5L0nHBObhsUz5GHpU+J9QxHlgFAmrhAQ8ACgkQHpU+J9Qx
HljpDA//fjDM19H/eAGCy+lmE1O/O4EfsPLKCvNVglpFXkbKNtkWhDZcyZmI34og
IMPZEBhrj8YyDusOWNCheRWWDE+/hyuCwO4yU2HOPKZiUodv46nHs+AD/1MJLSn8
vVa7aL1iUusBCO3HwtT5dCWH+78kNjF2Ti3vkxkFdIc1mxUt2Ci+6hrfzcFR754d
O+ZIX+jvb9tQK9y1eL22lTtIAKJ4xPBpE2n3gLkCvNlO6L32VC7bzMRjUtNkHlVW
LetZ9oyh2znsOS0//m3IcCRuabOw/81bRSCCOHdxhY+GPt24wtTmGjxNdJqhPB36
feTc4/0OJEE8trfcAPWPxiXk1H/gwjRgarwt4SwwW3jaHH246Tm7GlIRrPd/wJVy
fOlADD5TsrDlW/hHHlRIDDOL5JqafTCvBLT2b/jkp0Aids3elYxgze4ERhMVALpg
KY41dI0Vfp9obMKCphjHOLiEQsL7x2yTxrDiu/uI0Y0ainQdJ8NWxA0DJBVKYXEo
OGryonwwkBXcRNOAUQQi7rfLjFRbaY+QEYw4rQqJGVDTYcsMBS0oZTit944X9E8+
rszUUQgLsw5oOeINMz7kycKi6BhfSEUAFCx6fj/gVwh5lxnWhl0ic6FYXoV0c26W
6Ofuk/dVrlU9RvLhh4taQ72gM5g08s1+LYuiZqhmkQpW29oGcko=
=0/Hk
-----END PGP SIGNATURE-----

Attachment: pgpm_AcNBYNNI.pgp
Description: PGP signature


--- End Message ---

Reply via email to