Support repeated keys in --config-settings

This commit is contained in:
Maxwell G 2023-05-30 13:36:42 -05:00
commit a9868b4795
No known key found for this signature in database
GPG key ID: F79E4E25E8C661F8
2 changed files with 87 additions and 1 deletions

View file

@ -21,7 +21,7 @@
Name: python-%{srcname}
Version: %{base_version}%{?prerel:~%{prerel}}
Release: 2%{?dist}
Release: 3%{?dist}
Summary: A tool for installing and managing Python packages
# We bundle a lot of libraries with pip, which itself is under MIT license.
@ -90,6 +90,13 @@ Patch: nowarn-pip._internal.main.patch
# Upstream issue: https://github.com/pypa/packaging/issues/368
Patch: no-version-warning.patch
# Support passing the same key multiple times in --config-settings
# This is needed for pyproject-rpm-macros to have consistent behavior across
# Fedora releases.
# Based on:
# https://github.com/pypa/pip/commit/1268487cbab1b2ffab881b5961c0476e655b6c88
Patch: Support-passing-the-same-key-multiple-times-in-confi.patch
# Downstream only patch
# Users might have local installations of pip from using
# `pip install --user --upgrade pip` on older/newer versions.
@ -390,6 +397,9 @@ pytest_k='not completion'
%{python_wheel_dir}/%{python_wheel_name}
%changelog
* Tue May 30 2023 Maxwell G <maxwell@gtmx.me> - 22.3.1-3
- Backport patch to support passing the same key multiple times in --config-settings
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 22.3.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild