Switch install scheme backend to sysconfig on Python 3.11+
This commit is contained in:
parent
ef794e86a2
commit
7826d2e8db
2 changed files with 210 additions and 1 deletions
|
|
@ -22,7 +22,7 @@
|
|||
|
||||
Name: python-%{srcname}
|
||||
Version: %{base_version}%{?prerel:~%{prerel}}
|
||||
Release: 3%{?dist}
|
||||
Release: 4%{?dist}
|
||||
Summary: A tool for installing and managing Python packages
|
||||
|
||||
# We bundle a lot of libraries with pip, which itself is under MIT license.
|
||||
|
|
@ -86,6 +86,13 @@ Patch5: nowarn-pip._internal.main.patch
|
|||
# Upstream issue: https://github.com/pypa/packaging/issues/368
|
||||
Patch6: no-version-warning.patch
|
||||
|
||||
# Switch install scheme backend to sysconfig on Python 3.11+
|
||||
# Released in pip 21.3, with the conditional set to Python 3.10+
|
||||
# Since we manipulate sysconfig install schemes in Python 3.11,
|
||||
# we better have this on all Fedoras that have Python 3.11
|
||||
# Rebased from https://github.com/pypa/pip/pull/10358
|
||||
Patch10358: use-sysconfig.patch
|
||||
|
||||
# Downstream only patch
|
||||
# Users might have local installations of pip from using
|
||||
# `pip install --user --upgrade pip` on older/newer versions.
|
||||
|
|
@ -394,6 +401,9 @@ pytest_k='not completion and
|
|||
%{python_wheeldir}/%{python_wheelname}
|
||||
|
||||
%changelog
|
||||
* Wed Oct 13 2021 Miro Hrončok <mhroncok@redhat.com> - 21.2.3-4
|
||||
- Switch install scheme backend to sysconfig on Python 3.11+
|
||||
|
||||
* Wed Oct 06 2021 Charalampos Stratakis <cstratak@redhat.com> - 21.2.3-3
|
||||
- Remove bundled windows executables
|
||||
- Resolves: rhbz#2005453
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue