Only ask for keyring password once

This makes https://bugzilla.redhat.com/show_bug.cgi?id=1859476 much less painful.
This commit is contained in:
Miro Hrončok 2020-08-11 16:26:54 +02:00
commit 152f6ef002
2 changed files with 87 additions and 1 deletions

View file

@ -16,7 +16,7 @@ Name: python-%{srcname}
# When updating, update the bundled libraries versions bellow!
# You can use vendor_meta.sh in the dist git repo
Version: 19.3.1
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.
@ -104,6 +104,9 @@ Patch6: callable-main.patch
# Backported from https://github.com/pypa/pip/pull/7873
Patch7: 7873.patch
# Backported from https://github.com/pypa/pip/pull/8744
Patch8: 8744.patch
# Downstream only patch
# Users might have local installations of pip from using
# `pip install --user --upgrade pip` on older/newer versions.
@ -261,6 +264,7 @@ popd
%endif
%patch6 -p1
%patch7 -p1
%patch8 -p1
# this goes together with patch4
rm src/pip/_vendor/certifi/*.pem
@ -388,6 +392,9 @@ ln -sf %{buildroot}%{_bindir}/pip3 _bin/pip
%{python_wheeldir}/%{python_wheelname}
%changelog
* Tue Aug 11 2020 Miro Hrončok <mhroncok@redhat.com> - 19.3.1-4
- Only ask for keyring password once (#1859476)
* Fri Apr 10 2020 Miro Hrončok <mhroncok@redhat.com> - 19.3.1-3
- Allow setting $TMPDIR to $PWD/... during pip wheel (#1806625)