[Django] #36515: test_parsing_errors() fails with Fedora's Python 3.14 pre-release

4 views
Skip to first unread message

Django

unread,
Jul 21, 2025, 5:45:23 PMJul 21
to django-...@googlegroups.com
#36515: test_parsing_errors() fails with Fedora's Python 3.14 pre-release
-----------------------------+-----------------------------------------
Reporter: Michel Lind | Type: Uncategorized
Status: new | Component: Utilities
Version: 5.2 | Severity: Normal
Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-----------------------------+-----------------------------------------
Hi,

I'm a Fedora packager that co-maintains our Django packages. When building
5.2.4 in Rawhide (the upcoming Fedora 43 release) that currently has
Python 3.14b4, in addition to strip_tags() that our openSUSE colleague has
reported (https://code.djangoproject.com/ticket/36499),
`test_parsing_errors` also fails:


{{{
======================================================================
FAIL: test_parsing_errors
(test_utils.tests.HTMLEqualTests.test_parsing_errors)
----------------------------------------------------------------------
AssertionError: &lt; div&gt; != <div>
- &lt; div&gt;
+ <div>
}}}

I'm currently conditionally disabling the test when building with Python
>= 3.14, but hopefully this can be fixed.
--
Ticket URL: <https://code.djangoproject.com/ticket/36515>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Jul 22, 2025, 4:46:24 AMJul 22
to django-...@googlegroups.com
#36515: test_parsing_errors() fails with Fedora's Python 3.14 pre-release
-------------------------------+--------------------------------------
Reporter: Michel Lind | Owner: (none)
Type: Uncategorized | Status: closed
Component: Utilities | Version: 5.2
Severity: Normal | Resolution: duplicate
Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+--------------------------------------
Changes (by Sarah Boyce):

* resolution: => duplicate
* status: new => closed

Comment:

Thank you for the ticket!
We are working on this (see https://github.com/django/django/pull/19639)
and are awaiting for further Python releases (and for our ci to be
updated)
I am marking as a duplicate of #36499 as we will also resolve this test
failure (see
https://github.com/django/django/pull/19639#issuecomment-3073282225)
--
Ticket URL: <https://code.djangoproject.com/ticket/36515#comment:1>
Reply all
Reply to author
Forward
0 new messages