Downstream patch: Skip tests not working with older expat version

This will ensure the tests run in Fedoras and EPEL 10, but are skipped
for EPEL 9.
This commit is contained in:
Karolina Surma 2025-06-25 11:23:45 +02:00
commit 48ee6e9c72
2 changed files with 82 additions and 1 deletions

View file

@ -17,7 +17,7 @@ URL: https://www.python.org/
%global prerel b3
%global upstream_version %{general_version}%{?prerel}
Version: %{general_version}%{?prerel:~%{prerel}}
Release: 2%{?dist}
Release: 3%{?dist}
License: Python-2.0.1
@ -379,6 +379,15 @@ Patch461: 00461-downstream-only-install-wheel-in-test-venvs-when-setuptools-71.p
# hardware protections can be enabled without losing Perf unwinding.
Patch464: 00464-enable-pac-and-bti-protections-for-aarch64.patch
# 00466 # e10760fb955ee33d2917f8a57bb4e24d71e5341c
# Downstream only: Skip tests not working with older expat version
#
# We want to run these tests in Fedora and EPEL 10, but not in EPEL 9,
# which has too old version of expat. We set the upper bound version
# in the conditionalized skip to a release available in CentOS Stream 10,
# which is tested as working.
Patch466: 00466-downstream-only-skip-tests-not-working-with-older-expat-version.patch
# (New patches go here ^^^)
#
# When adding new patches to "python" and "python3" in Fedora, EL, etc.,
@ -1717,6 +1726,9 @@ CheckPython freethreading
# ======================================================
%changelog
* Wed Jun 25 2025 Karolina Surma <ksurma@redhat.com> - 3.14.0~b3-3
- Conditionally skip tests not working with the older expat version
* Wed Jun 18 2025 Charalampos Stratakis <cstratak@redhat.com> - 3.14.0~b3-2
- Enable PAC and BTI hardware protections for aarch64