| |
@@ -16,7 +16,7 @@
|
| |
# When updating, update the bundled libraries versions bellow!
|
| |
# You can use vendor_meta.sh in the dist git repo
|
| |
Version: 19.2.3
|
| |
- Release: 1%{?dist}
|
| |
+ Release: 2%{?dist}
|
| |
Summary: A tool for installing and managing Python packages
|
| |
|
| |
# We bundle a lot of libraries with pip, which itself is under MIT license.
|
| |
@@ -95,21 +95,22 @@
|
| |
|
| |
# Downstream only patch
|
| |
# Users might have local installations of pip from using
|
| |
- # `pip install --user --upgrade pip` on older versions.
|
| |
+ # `pip install --user --upgrade pip` on older/newer versions.
|
| |
# If they do that and they run `pip` or `pip3`, the one from /usr/bin is used.
|
| |
- # However that's the one from this RPM package (pip10+) and the import in there
|
| |
- # fails (it tries to import from ~/.local, but older pip is there with a bit
|
| |
- # different API).
|
| |
+ # However that's the one from this RPM package and the import in there might
|
| |
+ # fail (it tries to import from ~/.local, but older or newer pip is there with
|
| |
+ # a bit different API).
|
| |
# We add this patch as a dirty workaround to make /usr/bin/pip* work with
|
| |
- # both pip10+ (from this RPM) and older pip (from whatever).
|
| |
+ # both pip10+ (from this RPM) and older or newer (19.3+) pip (from whatever).
|
| |
# A proper fix is to put ~/.local/bin in front of /usr/bin in the PATH,
|
| |
# however others are against that and we cannot change it for existing
|
| |
# installs/user homes anyway.
|
| |
# https://bugzilla.redhat.com/show_bug.cgi?id=1569488
|
| |
# https://bugzilla.redhat.com/show_bug.cgi?id=1571650
|
| |
+ # https://bugzilla.redhat.com/show_bug.cgi?id=1767212
|
| |
# WARNING: /usr/bin/pip* are entrypoints, this cannot be applied in %%prep!
|
| |
# %%patch10 doesn't work outside of %%prep, so we add it as a source
|
| |
- Source10: pip-allow-older-versions.patch
|
| |
+ Source10: pip-allow-different-versions.patch
|
| |
|
| |
%description
|
| |
pip is a package management system used to install and manage software packages
|
| |
@@ -375,6 +376,9 @@
|
| |
%{python_wheeldir}/%{python_wheelname}
|
| |
|
| |
%changelog
|
| |
+ * Wed Oct 30 2019 Miro Hrončok <mhroncok@redhat.com> - 19.2.3-2
|
| |
+ - Make /usr/bin/pip(3) work with user-installed pip 19.3+ (#1767212)
|
| |
+
|
| |
* Mon Sep 02 2019 Miro Hrončok <mhroncok@redhat.com> - 19.2.3-1
|
| |
- Update to 19.2.3 (#1742230)
|
| |
- Drop patch that should strip path prefixes from RECORD files, the paths are relative
|
| |
Resolves https://bugzilla.redhat.com/show_bug.cgi?id=1767212
Before:
After