Opened 6 weeks ago

Closed 6 weeks ago

#36515 closed Uncategorized (duplicate)

test_parsing_errors() fails with Fedora's Python 3.14 pre-release

Reported by: Michel Lind Owned by:
Component: Utilities Version: 5.2
Severity: Normal Keywords:
Cc: Michel Lind Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

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.

Change History (1)

comment:1 by Sarah Boyce, 6 weeks ago

Resolution: duplicate
Status: newclosed

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)

Note: See TracTickets for help on using tickets.
Back to Top