Rebuilt for Python 3.14

- Fix test failures
 - Fixes: rhbz#2335909
This commit is contained in:
Miro Hrončok 2025-06-16 11:01:07 +02:00
commit b0472d2883
2 changed files with 71 additions and 2 deletions

View file

@ -1,5 +1,3 @@
%global _without_tests 1
%global _without_man 1
# The original RHEL N+1 content set is defined by (build)dependencies
# of the packages in Fedora ELN. Hence we disable tests here
# to prevent pulling many unwanted packages in.
@ -102,6 +100,10 @@ Patch: dummy-certifi.patch
# this warning is juts moot. Also, the warning breaks CPython test suite.
Patch: nowarn-pip._internal.main.patch
# Adjust path_to_url et al. to produce the same results on Python 3.14+
# https://github.com/pypa/pip/pull/13423
Patch: python3.14-file-urls.patch
# Remove -s from Python shebang - ensure that packages installed with pip
# to user locations are seen by pip itself
%undefine _py3_shebang_s