orion / rpms / python3x-pip

Forked from rpms/python3x-pip 2 years ago
Clone
875274
%bcond_with tests
875274
875274
%bcond_with doc
875274
875274
%global srcname pip
875274
%global python_wheelname %{srcname}-%{version}-py2.py3-none-any.whl
875274
%global python_wheeldir %{_datadir}/python38-wheels
875274
875274
%if %{with doc}
875274
%global pypa_theme_commit_hash d2e63fbfc62af3b7050f619b2f5bb8658985b931
875274
%endif
875274
875274
%global bashcompdir %(pkg-config --variable=completionsdir bash-completion 2>/dev/null)
875274
875274
Name:           python3x-%{srcname}
875274
# When updating, update the bundled libraries versions bellow!
875274
# You can use vendor_meta.sh in the dist git repo
1ee682
Version:        19.3.1
29192b
Release:        5%{?dist}
875274
Summary:        A tool for installing and managing Python packages
875274
875274
# We bundle a lot of libraries with pip, which itself is under MIT license.
875274
# Here is the list of the libraries with corresponding licenses:
875274
875274
# appdirs: MIT
1ee682
# certifi: MPLv2.0
1ee682
# chardet: LGPLv2
1ee682
# colorama: BSD
1ee682
# CacheControl: ASL 2.0
1ee682
# contextlib2: Python
875274
# distlib: Python
875274
# distro: ASL 2.0
875274
# html5lib: MIT
1ee682
# idna: BSD
875274
# ipaddress: Python
1ee682
# msgpack: ASL 2.0
875274
# packaging: ASL 2.0 or BSD
875274
# pep517: MIT
1ee682
# progress: ISC
875274
# pyparsing: MIT
875274
# pytoml: MIT
875274
# requests: ASL 2.0
1ee682
# retrying: ASL 2.0
875274
# setuptools: MIT
1ee682
# six: MIT
1ee682
# urllib3: MIT
875274
# webencodings: BSD
875274
875274
License:        MIT and Python and ASL 2.0 and BSD and ISC and LGPLv2 and MPLv2.0 and (ASL 2.0 or BSD)
1ee682
URL:            https://pip.pypa.io/
1ee682
Source0:        https://github.com/pypa/pip/archive/%{version}/%{srcname}-%{version}.tar.gz
875274
875274
BuildArch:      noarch
875274
# Exclude i686 arch. Due to a modularity issue it's being added to the
875274
# x86_64 compose of CRB, but we don't want to ship it at all.
875274
# See: https://projects.engineering.redhat.com/browse/RCM-72605
875274
ExcludeArch:    i686
875274
875274
%if %{with tests}
875274
BuildRequires:  /usr/bin/git
875274
BuildRequires:  /usr/bin/bzr
875274
BuildRequires:  /usr/bin/svn
875274
BuildRequires:  python38-setuptools-wheel
875274
BuildRequires:  python38-wheel-wheel
875274
%endif
875274
875274
# Themes required to build the docs.
875274
%if %{with doc}
1ee682
Source1:        https://github.com/pypa/pypa-docs-theme/archive/%{pypa_theme_commit_hash}.tar.gz
1ee682
Source2:        https://github.com/python/python-docs-theme/archive/2018.2.tar.gz
875274
%endif
875274
875274
# Downstream only patch
875274
# Emit a warning to the user if pip install is run with root privileges
875274
# Issue upstream: https://github.com/pypa/pip/issues/4288
875274
Patch1:         emit-a-warning-when-running-with-root-privileges.patch
875274
875274
# Add path to the doc themes to conf.py
875274
Patch2:         html_theme_path.patch
875274
875274
# Prevent removing of the system packages installed under /usr/lib
875274
# when pip install -U is executed.
875274
# https://bugzilla.redhat.com/show_bug.cgi?id=1550368#c24
875274
Patch3:         remove-existing-dist-only-if-path-conflicts.patch
875274
875274
# Use the system level root certificate instead of the one bundled in certifi
875274
# https://bugzilla.redhat.com/show_bug.cgi?id=1655253
875274
Patch4:         dummy-certifi.patch
875274
1ee682
# Mark tests that need the Internet as network tests so we can skip them
1ee682
# https://github.com/pypa/pip/pull/7359
1ee682
Patch5:         network-tests.patch
1ee682
98d8ab
# Patch for CVE-2021-3572 - pip incorrectly handled unicode separators in git references
98d8ab
# Upstream PR: https://github.com/pypa/pip/pull/9827
98d8ab
# Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1962856
98d8ab
Patch6:         CVE-2021-3572.patch
98d8ab
98d8ab
# CVE-2021-33503 Catastrophic backtracking in URL authority parser
98d8ab
# Tracking bug: https://bugzilla.redhat.com/show_bug.cgi?id=1968074
98d8ab
# Upstream fix: https://github.com/urllib3/urllib3/commit/2d4a3fee6de2fa45eb82169361918f759269b4ec
98d8ab
Patch7:         CVE-2021-33503.patch
98d8ab
875274
# Downstream only patch
875274
# Users might have local installations of pip from using
875274
# `pip install --user --upgrade pip` on older/newer versions.
875274
# If they do that and they run `pip` or  `pip3`, the one from /usr/bin is used.
875274
# However that's the one from this RPM package and the import in there might
875274
# fail (it tries to import from ~/.local, but older or newer pip is there with
875274
# a bit different API).
875274
# We add this patch as a dirty workaround to make /usr/bin/pip* work with
875274
# both pip10+ (from this RPM) and older or newer (19.3+) pip (from whatever).
875274
# A proper fix is to put ~/.local/bin in front of /usr/bin in the PATH,
875274
# however others are against that and we cannot change it for existing
875274
# installs/user homes anyway.
875274
# https://bugzilla.redhat.com/show_bug.cgi?id=1569488
875274
# https://bugzilla.redhat.com/show_bug.cgi?id=1571650
875274
# https://bugzilla.redhat.com/show_bug.cgi?id=1767212
875274
# WARNING: /usr/bin/pip* are entrypoints, this cannot be applied in %%prep!
875274
# %%patch10 doesn't work outside of %%prep, so we add it as a source
875274
Source10:        pip-allow-different-versions.patch
875274
875274
%description
875274
pip is a package management system used to install and manage software packages
875274
written in Python. Many packages can be found in the Python Package Index
875274
(PyPI). pip is a recursive acronym that can stand for either "Pip Installs
875274
Packages" or "Pip Installs Python".
875274
875274
875274
875274
# Virtual provides for the packages bundled by pip.
875274
# You can find the versions in src/pip/_vendor/vendor.txt file.
875274
%global bundled() %{expand:
875274
Provides: bundled(python%{1}dist(appdirs)) = 1.4.3
875274
Provides: bundled(python%{1}dist(CacheControl)) = 0.12.5
1ee682
Provides: bundled(python%{1}dist(certifi)) = 2019.9.11
875274
Provides: bundled(python%{1}dist(chardet)) = 3.0.4
875274
Provides: bundled(python%{1}dist(colorama)) = 0.4.1
1ee682
Provides: bundled(python%{1}dist(contextlib2)) = 0.6.0
875274
Provides: bundled(python%{1}dist(distlib)) = 0.2.9.post0
875274
Provides: bundled(python%{1}dist(distro)) = 1.4.0
875274
Provides: bundled(python%{1}dist(html5lib)) = 1.0.1
875274
Provides: bundled(python%{1}dist(idna)) = 2.8
875274
Provides: bundled(python%{1}dist(ipaddress)) = 1.0.22
1ee682
Provides: bundled(python%{1}dist(msgpack)) = 0.6.2
1ee682
Provides: bundled(python%{1}dist(packaging)) = 19.2
1ee682
Provides: bundled(python%{1}dist(pep517)) = 0.7.0
875274
Provides: bundled(python%{1}dist(progress)) = 1.5
1ee682
Provides: bundled(python%{1}dist(pyparsing)) = 2.4.2
1ee682
Provides: bundled(python%{1}dist(pytoml)) = 0.1.21
875274
Provides: bundled(python%{1}dist(requests)) = 2.22.0
875274
Provides: bundled(python%{1}dist(retrying)) = 1.3.3
1ee682
Provides: bundled(python%{1}dist(setuptools)) = 41.4.0
875274
Provides: bundled(python%{1}dist(six)) = 1.12.0
1ee682
Provides: bundled(python%{1}dist(urllib3)) = 1.25.6
875274
Provides: bundled(python%{1}dist(webencodings)) = 0.5.1
875274
}
875274
875274
# Some manylinux1 wheels need libcrypt.so.1.
875274
# Manylinux1, a common (as of 2019) platform tag for binary wheels, relies
875274
# on a glibc version that included ancient crypto functions, which were
875274
# moved to libxcrypt and then removed in:
875274
#  https://fedoraproject.org/wiki/Changes/FullyRemoveDeprecatedAndUnsafeFunctionsFromLibcrypt
875274
# The manylinux1 standard assumed glibc would keep ABI compatibility,
875274
# but that's only the case if libcrypt.so.1 (libxcrypt-compat) is around.
875274
# This should be solved in the next manylinux standard (but it may be
875274
# a long time until manylinux1 is phased out).
875274
# See: https://github.com/pypa/manylinux/issues/305
875274
# Note that manylinux is only applicable to x86 (both 32 and 64 bits)
875274
%global crypt_compat_recommends() %{expand:
875274
Recommends: (libcrypt.so.1()(64bit) if python%{1}(x86-64))
875274
Recommends: (libcrypt.so.1 if python%{1}(x86-32))
875274
}
875274
875274
875274
875274
%package -n python%{python3_pkgversion}-%{srcname}
875274
Summary:        A tool for installing and managing Python3 packages
875274
875274
BuildRequires:  python%{python3_pkgversion}-devel
875274
BuildRequires:  python%{python3_pkgversion}-rpm-macros
875274
BuildRequires:  python%{python3_pkgversion}-setuptools
875274
BuildRequires:  bash-completion
875274
%if %{with tests}
875274
BuildRequires:  python%{python3_pkgversion}-mock
875274
BuildRequires:  python%{python3_pkgversion}-pytest
875274
BuildRequires:  python%{python3_pkgversion}-pretend
875274
BuildRequires:  python%{python3_pkgversion}-freezegun
875274
BuildRequires:  python%{python3_pkgversion}-scripttest
875274
BuildRequires:  python%{python3_pkgversion}-virtualenv
875274
BuildRequires:  python%{python3_pkgversion}-pyyaml
875274
%endif
875274
BuildRequires:  python%{python3_pkgversion}-wheel
875274
BuildRequires:  ca-certificates
875274
Requires:       ca-certificates
875274
Requires:  python%{python3_pkgversion}-setuptools
875274
98d8ab
# Require alternatives version that implements the --keep-foreign flag
98d8ab
Requires(postun): alternatives >= 1.19.1-1
875274
# python38 installs the alternatives master symlink to which we attach a slave
875274
Requires: python38
875274
Requires(post): python38
875274
Requires(postun): python38
875274
875274
# Virtual provides for the packages bundled by pip:
875274
%{bundled 3.8}
875274
875274
%{?python_provide:%python_provide python%{python3_pkgversion}-%{srcname}}
875274
875274
%{crypt_compat_recommends 38}
875274
875274
%description -n python%{python3_pkgversion}-%{srcname}
875274
pip is a package management system used to install and manage software packages
875274
written in Python. Many packages can be found in the Python Package Index
875274
(PyPI). pip is a recursive acronym that can stand for either "Pip Installs
875274
Packages" or "Pip Installs Python".
875274
875274
%if %{with doc}
875274
%package doc
875274
Summary:        A documentation for a tool for installing and managing Python packages
875274
875274
BuildRequires:  python%{python3_pkgversion}-sphinx
875274
875274
%description doc
875274
A documentation for a tool for installing and managing Python packages
875274
875274
%endif
875274
875274
%package -n python%{python3_pkgversion}-%{srcname}-wheel
875274
Summary:        The pip wheel
875274
Requires:       ca-certificates
875274
875274
# Virtual provides for the packages bundled by pip:
875274
%{bundled 3.8}
875274
875274
%{crypt_compat_recommends 38}
875274
875274
%description -n python%{python3_pkgversion}-%{srcname}-wheel
875274
A Python wheel of pip to use with venv.
875274
875274
%prep
875274
%setup -q -n %{srcname}-%{version}
875274
%if %{with doc}
875274
pushd docs/html
1ee682
tar -xf %{SOURCE1}
875274
mv pypa-docs-theme-%{pypa_theme_commit_hash} pypa
1ee682
tar -xf %{SOURCE2}
875274
mv python-docs-theme-2018.2 python-docs-theme
875274
popd
875274
%endif
875274
875274
%patch1 -p1
875274
%patch2 -p1
875274
%patch3 -p1
875274
%patch4 -p1
1ee682
%patch5 -p1
98d8ab
%patch6 -p1
98d8ab
%patch7 -p1
875274
875274
# this goes together with patch4
875274
rm src/pip/_vendor/certifi/*.pem
875274
875274
%if %{with tests}
875274
# tests expect wheels in here
875274
ln -s %{python_wheeldir} tests/data/common_wheels
875274
%endif
875274
29192b
# Remove windows executable binaries
29192b
rm -v src/pip/_vendor/distlib/*.exe
29192b
sed -i '/\.exe/d' setup.py
875274
875274
%build
875274
%py3_build_wheel
875274
875274
%if %{with doc}
875274
export PYTHONPATH=./src/
875274
# from tox.ini
875274
sphinx-build-3 -b html docs/html docs/build/html
875274
sphinx-build-3 -b man  docs/man  docs/build/man  -c docs/html
875274
rm docs/build/html/.buildinfo
875274
%endif
875274
875274
875274
%install
875274
875274
# The following is similar to %%py3_install_wheel, but we don't have
875274
# /usr/bin/pip yet, so we install using the wheel directly.
875274
# (This is not standard wheel usage, but the pip wheel supports it -- see
875274
#  pip/__main__.py)
875274
%{__python3} dist/%{python_wheelname}/pip install \
875274
    -I 'dist/%{python_wheelname}' \
875274
    --root %{buildroot} \
875274
    --no-deps
875274
875274
%if %{with doc}
875274
pushd docs/build/man
875274
install -d %{buildroot}%{_mandir}/man1
875274
for MAN in *1; do
875274
install -pm0644 $MAN %{buildroot}%{_mandir}/man1/${MAN/pip/pip3.8}
875274
done
875274
popd
875274
%endif
875274
875274
# before we ln -s anything, we apply Source10 patch to all pips:
875274
for PIP in %{buildroot}%{_bindir}/pip*; do
875274
  patch -p1 --no-backup-if-mismatch $PIP < %{SOURCE10}
875274
done
875274
875274
875274
mkdir -p %{buildroot}%{bashcompdir}
875274
PYTHONPATH=%{buildroot}%{python3_sitelib} \
875274
    %{buildroot}%{_bindir}/pip completion --bash \
875274
    > %{buildroot}%{bashcompdir}/pip3.8
875274
875274
# Make bash completion apply to all the 5 symlinks we install
875274
sed -i -e "s/^\\(complete.*\\) pip\$/\\1 pip{,-}%{python3_version}/" \
875274
    -e s/_pip_completion/_pip38_completion/ \
875274
    %{buildroot}%{bashcompdir}/pip3.8
875274
875274
875274
# Provide symlinks to executables to comply with Fedora guidelines for Python
875274
ln -s ./pip%{python3_version} %{buildroot}%{_bindir}/pip-%{python3_version}
875274
ln -s ./pip-%{python3_version} %{buildroot}%{_bindir}/pip-3
875274
875274
875274
# Make sure the INSTALLER is not pip, otherwise Patch2 won't work
875274
# TODO Maybe we should make all our python packages have this?
875274
echo rpm > %{buildroot}%{python3_sitelib}/pip-%{version}.dist-info/INSTALLER
875274
875274
mkdir -p %{buildroot}%{python_wheeldir}
875274
install -p dist/%{python_wheelname} -t %{buildroot}%{python_wheeldir}
875274
875274
# RHEL8: Remove binaries conflicting with Python 3.6
875274
rm %{buildroot}%{_bindir}/pip
875274
rm %{buildroot}%{_bindir}/pip3
875274
rm %{buildroot}%{_bindir}/pip-3
875274
875274
# All ghost files controlled by alternatives need to exist for the files
875274
# section check to succeed
875274
touch %{buildroot}%{_bindir}/pip3
875274
touch %{buildroot}%{_bindir}/pip-3
875274
875274
875274
%if %{with tests}
875274
%check
875274
# bash completion tests only work from installed package
875274
# needs unaltered sys.path and we cannot do that in %%check
875274
#     test_pep517_and_build_options
875274
#     test_config_file_venv_option
875274
# TODO investigate failures
875274
#     test_uninstall_non_local_distutils
875274
pytest_k='not completion and
875274
          not test_pep517_and_build_options and
875274
          not test_config_file_venv_option and
875274
          not test_uninstall_non_local_distutils'
875274
875274
mkdir _bin
875274
export PATH="$PWD/_bin:$PATH"
875274
875274
export PYTHONPATH=%{buildroot}%{python3_sitelib}
875274
ln -sf %{buildroot}%{_bindir}/pip3 _bin/pip
875274
%{__python3} -m pytest -m 'not network' -k "$(echo $pytest_k)" -v
875274
%endif
875274
875274
875274
%post -n python%{python3_pkgversion}-%{srcname}
875274
alternatives --add-slave python3 %{_bindir}/python3.8 \
875274
    %{_bindir}/pip3 \
875274
    pip3 \
875274
    %{_bindir}/pip3.8
875274
alternatives --add-slave python3 %{_bindir}/python3.8 \
875274
    %{_bindir}/pip-3 \
875274
    pip-3 \
875274
    %{_bindir}/pip-3.8
875274
875274
%postun -n python%{python3_pkgversion}-%{srcname}
875274
# Do this only during uninstall process (not during update)
875274
if [ $1 -eq 0 ]; then
875274
    # Only remove the slave links if the master link for python3 still exists.
875274
    # Due to a possible bug in yum, python38 gets removed before python38-pip
875274
    # even though we have declared Requires(postun): python38
875274
    EXISTS=`alternatives --display python3 | \
875274
          grep -c "^/usr/bin/python3.8 - priority [0-9]*"`
875274
875274
    if [ $EXISTS -ne 0 ]; then
98d8ab
        alternatives --keep-foreign --remove-slave python3 %{_bindir}/python3.8 \
875274
            pip3
98d8ab
        alternatives --keep-foreign --remove-slave python3 %{_bindir}/python3.8 \
875274
            pip-3
875274
    fi
875274
fi
875274
875274
875274
%files -n python%{python3_pkgversion}-%{srcname}
875274
%license LICENSE.txt
875274
%doc README.rst
875274
%if %{with doc}
875274
%{_mandir}/man1/pip3.8.*
875274
%{_mandir}/man1/pip3.8-*.*
875274
%endif
875274
%{_bindir}/pip%{python3_version}
875274
%{_bindir}/pip-%{python3_version}
875274
%{python3_sitelib}/pip*
875274
%dir %{bashcompdir}
875274
%{bashcompdir}/pip3.8
875274
%ghost %{_bindir}/pip3
875274
%ghost %{_bindir}/pip-3
875274
875274
%if %{with doc}
875274
%files doc
875274
%license LICENSE.txt
875274
%doc README.rst
875274
%doc docs/build/html
875274
%endif
875274
875274
%files -n python%{python3_pkgversion}-%{srcname}-wheel
875274
%license LICENSE.txt
875274
# we own the dir for simplicity
875274
%dir %{python_wheeldir}/
875274
%{python_wheeldir}/%{python_wheelname}
875274
875274
%changelog
29192b
* Thu Oct 14 2021 Charalampos Stratakis <cstratak@redhat.com> - 19.3.1-5
29192b
- Remove bundled windows executables
29192b
- Resolves: rhbz#2006789
29192b
98d8ab
* Mon Aug 02 2021 Tomas Orsava <torsava@redhat.com> - 19.3.1-4
98d8ab
- Adjusted the postun scriptlets to enable upgrading to RHEL 9
98d8ab
- Resolves: rhbz#1933055
98d8ab
98d8ab
* Wed Jun 30 2021 Lumír Balhar <lbalhar@redhat.com> - 19.3.1-3
98d8ab
- Fix for CVE-2021-33503 Catastrophic backtracking in URL authority parser
98d8ab
Resolves: rhbz#1968074
98d8ab
98d8ab
* Tue Jun 08 2021 Lumír Balhar <lbalhar@redhat.com> - 19.3.1-2
98d8ab
- Fix for CVE-2021-3572 - pip incorrectly handled unicode separators in git references
98d8ab
Resolves: rhbz#1962856
98d8ab
1ee682
* Thu Apr 23 2020 Lumír Balhar <lbalhar@redhat.com> - 19.3.1
1ee682
- Rebase to 19.3.1 to enable support for manylinux2014
1ee682
Resolves: rhbz#1827623
1ee682
- + some other fixes from Fedora 32 where we have the same version now
1ee682
875274
* Mon Mar 09 2020 Tomas Orsava <torsava@redhat.com> - 19.2.3-5
875274
- Implement the alternatives system for the executables
875274
- Resolves: rhbz#1807041
875274
875274
* Fri Dec 13 2019 Tomas Orsava <torsava@redhat.com> - 19.2.3-4
875274
- Exclude unsupported i686 arch
875274
875274
* Wed Nov 20 2019 Tomas Orsava <torsava@redhat.com> - 19.2.3-3
875274
- Modify for RHEL8
875274
875274
* Wed Oct 30 2019 Miro Hrončok <mhroncok@redhat.com> - 19.2.3-2
875274
- Make /usr/bin/pip(3) work with user-installed pip 19.3+ (#1767212)
875274
875274
* Mon Sep 02 2019 Miro Hrončok <mhroncok@redhat.com> - 19.2.3-1
875274
- Update to 19.2.3 (#1742230)
875274
- Drop patch that should strip path prefixes from RECORD files, the paths are relative
875274
875274
* Wed Aug 21 2019 Petr Viktorin <pviktori@redhat.com> - 19.1.1-8
875274
- Remove python2-pip
875274
- Make pip bootstrap itself, rather than with an extra bootstrap RPM build
875274
875274
* Sat Aug 17 2019 Miro Hrončok <mhroncok@redhat.com> - 19.1.1-7
875274
- Rebuilt for Python 3.8
875274
875274
* Wed Aug 14 2019 Miro Hrončok <mhroncok@redhat.com> - 19.1.1-6
875274
- Bootstrap for Python 3.8
875274
875274
* Wed Aug 14 2019 Miro Hrončok <mhroncok@redhat.com> - 19.1.1-5
875274
- Bootstrap for Python 3.8
875274
875274
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 19.1.1-4
875274
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
875274
875274
* Mon Jul 15 2019 Petr Viktorin <pviktori@redhat.com> - 19.1.1-3
875274
- Recommend libcrypt.so.1 for manylinux1 compatibility
875274
- Make /usr/bin/pip Python 3
875274
875274
* Mon Jun 10 2019 Miro Hrončok <mhroncok@redhat.com> - 19.1.1-2
875274
- Fix root warning when pip is invoked via python -m pip
875274
- Remove a redundant second WARNING prefix form the abovementioned warning
875274
875274
* Wed May 15 2019 Miro Hrončok <mhroncok@redhat.com> - 19.1.1-1
875274
- Update to 19.1.1 (#1706995)
875274
875274
* Thu Apr 25 2019 Miro Hrončok <mhroncok@redhat.com> - 19.1-1
875274
- Update to 19.1 (#1702525)
875274
875274
* Wed Mar 06 2019 Miro Hrončok <mhroncok@redhat.com> - 19.0.3-1
875274
- Update to 19.0.3 (#1679277)
875274
875274
* Wed Feb 13 2019 Miro Hrončok <mhroncok@redhat.com> - 19.0.2-1
875274
- Update to 19.0.2 (#1668492)
875274
875274
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 18.1-3
875274
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
875274
875274
* Mon Dec 03 2018 Miro Hrončok <mhroncok@redhat.com> - 18.1-2
875274
- Use the system level root certificate instead of the one bundled in certifi
875274
875274
* Thu Nov 22 2018 Miro Hrončok <mhroncok@redhat.com> - 18.1-1
875274
- Update to 18.1 (#1652089)
875274
875274
* Tue Sep 18 2018 Victor Stinner <vstinner@redhat.com> - 18.0-4
875274
- Prevent removing of the system packages installed under /usr/lib
875274
  when pip install -U is executed. Original patch by Michal Cyprian.
875274
  Resolves: rhbz#1550368.
875274
875274
* Wed Aug 08 2018 Miro Hrončok <mhroncok@redhat.com> - 18.0-3
875274
- Create python-pip-wheel package with the wheel
875274
875274
* Tue Jul 31 2018 Miro Hrončok <mhroncok@redhat.com> - 18.0-2
875274
- Remove redundant "Unicode"" from License
875274
875274
* Mon Jul 23 2018 Marcel Plch <mplch@redhat.com> - 18.0-7
875274
- Update to 18.0
875274
875274
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 9.0.3-6
875274
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
875274
875274
* Mon Jun 18 2018 Miro Hrončok <mhroncok@redhat.com> - 9.0.3-5
875274
- Rebuilt for Python 3.7
875274
875274
* Wed Jun 13 2018 Miro Hrončok <mhroncok@redhat.com> - 9.0.3-4
875274
- Bootstrap for Python 3.7
875274
875274
* Wed Jun 13 2018 Miro Hrončok <mhroncok@redhat.com> - 9.0.3-3
875274
- Bootstrap for Python 3.7
875274
875274
* Fri May 04 2018 Miro Hrončok <mhroncok@redhat.com> - 9.0.3-2
875274
- Allow to import pip10's main from pip9's /usr/bin/pip
875274
- Do not show the "new version of pip" warning outside of venv
875274
Resolves: rhbz#1569488
875274
Resolves: rhbz#1571650
875274
Resolves: rhbz#1573755
875274
875274
* Thu Mar 29 2018 Charalampos Stratakis <cstratak@redhat.com> - 9.0.3-1
875274
- Update to 9.0.3
875274
875274
* Wed Feb 21 2018 Lumír Balhar <lbalhar@redhat.com> - 9.0.1-16
875274
- Include built HTML documentation (in the new -doc subpackage) and man page
875274
875274
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 9.0.1-15
875274
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
875274
875274
* Mon Dec 04 2017 Charalampos Stratakis <cstratak@redhat.com> - 9.0.1-14
875274
- Reintroduce the ipaddress module in the python3 subpackage.
875274
875274
* Mon Nov 20 2017 Charalampos Stratakis <cstratak@redhat.com> - 9.0.1-13
875274
- Add virtual provides for the bundled libraries. (rhbz#1096912)
875274
875274
* Tue Aug 29 2017 Tomas Orsava <torsava@redhat.com> - 9.0.1-12
875274
- Switch macros to bcond's and make Python 2 optional to facilitate building
875274
  the Python 2 and Python 3 modules
875274
875274
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 9.0.1-11
875274
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
875274
875274
* Tue May 23 2017 Tomas Orsava <torsava@redhat.com> - 9.0.1-10
875274
- Modernized package descriptions
875274
Resolves: rhbz#1452568
875274
875274
* Tue Mar 21 2017 Tomas Orsava <torsava@redhat.com> - 9.0.1-9
875274
- Fix typo in the sudo pip warning
875274
875274
* Fri Mar 03 2017 Tomas Orsava <torsava@redhat.com> - 9.0.1-8
875274
- Patch 1 update: No sudo pip warning in venv or virtualenv
875274
875274
* Thu Feb 23 2017 Tomas Orsava <torsava@redhat.com> - 9.0.1-7
875274
- Patch 1 update: Customize the warning with the proper version of the pip
875274
  command
875274
875274
* Tue Feb 14 2017 Tomas Orsava <torsava@redhat.com> - 9.0.1-6
875274
- Added patch 1: Emit a warning when running with root privileges
875274
875274
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 9.0.1-5
875274
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
875274
875274
* Mon Jan 02 2017 Tomas Orsava <torsava@redhat.com> - 9.0.1-4
875274
- Provide symlinks to executables to comply with Fedora guidelines for Python
875274
Resolves: rhbz#1406922
875274
875274
* Fri Dec 09 2016 Charalampos Stratakis <cstratak@redhat.com> - 9.0.1-3
875274
- Rebuild for Python 3.6 with wheel
875274
875274
* Fri Dec 09 2016 Charalampos Stratakis <cstratak@redhat.com> - 9.0.1-2
875274
- Rebuild for Python 3.6 without wheel
875274
875274
* Fri Nov 18 2016 Orion Poplawski <orion@cora.nwra.com> - 9.0.1-1
875274
- Update to 9.0.1
875274
875274
* Fri Nov 18 2016 Orion Poplawski <orion@cora.nwra.com> - 8.1.2-5
875274
- Enable EPEL Python 3 builds
875274
- Use new python macros
875274
- Cleanup spec
875274
875274
* Fri Aug 05 2016 Tomas Orsava <torsava@redhat.com> - 8.1.2-4
875274
- Updated the test sources
875274
875274
* Fri Aug 05 2016 Tomas Orsava <torsava@redhat.com> - 8.1.2-3
875274
- Moved python-pip into the python2-pip subpackage
875274
- Added the python_provide macro
875274
875274
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 8.1.2-2
875274
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
875274
875274
* Tue May 17 2016 Tomas Orsava <torsava@redhat.com> - 8.1.2-1
875274
- Update to 8.1.2
875274
- Moved to a new PyPI URL format
875274
- Updated the prefix-stripping patch because of upstream changes in pip/wheel.py
875274
875274
* Mon Feb 22 2016 Slavek Kabrda <bkabrda@redhat.com> - 8.0.2-1
875274
- Update to 8.0.2
875274
875274
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 7.1.0-4
875274
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
875274
875274
* Wed Oct 14 2015 Robert Kuska <rkuska@redhat.com> - 7.1.0-3
875274
- Rebuilt for Python3.5 rebuild
875274
- With wheel set to 1
875274
875274
* Tue Oct 13 2015 Robert Kuska <rkuska@redhat.com> - 7.1.0-2
875274
- Rebuilt for Python3.5 rebuild
875274
875274
* Wed Jul 01 2015 Slavek Kabrda <bkabrda@redhat.com> - 7.1.0-1
875274
- Update to 7.1.0
875274
875274
* Tue Jun 30 2015 Ville Skyttä <ville.skytta@iki.fi> - 7.0.3-3
875274
- Install bash completion
875274
- Ship LICENSE.txt as %%license where available
875274
875274
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 7.0.3-2
875274
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
875274
875274
* Thu Jun 04 2015 Matej Stuchlik <mstuchli@redhat.com> - 7.0.3-1
875274
- Update to 7.0.3
875274
875274
* Fri Mar 06 2015 Matej Stuchlik <mstuchli@redhat.com> - 6.0.8-1
875274
- Update to 6.0.8
875274
875274
* Thu Dec 18 2014 Slavek Kabrda <bkabrda@redhat.com> - 1.5.6-5
875274
- Only enable tests on Fedora.
875274
875274
* Mon Dec 01 2014 Matej Stuchlik <mstuchli@redhat.com> - 1.5.6-4
875274
- Add tests
875274
- Add patch skipping tests requiring Internet access
875274
875274
* Tue Nov 18 2014 Matej Stuchlik <mstuchli@redhat.com> - 1.5.6-3
875274
- Added patch for local dos with predictable temp dictionary names
875274
  (http://seclists.org/oss-sec/2014/q4/655)
875274
875274
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.6-2
875274
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
875274
875274
* Sun May 25 2014 Matej Stuchlik <mstuchli@redhat.com> - 1.5.6-1
875274
- Update to 1.5.6
875274
875274
* Fri Apr 25 2014 Matej Stuchlik <mstuchli@redhat.com> - 1.5.4-4
875274
- Rebuild as wheel for Python 3.4
875274
875274
* Thu Apr 24 2014 Matej Stuchlik <mstuchli@redhat.com> - 1.5.4-3
875274
- Disable build_wheel
875274
875274
* Thu Apr 24 2014 Matej Stuchlik <mstuchli@redhat.com> - 1.5.4-2
875274
- Rebuild as wheel for Python 3.4
875274
875274
* Mon Apr 07 2014 Matej Stuchlik <mstuchli@redhat.com> - 1.5.4-1
875274
- Updated to 1.5.4
875274
875274
* Mon Oct 14 2013 Tim Flink <tflink@fedoraproject.org> - 1.4.1-1
875274
- Removed patch for CVE 2013-2099 as it has been included in the upstream 1.4.1 release
875274
- Updated version to 1.4.1
875274
875274
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.1-5
875274
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
875274
875274
* Tue Jul 16 2013 Toshio Kuratomi <toshio@fedoraproject.org> - 1.3.1-4
875274
- Fix for CVE 2013-2099
875274
875274
* Thu May 23 2013 Tim Flink <tflink@fedoraproject.org> - 1.3.1-3
875274
- undo python2 executable rename to python-pip. fixes #958377
875274
- fix summary to match upstream
875274
875274
* Mon May 06 2013 Kevin Kofler <Kevin@tigcc.ticalc.org> - 1.3.1-2
875274
- Fix main package Summary, it's for Python 2, not 3 (#877401)
875274
875274
* Fri Apr 26 2013 Jon Ciesla <limburgher@gmail.com> - 1.3.1-1
875274
- Update to 1.3.1, fix for CVE-2013-1888.
875274
875274
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.1-3
875274
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
875274
875274
* Tue Oct 09 2012 Tim Flink <tflink@fedoraproject.org> - 1.2.1-2
875274
- Fixing files for python3-pip
875274
875274
* Thu Oct 04 2012 Tim Flink <tflink@fedoraproject.org> - 1.2.1-1
875274
- Update to upstream 1.2.1
875274
- Change binary from pip-python to python-pip (RHBZ#855495)
875274
- Add alias from python-pip to pip-python, to be removed at a later date
875274
875274
* Tue May 15 2012 Tim Flink <tflink@fedoraproject.org> - 1.1.0-1
875274
- Update to upstream 1.1.0
875274
875274
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.2-2
875274
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
875274
875274
* Sat Oct 22 2011 Tim Flink <tflink@fedoraproject.org> - 1.0.2-1
875274
- update to 1.0.2 and added python3 subpackage
875274
875274
* Wed Jun 22 2011 Tim Flink <tflink@fedoraproject.org> - 0.8.3-1
875274
- update to 0.8.3 and project home page
875274
875274
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.2-2
875274
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
875274
875274
* Mon Dec 20 2010 Luke Macken <lmacken@redhat.com> - 0.8.2-1
875274
- update to 0.8.2 of pip
875274
* Mon Aug 30 2010 Peter Halliday <phalliday@excelsiorsystems.net> - 0.8-1
875274
- update to 0.8 of pip
875274
* Thu Jul 22 2010 David Malcolm <dmalcolm@redhat.com> - 0.7.2-5
875274
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
875274
875274
* Wed Jul 7 2010 Peter Halliday <phalliday@excelsiorsystems.net> - 0.7.2-1
875274
- update to 0.7.2 of pip
875274
* Sun May 23 2010 Peter Halliday <phalliday@excelsiorsystems.net> - 0.7.1-1
875274
- update to 0.7.1 of pip
875274
* Fri Jan 1 2010 Peter Halliday <phalliday@excelsiorsystems.net> - 0.6.1.4
875274
- fix dependency issue
875274
* Fri Dec 18 2009 Peter Halliday <phalliday@excelsiorsystems.net> - 0.6.1-2
1ee682
- fix spec file
875274
* Thu Dec 17 2009 Peter Halliday <phalliday@excelsiorsystems.net> - 0.6.1-1
875274
- upgrade to 0.6.1 of pip
875274
* Mon Aug 31 2009 Peter Halliday <phalliday@excelsiorsystems.net> - 0.4-1
875274
- Initial package