Fix the test suite support for Expat >= 2.4.5
Resolves: rhbz#2056970
This commit is contained in:
parent
ca58751035
commit
f77352bc0e
2 changed files with 126 additions and 1 deletions
|
|
@ -17,7 +17,7 @@ URL: https://www.python.org/
|
|||
#global prerel ...
|
||||
%global upstream_version %{general_version}%{?prerel}
|
||||
Version: %{general_version}%{?prerel:~%{prerel}}
|
||||
Release: 7%{?dist}
|
||||
Release: 8%{?dist}
|
||||
# Python is Python
|
||||
# pip MIT is and bundles:
|
||||
# appdirs: MIT
|
||||
|
|
@ -482,6 +482,27 @@ Patch358: 00358-align-allocations-and-pygc_head-to-16-bytes-on-64-bit-platforms.
|
|||
# See: https://bugzilla.redhat.com/show_bug.cgi?id=2038843
|
||||
Patch375: 00375-fix-test_distance-to-enable-build-on-i686.patch
|
||||
|
||||
# 00378 # b0c3e36a85f7eec22d64222176ea5139c0bc097d
|
||||
# Support expat 2.4.5
|
||||
#
|
||||
# Curly brackets were never allowed in namespace URIs
|
||||
# according to RFC 3986, and so-called namespace-validating
|
||||
# XML parsers have the right to reject them a invalid URIs.
|
||||
#
|
||||
# libexpat >=2.4.5 has become strcter in that regard due to
|
||||
# related security issues; with ET.XML instantiating a
|
||||
# namespace-aware parser under the hood, this test has no
|
||||
# future in CPython.
|
||||
#
|
||||
# References:
|
||||
# - https://datatracker.ietf.org/doc/html/rfc3968
|
||||
# - https://www.w3.org/TR/xml-names/
|
||||
#
|
||||
# Also, test_minidom.py: Support Expat >=2.4.5
|
||||
#
|
||||
# Upstream: https://bugs.python.org/issue46811
|
||||
Patch378: 00378-support-expat-2-4-5.patch
|
||||
|
||||
# (New patches go here ^^^)
|
||||
#
|
||||
# When adding new patches to "python" and "python3" in Fedora, EL, etc.,
|
||||
|
|
@ -1734,6 +1755,10 @@ CheckPython optimized
|
|||
# ======================================================
|
||||
|
||||
%changelog
|
||||
* Thu Mar 03 2022 Charalampos Stratakis <cstratak@redhat.com> - 3.6.15-8
|
||||
- Fix the test suite support for Expat >= 2.4.5
|
||||
Resolves: rhbz#2056970
|
||||
|
||||
* Wed Feb 16 2022 Lumír Balhar <lbalhar@redhat.com> - 3.6.15-7
|
||||
- Switch from system wheels to bundled ones
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue