Blame SPECS/python-pip.spec

e0db82
%bcond_with bootstrap
e0db82
%bcond_with tests
e0db82
e0db82
# RHEL7: Disabled building of python2, but keeping it in the spec to keep the
e0db82
# spec as similar as possible with RHEL8/Fedora
e0db82
%bcond_with python2
e0db82
%bcond_without python3
e0db82
# RHEL7: Disabled building of docs, because we don't ship its build
e0db82
# dependencies in RHEL7
e0db82
%bcond_with doc
e0db82
e0db82
# RHEL7: Due to EPEL the python3_pkgversion is defined as 36, but the actual RHEL7 components will use the python3- prefix
e0db82
%global python3_pkgversion 3
e0db82
e0db82
%global srcname pip
e0db82
%global python_wheelname %{srcname}-%{version}-py2.py3-none-any.whl
e0db82
%if %{without bootstrap}
e0db82
%if %{with python2}
e0db82
%global python2_wheelname %python_wheelname
e0db82
%endif
e0db82
%if %{with python3}
e0db82
%global python3_wheelname %python_wheelname
e0db82
%endif
e0db82
%endif
e0db82
e0db82
# Note that with disabled python3, bashcomp2 will be disabled as well because
e0db82
# bashcompdir will point to a different path than with python3 enabled.
e0db82
%global bashcompdir %(b=$(pkg-config --variable=completionsdir bash-completion 2>/dev/null); echo ${b:-%{_sysconfdir}/bash_completion.d})
e0db82
%if "%{bashcompdir}" != "%{_sysconfdir}/bash_completion.d"
e0db82
%global bashcomp2 1
e0db82
%endif
e0db82
e0db82
Name:           python-%{srcname}
e0db82
# When updating, update the bundled libraries versions bellow!
e0db82
Version:        9.0.3
6bbd3e
Release:        8%{?dist}
e0db82
Summary:        A tool for installing and managing Python packages
e0db82
e0db82
Group:          Development/Libraries
e0db82
License:        MIT and Python and ASL 2.0 and BSD and ISC and LGPLv2 and MPLv2.0 and (ASL 2.0 or BSD)
e0db82
URL:            http://www.pip-installer.org
e0db82
Source0:        https://files.pythonhosted.org/packages/source/p/%{srcname}/%{srcname}-%{version}.tar.gz
e0db82
e0db82
BuildArch:      noarch
e0db82
e0db82
e0db82
# Workaround for rhbz#1691402:
e0db82
# Define __python to be /usr/bin/python3 so that brp-python-bytecompile uses it
e0db82
# as the default_python, and doesn't exit bytecompilation when it doesn't find
e0db82
# /usr/bin/python, which is not installed
e0db82
%global __python %{__python3}
e0db82
e0db82
e0db82
%if %{with tests}
e0db82
BuildRequires:  git
e0db82
BuildRequires:  bzr
e0db82
%endif
e0db82
e0db82
# to get tests:
e0db82
# git clone https://github.com/pypa/pip && cd pip
e0db82
# git checkout 9.0.3 && tar -czvf ../pip-9.0.3-tests.tar.gz tests/
e0db82
%if %{with tests}
e0db82
Source1:        pip-9.0.3-tests.tar.gz
e0db82
%endif
e0db82
e0db82
# Patch until the following issue gets implemented upstream:
e0db82
# https://github.com/pypa/pip/issues/1351
e0db82
Patch0:         allow-stripping-given-prefix-from-wheel-RECORD-files.patch
e0db82
e0db82
# Downstream only patch
e0db82
# Emit a warning to the user if pip install is run with root privileges
e0db82
# Issue upstream: https://github.com/pypa/pip/issues/4288
e0db82
Patch1:         emit-a-warning-when-running-with-root-privileges.patch
e0db82
e0db82
e0db82
# WIP upstream patch https://github.com/pypa/pip/issues/5346
e0db82
# https://bugzilla.redhat.com/show_bug.cgi?id=1573755
e0db82
Patch2:         pip-nowarn-upgrade.patch
e0db82
e0db82
# Prevent removing of the system packages installed under /usr/lib
e0db82
# when pip install -U is executed.
e0db82
# https://bugzilla.redhat.com/show_bug.cgi?id=1550368#c24
e0db82
Patch3:         remove-existing-dist-only-if-path-conflicts.patch
e0db82
e0db82
# Use the system level root certificate instead of the one bundled in certifi
e0db82
# https://bugzilla.redhat.com/show_bug.cgi?id=1655253
e0db82
Patch4:         dummy-certifi.patch
e0db82
6bbd3e
# Patch for CVE in the bundled urllib3
6bbd3e
# CVE-2018-20060 Cross-host redirect does not remove Authorization header allow for credential exposure
6bbd3e
# https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-20060
6bbd3e
Patch5:         CVE-2018-20060.patch
6bbd3e
6bbd3e
# Patch for CVE in the bundled urllib3
6bbd3e
# CVE-2019-11236 CRLF injection due to not encoding the '\r\n' sequence leading to possible attack on internal service
6bbd3e
# https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-11236
6bbd3e
Patch6:         CVE-2019-11236.patch
6bbd3e
6bbd3e
# Patch for CVE in the bundled urllib3
6bbd3e
# CVE-2019-11324 Certification mishandle when error should be thrown
6bbd3e
# https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-11324
6bbd3e
Patch7:         CVE-2019-11324.patch
6bbd3e
6bbd3e
# Patch for CVE in the bundled requests
6bbd3e
# CVE-2018-18074 Redirect from HTTPS to HTTP does not remove Authorization header
6bbd3e
# This patch fixes both the CVE
6bbd3e
# https://bugzilla.redhat.com/show_bug.cgi?id=1643829
6bbd3e
# and the subsequent regression
6bbd3e
# https://github.com/psf/requests/pull/4851
6bbd3e
Patch8:         CVE-2018-18074.patch
6bbd3e
e0db82
# Downstream only patch
e0db82
# Users are upgrading pip9 to pip10 by various manners,
e0db82
# one of them is `pip install --user --upgrade pip`.
e0db82
# If they do that and they run `pip` or  `pip3`, the one from /usr/bin is used.
e0db82
# However that's the one from this RPM package (pip9) and the import in there
e0db82
# fails (it tries to import from ~/.local, but pip10 is there with a bit
e0db82
# different API).
e0db82
# We add this patch as a dirty workaround to make /usr/bin/pip* work with
e0db82
# both pip9 (from this RPM) and pip10 (from whatever).
e0db82
# A proper fix is to put ~/.local/bin in front of /usr/bin in the PATH,
e0db82
# however others are against that and we cannot change it for existing
e0db82
# installs/user homes anyway.
e0db82
# https://bugzilla.redhat.com/show_bug.cgi?id=1569488
e0db82
# https://bugzilla.redhat.com/show_bug.cgi?id=1571650
e0db82
# WARNING: /usr/bin/pip* are entrypoints, this cannot be applied in %%prep!
e0db82
# %%patch10 doesn't work outside of %%prep, so we add it as a source
e0db82
Source10:        pip9-allow-pip10-import.patch
e0db82
e0db82
%description
e0db82
pip is a package management system used to install and manage software packages
e0db82
written in Python. Many packages can be found in the Python Package Index
e0db82
(PyPI). pip is a recursive acronym that can stand for either "Pip Installs
e0db82
Packages" or "Pip Installs Python".
e0db82
e0db82
e0db82
%if %{with python2}
e0db82
%package -n python2-%{srcname}
e0db82
Summary:        A tool for installing and managing Python 2 packages
e0db82
Group:          Development/Libraries
e0db82
BuildRequires:  python2-devel
e0db82
BuildRequires:  python2-setuptools
e0db82
%if %{with tests}
e0db82
BuildRequires:  python2-mock
e0db82
BuildRequires:  python2-pytest
e0db82
BuildRequires:  python2-pretend
e0db82
BuildRequires:  python2-freezegun
e0db82
BuildRequires:  python2-pytest-capturelog
e0db82
BuildRequires:  python2-scripttest
e0db82
BuildRequires:  python2-virtualenv
e0db82
%endif
e0db82
%if %{without bootstrap}
e0db82
BuildRequires:  python2-pip
e0db82
BuildRequires:  python2-wheel
e0db82
%endif
e0db82
Requires:       python2-setuptools
e0db82
e0db82
# Virtual provides for the packages bundled by pip.
e0db82
# You can find the versions in pip/_vendor/vendor.txt file.
e0db82
# Don't forget to update this bellow for python3 as well.
e0db82
Provides: bundled(python2dist(appdirs)) = 1.4.0
e0db82
Provides: bundled(python2dist(cachecontrol)) = 0.11.7
e0db82
Provides: bundled(python2dist(colorama)) = 0.3.7
e0db82
Provides: bundled(python2dist(distlib)) = 0.2.4
e0db82
Provides: bundled(python2dist(distro)) = 1.0.1
e0db82
Provides: bundled(python2dist(html5lib)) = 1.0b10
e0db82
Provides: bundled(python2dist(ipaddress) = 1.0.17
e0db82
Provides: bundled(python2dist(lockfile)) = 0.12.2
e0db82
Provides: bundled(python2dist(packaging)) = 16.8
e0db82
Provides: bundled(python2dist(setuptools)) = 28.8.0
e0db82
Provides: bundled(python2dist(progress)) = 1.2
e0db82
Provides: bundled(python2dist(pyparsing)) = 2.1.10
e0db82
Provides: bundled(python2dist(requests)) = 2.11.1
e0db82
Provides: bundled(python2dist(retrying)) = 1.3.3
e0db82
Provides: bundled(python2dist(six)) = 1.10.0
e0db82
Provides: bundled(python2dist(webencodings)) = 0.5
e0db82
e0db82
# Bundled within the requests bundle
e0db82
Provides: bundled(python2dist(chardet)) = 2.3.0
e0db82
Provides: bundled(python2dist(urllib3)) = 1.16
e0db82
e0db82
%{?python_provide:%python_provide python2-%{srcname}}
e0db82
e0db82
%description -n python2-%{srcname}
e0db82
pip is a package management system used to install and manage software packages
e0db82
written in Python. Many packages can be found in the Python Package Index
e0db82
(PyPI). pip is a recursive acronym that can stand for either "Pip Installs
e0db82
Packages" or "Pip Installs Python".
e0db82
e0db82
%endif # with python2
e0db82
e0db82
e0db82
%if %{with python3}
e0db82
%package -n python%{python3_pkgversion}-%{srcname}
e0db82
Summary:        A tool for installing and managing Python3 packages
e0db82
Group:          Development/Libraries
e0db82
e0db82
BuildRequires:  python%{python3_pkgversion}-devel
e0db82
# RHEL7: python-pip is rebuilt before the final build of python3, which
e0db82
# adds the dependency on python3-rpm-generators, so we require it manually.
e0db82
BuildRequires:  python%{python3_pkgversion}-rpm-generators
e0db82
BuildRequires:  python%{python3_pkgversion}-setuptools
e0db82
BuildRequires:  bash-completion
e0db82
%if %{with tests}
e0db82
BuildRequires:  python%{python3_pkgversion}-mock
e0db82
BuildRequires:  python%{python3_pkgversion}-pytest
e0db82
BuildRequires:  python%{python3_pkgversion}-pretend
e0db82
BuildRequires:  python%{python3_pkgversion}-freezegun
e0db82
BuildRequires:  python%{python3_pkgversion}-pytest-capturelog
e0db82
BuildRequires:  python%{python3_pkgversion}-scripttest
e0db82
BuildRequires:  python%{python3_pkgversion}-virtualenv
e0db82
%endif
e0db82
%if %{without bootstrap}
e0db82
BuildRequires:  python%{python3_pkgversion}-pip
e0db82
BuildRequires:  python%{python3_pkgversion}-wheel
e0db82
%endif
e0db82
Requires:  python%{python3_pkgversion}-setuptools
e0db82
e0db82
# Virtual provides for the packages bundled by pip.
e0db82
# See the python2 list above for instructions.
e0db82
Provides: bundled(python3dist(appdirs)) = 1.4.0
e0db82
Provides: bundled(python3dist(cachecontrol)) = 0.11.7
e0db82
Provides: bundled(python3dist(colorama)) = 0.3.7
e0db82
Provides: bundled(python3dist(distlib)) = 0.2.4
e0db82
Provides: bundled(python3dist(distro)) = 1.0.1
e0db82
Provides: bundled(python3dist(html5lib)) = 1.0b10
e0db82
Provides: bundled(python3dist(ipaddress) = 1.0.17
e0db82
Provides: bundled(python3dist(lockfile)) = 0.12.2
e0db82
Provides: bundled(python3dist(packaging)) = 16.8
e0db82
Provides: bundled(python3dist(setuptools)) = 28.8.0
e0db82
Provides: bundled(python3dist(progress)) = 1.2
e0db82
Provides: bundled(python3dist(pyparsing)) = 2.1.10
e0db82
Provides: bundled(python3dist(requests)) = 2.11.1
e0db82
Provides: bundled(python3dist(retrying)) = 1.3.3
e0db82
Provides: bundled(python3dist(six)) = 1.10.0
e0db82
Provides: bundled(python3dist(webencodings)) = 0.5
e0db82
e0db82
# Bundled within the requests bundle
e0db82
Provides: bundled(python3dist(chardet)) = 2.3.0
e0db82
Provides: bundled(python3dist(urllib3)) = 1.16
e0db82
e0db82
%{?python_provide:%python_provide python%{python3_pkgversion}-%{srcname}}
e0db82
e0db82
# We're replacing the functionality of the python36 packages from EPEL
e0db82
Provides: python36-pip = %{version}-%{release}
e0db82
Obsoletes: python36-pip < %{version}-%{release}
e0db82
e0db82
%description -n python%{python3_pkgversion}-%{srcname}
e0db82
pip is a package management system used to install and manage software packages
e0db82
written in Python. Many packages can be found in the Python Package Index
e0db82
(PyPI). pip is a recursive acronym that can stand for either "Pip Installs
e0db82
Packages" or "Pip Installs Python".
e0db82
e0db82
%if %{with doc}
e0db82
%package doc
e0db82
Summary:        A documentation for a tool for installing and managing Python packages
e0db82
e0db82
BuildRequires:  python%{python3_pkgversion}-sphinx
e0db82
e0db82
%description doc
e0db82
A documentation for a tool for installing and managing Python packages
e0db82
e0db82
%endif
e0db82
e0db82
%endif # with python3
e0db82
e0db82
e0db82
%prep
e0db82
%if %{with doc} && %{without python3}
e0db82
echo "This combination (with doc, without python3) is unsupported"
e0db82
exit 1
e0db82
%endif
e0db82
e0db82
%setup -q -n %{srcname}-%{version}
e0db82
%if %{with tests}
e0db82
tar -xf %{SOURCE1}
e0db82
%endif
e0db82
e0db82
%patch0 -p1
e0db82
%patch1 -p1
e0db82
%patch2 -p1
e0db82
%patch3 -p1
e0db82
%patch4 -p1
e0db82
6bbd3e
# Patching of bundled libraries
6bbd3e
pushd pip/_vendor/urllib3
6bbd3e
%patch5 -p1
6bbd3e
%patch6 -p1
6bbd3e
%patch7 -p1
6bbd3e
popd
6bbd3e
pushd pip/_vendor/requests
6bbd3e
%patch8 -p1
6bbd3e
popd
6bbd3e
e0db82
# this goes together with patch4
e0db82
rm pip/_vendor/certifi/*.pem
6bbd3e
rm pip/_vendor/requests/*.pem
e0db82
sed -i '/\.pem$/d' pip.egg-info/SOURCES.txt
e0db82
e0db82
sed -i '1d' pip/__init__.py
e0db82
e0db82
# Remove ordereddict as it is only required for python <= 2.6
e0db82
rm pip/_vendor/ordereddict.py
e0db82
e0db82
e0db82
%build
e0db82
%if %{with python2}
e0db82
%if %{without bootstrap}
e0db82
%py2_build_wheel
e0db82
%else
e0db82
%py2_build
e0db82
%endif
e0db82
%endif # with python2
e0db82
e0db82
%if %{with python3}
e0db82
%if %{without bootstrap}
e0db82
%py3_build_wheel
e0db82
%else
e0db82
%py3_build
e0db82
%endif
e0db82
%endif # with python3
e0db82
e0db82
%if %{with doc}
e0db82
pushd docs
e0db82
make html
e0db82
make man
e0db82
rm _build/html/.buildinfo
e0db82
popd
e0db82
%endif
e0db82
e0db82
e0db82
%install
e0db82
%if %{with python3}
e0db82
%if %{without bootstrap}
e0db82
%py3_install_wheel %{python3_wheelname}
e0db82
%else
e0db82
%py3_install
e0db82
%endif
e0db82
e0db82
# TODO: we have to remove this by hand now, but it'd be nice if we wouldn't have to
e0db82
# (pip install wheel doesn't overwrite)
e0db82
rm %{buildroot}%{_bindir}/pip
e0db82
%endif # with python3
e0db82
e0db82
%if %{with doc}
e0db82
install -d %{buildroot}%{_mandir}/man1
e0db82
%if %{with python2}
e0db82
install -pm0644 docs/_build/man/*.1 %{buildroot}%{_mandir}/man1/pip.1
e0db82
install -pm0644 docs/_build/man/*.1 %{buildroot}%{_mandir}/man1/pip2.1
e0db82
%endif
e0db82
%if %{with python3}
e0db82
install -pm0644 docs/_build/man/*.1 %{buildroot}%{_mandir}/man1/pip3.1
e0db82
%endif
e0db82
%endif # with doc
e0db82
e0db82
%if %{with python2}
e0db82
%if %{without bootstrap}
e0db82
%py2_install_wheel %{python2_wheelname}
e0db82
%else
e0db82
%py2_install
e0db82
%endif
e0db82
%endif # with python2
e0db82
e0db82
# before we ln -s anything, we apply Source10 patch to all pips:
e0db82
# we don't do this when bootstrapping because the entrypoints look different
e0db82
# this is not worth dealing with because we'll rebuild once more anyway
e0db82
%if %{without bootstrap}
e0db82
for PIP in %{buildroot}%{_bindir}/pip*; do
e0db82
  patch -p1 $PIP < %{SOURCE10}
e0db82
done
e0db82
%endif # without bootstrap
e0db82
e0db82
mkdir -p %{buildroot}%{bashcompdir}
e0db82
%if %{with python2}
e0db82
PYTHONPATH=%{buildroot}%{python2_sitelib} \
e0db82
    %{buildroot}%{_bindir}/pip completion --bash \
e0db82
    > %{buildroot}%{bashcompdir}/pip
e0db82
%endif
e0db82
%if %{with python3}
e0db82
PYTHONPATH=%{buildroot}%{python3_sitelib} \
e0db82
    %{buildroot}%{_bindir}/pip3 completion --bash \
e0db82
    > %{buildroot}%{bashcompdir}/pip3
e0db82
%endif
e0db82
pips2=pip
e0db82
pips3=pip3
e0db82
for pip in %{buildroot}%{_bindir}/pip*; do
e0db82
    pip=$(basename $pip)
e0db82
    case $pip in
e0db82
%if %{with python2}
e0db82
        pip2*)
e0db82
            pips2="$pips2 $pip"
e0db82
%if 0%{?bashcomp2}
e0db82
            ln -s pip %{buildroot}%{bashcompdir}/$pip
e0db82
%endif
e0db82
            ;;
e0db82
%endif
e0db82
%if %{with python3}
e0db82
        pip3?*)
e0db82
            pips3="$pips3 $pip"
e0db82
%if 0%{?bashcomp2}
e0db82
            ln -s pip3 %{buildroot}%{bashcompdir}/$pip
e0db82
%endif
e0db82
            ;;
e0db82
%endif
e0db82
    esac
e0db82
done
e0db82
%if %{with python3}
e0db82
sed -i -e "s/^\\(complete.*\\) pip\$/\\1 $pips3/" \
e0db82
    -e s/_pip_completion/_pip3_completion/ \
e0db82
    %{buildroot}%{bashcompdir}/pip3
e0db82
%endif
e0db82
%if %{with python2}
e0db82
sed -i -e "s/^\\(complete.*\\) pip\$/\\1 $pips2/" \
e0db82
    %{buildroot}%{bashcompdir}/pip
e0db82
%endif
e0db82
e0db82
# Provide symlinks to executables to comply with Fedora guidelines for Python
e0db82
%if %{with python2}
e0db82
ln -s ./pip%{python2_version} %{buildroot}%{_bindir}/pip-%{python2_version}
e0db82
ln -s ./pip-%{python2_version} %{buildroot}%{_bindir}/pip-2
e0db82
%endif
e0db82
%if %{with python3}
e0db82
ln -s ./pip%{python3_version} %{buildroot}%{_bindir}/pip-%{python3_version}
e0db82
ln -s ./pip-%{python3_version} %{buildroot}%{_bindir}/pip-3
e0db82
%endif
e0db82
e0db82
e0db82
# Make sure the INSTALLER is not pip, otherwise Patch2 won't work
e0db82
# TODO Maybe we should make all our python packages have this?
e0db82
%if %{without bootstrap}
e0db82
%if %{with python2}
e0db82
echo rpm > %{buildroot}%{python2_sitelib}/pip-%{version}.dist-info/INSTALLER
e0db82
%endif
e0db82
%if %{with python3}
e0db82
echo rpm > %{buildroot}%{python3_sitelib}/pip-%{version}.dist-info/INSTALLER
e0db82
%endif
e0db82
%endif
e0db82
e0db82
%if %{with tests}
e0db82
%check
e0db82
%if %{with python2}
e0db82
py.test-%{python2_version} -m 'not network'
e0db82
%endif
e0db82
%if %{with python3}
e0db82
py.test-%{python3_version} -m 'not network'
e0db82
%endif
e0db82
%endif
e0db82
e0db82
e0db82
%if %{with python2}
e0db82
%files -n python2-%{srcname}
e0db82
%license LICENSE.txt
e0db82
%doc README.rst
e0db82
%if %{with doc}
e0db82
%{_mandir}/man1/pip.*
e0db82
%{_mandir}/man1/pip2.*
e0db82
%endif
e0db82
%{_bindir}/pip
e0db82
%{_bindir}/pip2
e0db82
%{_bindir}/pip-2
e0db82
%{_bindir}/pip%{python2_version}
e0db82
%{_bindir}/pip-%{python2_version}
e0db82
%{python2_sitelib}/pip*
e0db82
%dir %{bashcompdir}
e0db82
%{bashcompdir}/pip
e0db82
%if 0%{?bashcomp2}
e0db82
%{bashcompdir}/pip2*
e0db82
%dir %(dirname %{bashcompdir})
e0db82
%endif
e0db82
%endif # with python2
e0db82
e0db82
%if %{with python3}
e0db82
%files -n python%{python3_pkgversion}-%{srcname}
e0db82
%license LICENSE.txt
e0db82
%doc README.rst
e0db82
%if %{with doc}
e0db82
%{_mandir}/man1/pip3.*
e0db82
%endif
e0db82
%{_bindir}/pip3
e0db82
%{_bindir}/pip-3
e0db82
%{_bindir}/pip%{python3_version}
e0db82
%{_bindir}/pip-%{python3_version}
e0db82
%{python3_sitelib}/pip*
e0db82
%dir %{bashcompdir}
e0db82
%{bashcompdir}/pip3*
e0db82
%if 0%{?bashcomp2}
e0db82
%dir %(dirname %{bashcompdir})
e0db82
%endif
e0db82
e0db82
%if %{with doc}
e0db82
%files doc
e0db82
%license LICENSE.txt
e0db82
%doc README.rst
e0db82
%doc docs/_build/html
e0db82
%endif # with doc
e0db82
%endif # with python3
e0db82
e0db82
%changelog
6bbd3e
* Wed Mar 04 2020 Charalampos Stratakis <cstratak@redhat.com> - 9.0.3-8
6bbd3e
- Remove unused CA bundle from the bundled requests library
6bbd3e
Resolves: rhbz#1775203
6bbd3e
6bbd3e
* Thu Feb 13 2020 Lumír Balhar <lbalhar@redhat.com> - 9.0.3-7
6bbd3e
- Bump
6bbd3e
Resolves: rhbz#1649153
6bbd3e
Resolves: rhbz#1700824
6bbd3e
Resolves: rhbz#1702473
6bbd3e
Resolves: rhbz#1643829
6bbd3e
6bbd3e
* Thu Jan 09 2020 Lumír Balhar <lbalhar@redhat.com> - 9.0.3-6
6bbd3e
- Add four new patches for CVEs in bundled urllib3 and requests
6bbd3e
CVE-2018-20060, CVE-2019-11236, CVE-2019-11324, CVE-2018-18074
6bbd3e
Resolves: rhbz#1649153
6bbd3e
Resolves: rhbz#1700824
6bbd3e
Resolves: rhbz#1702473
6bbd3e
Resolves: rhbz#1643829
6bbd3e
e0db82
* Thu Mar 21 2019 Tomas Orsava <torsava@redhat.com> - 9.0.3-5
e0db82
- Add a workaround for a bug in bytecompilation (rhbz#1691402)
e0db82
Resolves: rhbz#1660573
e0db82
e0db82
* Thu Mar 14 2019 Tomas Orsava <torsava@redhat.com> - 9.0.3-4
e0db82
- Finish bootstrapping in RHEL-7.7
e0db82
Resolves: rhbz#1660573
e0db82
e0db82
* Mon Jan 14 2019 Lumír Balhar <lbalhar@redhat.com> - 9.0.3-3
e0db82
- Converting pip specfile from F28 to RHEL7
e0db82
- Disabled building of the Python 2 subpackage
e0db82
- Disabled building of docs, because we don't ship its build dependencies in
e0db82
  RHEL7
e0db82
- Updated to a newer version of tests to match the package version
e0db82
- Backported Patch3 and Patch4 from Fedora
e0db82
Resolves: rhbz#1660573
e0db82
e0db82
* Fri May 04 2018 Miro Hrončok <mhroncok@redhat.com> - 9.0.3-2
e0db82
- Allow to import pip10's main from pip9's /usr/bin/pip
e0db82
- Do not show the "new version of pip" warning outside of venv
e0db82
Resolves: rhbz#1569488
e0db82
Resolves: rhbz#1571650
e0db82
Resolves: rhbz#1573755
e0db82
e0db82
* Thu Mar 29 2018 Charalampos Stratakis <cstratak@redhat.com> - 9.0.3-1
e0db82
- Update to 9.0.3
e0db82
e0db82
* Wed Feb 21 2018 Lumír Balhar <lbalhar@redhat.com> - 9.0.1-16
e0db82
- Include built HTML documentation (in the new -doc subpackage) and man page
e0db82
e0db82
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 9.0.1-15
e0db82
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
e0db82
e0db82
* Mon Dec 04 2017 Charalampos Stratakis <cstratak@redhat.com> - 9.0.1-14
e0db82
- Reintroduce the ipaddress module in the python3 subpackage.
e0db82
e0db82
* Mon Nov 20 2017 Charalampos Stratakis <cstratak@redhat.com> - 9.0.1-13
e0db82
- Add virtual provides for the bundled libraries. (rhbz#1096912)
e0db82
e0db82
* Tue Aug 29 2017 Tomas Orsava <torsava@redhat.com> - 9.0.1-12
e0db82
- Switch macros to bcond's and make Python 2 optional to facilitate building
e0db82
  the Python 2 and Python 3 modules
e0db82
e0db82
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 9.0.1-11
e0db82
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
e0db82
e0db82
* Tue May 23 2017 Tomas Orsava <torsava@redhat.com> - 9.0.1-10
e0db82
- Modernized package descriptions
e0db82
Resolves: rhbz#1452568
e0db82
e0db82
* Tue Mar 21 2017 Tomas Orsava <torsava@redhat.com> - 9.0.1-9
e0db82
- Fix typo in the sudo pip warning
e0db82
e0db82
* Fri Mar 03 2017 Tomas Orsava <torsava@redhat.com> - 9.0.1-8
e0db82
- Patch 1 update: No sudo pip warning in venv or virtualenv
e0db82
e0db82
* Thu Feb 23 2017 Tomas Orsava <torsava@redhat.com> - 9.0.1-7
e0db82
- Patch 1 update: Customize the warning with the proper version of the pip
e0db82
  command
e0db82
e0db82
* Tue Feb 14 2017 Tomas Orsava <torsava@redhat.com> - 9.0.1-6
e0db82
- Added patch 1: Emit a warning when running with root privileges
e0db82
e0db82
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 9.0.1-5
e0db82
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
e0db82
e0db82
* Mon Jan 02 2017 Tomas Orsava <torsava@redhat.com> - 9.0.1-4
e0db82
- Provide symlinks to executables to comply with Fedora guidelines for Python
e0db82
Resolves: rhbz#1406922
e0db82
e0db82
* Fri Dec 09 2016 Charalampos Stratakis <cstratak@redhat.com> - 9.0.1-3
e0db82
- Rebuild for Python 3.6 with wheel
e0db82
e0db82
* Fri Dec 09 2016 Charalampos Stratakis <cstratak@redhat.com> - 9.0.1-2
e0db82
- Rebuild for Python 3.6 without wheel
e0db82
e0db82
* Fri Nov 18 2016 Orion Poplawski <orion@cora.nwra.com> - 9.0.1-1
e0db82
- Update to 9.0.1
e0db82
e0db82
* Fri Nov 18 2016 Orion Poplawski <orion@cora.nwra.com> - 8.1.2-5
e0db82
- Enable EPEL Python 3 builds
e0db82
- Use new python macros
e0db82
- Cleanup spec
e0db82
e0db82
* Fri Aug 05 2016 Tomas Orsava <torsava@redhat.com> - 8.1.2-4
e0db82
- Updated the test sources
e0db82
e0db82
* Fri Aug 05 2016 Tomas Orsava <torsava@redhat.com> - 8.1.2-3
e0db82
- Moved python-pip into the python2-pip subpackage
e0db82
- Added the python_provide macro
e0db82
e0db82
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 8.1.2-2
e0db82
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
e0db82
e0db82
* Tue May 17 2016 Tomas Orsava <torsava@redhat.com> - 8.1.2-1
e0db82
- Update to 8.1.2
e0db82
- Moved to a new PyPI URL format
e0db82
- Updated the prefix-stripping patch because of upstream changes in pip/wheel.py
e0db82
e0db82
* Mon Feb 22 2016 Slavek Kabrda <bkabrda@redhat.com> - 8.0.2-1
e0db82
- Update to 8.0.2
e0db82
e0db82
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 7.1.0-4
e0db82
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
e0db82
e0db82
* Wed Oct 14 2015 Robert Kuska <rkuska@redhat.com> - 7.1.0-3
e0db82
- Rebuilt for Python3.5 rebuild
e0db82
- With wheel set to 1
e0db82
e0db82
* Tue Oct 13 2015 Robert Kuska <rkuska@redhat.com> - 7.1.0-2
e0db82
- Rebuilt for Python3.5 rebuild
e0db82
e0db82
* Wed Jul 01 2015 Slavek Kabrda <bkabrda@redhat.com> - 7.1.0-1
e0db82
- Update to 7.1.0
e0db82
e0db82
* Tue Jun 30 2015 Ville Skyttä <ville.skytta@iki.fi> - 7.0.3-3
e0db82
- Install bash completion
e0db82
- Ship LICENSE.txt as %%license where available
e0db82
e0db82
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 7.0.3-2
e0db82
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
e0db82
e0db82
* Thu Jun 04 2015 Matej Stuchlik <mstuchli@redhat.com> - 7.0.3-1
e0db82
- Update to 7.0.3
e0db82
e0db82
* Fri Mar 06 2015 Matej Stuchlik <mstuchli@redhat.com> - 6.0.8-1
e0db82
- Update to 6.0.8
e0db82
e0db82
* Thu Dec 18 2014 Slavek Kabrda <bkabrda@redhat.com> - 1.5.6-5
e0db82
- Only enable tests on Fedora.
e0db82
e0db82
* Mon Dec 01 2014 Matej Stuchlik <mstuchli@redhat.com> - 1.5.6-4
e0db82
- Add tests
e0db82
- Add patch skipping tests requiring Internet access
e0db82
e0db82
* Tue Nov 18 2014 Matej Stuchlik <mstuchli@redhat.com> - 1.5.6-3
e0db82
- Added patch for local dos with predictable temp dictionary names
e0db82
  (http://seclists.org/oss-sec/2014/q4/655)
e0db82
e0db82
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.6-2
e0db82
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
e0db82
e0db82
* Sun May 25 2014 Matej Stuchlik <mstuchli@redhat.com> - 1.5.6-1
e0db82
- Update to 1.5.6
e0db82
e0db82
* Fri Apr 25 2014 Matej Stuchlik <mstuchli@redhat.com> - 1.5.4-4
e0db82
- Rebuild as wheel for Python 3.4
e0db82
e0db82
* Thu Apr 24 2014 Matej Stuchlik <mstuchli@redhat.com> - 1.5.4-3
e0db82
- Disable build_wheel
e0db82
e0db82
* Thu Apr 24 2014 Matej Stuchlik <mstuchli@redhat.com> - 1.5.4-2
e0db82
- Rebuild as wheel for Python 3.4
e0db82
e0db82
* Mon Apr 07 2014 Matej Stuchlik <mstuchli@redhat.com> - 1.5.4-1
e0db82
- Updated to 1.5.4
e0db82
e0db82
* Mon Oct 14 2013 Tim Flink <tflink@fedoraproject.org> - 1.4.1-1
e0db82
- Removed patch for CVE 2013-2099 as it has been included in the upstream 1.4.1 release
e0db82
- Updated version to 1.4.1
e0db82
e0db82
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.1-5
e0db82
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
e0db82
e0db82
* Tue Jul 16 2013 Toshio Kuratomi <toshio@fedoraproject.org> - 1.3.1-4
e0db82
- Fix for CVE 2013-2099
e0db82
e0db82
* Thu May 23 2013 Tim Flink <tflink@fedoraproject.org> - 1.3.1-3
e0db82
- undo python2 executable rename to python-pip. fixes #958377
e0db82
- fix summary to match upstream
e0db82
e0db82
* Mon May 06 2013 Kevin Kofler <Kevin@tigcc.ticalc.org> - 1.3.1-2
e0db82
- Fix main package Summary, it's for Python 2, not 3 (#877401)
e0db82
e0db82
* Fri Apr 26 2013 Jon Ciesla <limburgher@gmail.com> - 1.3.1-1
e0db82
- Update to 1.3.1, fix for CVE-2013-1888.
e0db82
e0db82
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.1-3
e0db82
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
e0db82
e0db82
* Tue Oct 09 2012 Tim Flink <tflink@fedoraproject.org> - 1.2.1-2
e0db82
- Fixing files for python3-pip
e0db82
e0db82
* Thu Oct 04 2012 Tim Flink <tflink@fedoraproject.org> - 1.2.1-1
e0db82
- Update to upstream 1.2.1
e0db82
- Change binary from pip-python to python-pip (RHBZ#855495)
e0db82
- Add alias from python-pip to pip-python, to be removed at a later date
e0db82
e0db82
* Tue May 15 2012 Tim Flink <tflink@fedoraproject.org> - 1.1.0-1
e0db82
- Update to upstream 1.1.0
e0db82
e0db82
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.2-2
e0db82
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
e0db82
e0db82
* Sat Oct 22 2011 Tim Flink <tflink@fedoraproject.org> - 1.0.2-1
e0db82
- update to 1.0.2 and added python3 subpackage
e0db82
e0db82
* Wed Jun 22 2011 Tim Flink <tflink@fedoraproject.org> - 0.8.3-1
e0db82
- update to 0.8.3 and project home page
e0db82
e0db82
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.2-2
e0db82
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
e0db82
e0db82
* Mon Dec 20 2010 Luke Macken <lmacken@redhat.com> - 0.8.2-1
e0db82
- update to 0.8.2 of pip
e0db82
* Mon Aug 30 2010 Peter Halliday <phalliday@excelsiorsystems.net> - 0.8-1
e0db82
- update to 0.8 of pip
e0db82
* Thu Jul 22 2010 David Malcolm <dmalcolm@redhat.com> - 0.7.2-5
e0db82
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
e0db82
e0db82
* Wed Jul 7 2010 Peter Halliday <phalliday@excelsiorsystems.net> - 0.7.2-1
e0db82
- update to 0.7.2 of pip
e0db82
* Sun May 23 2010 Peter Halliday <phalliday@excelsiorsystems.net> - 0.7.1-1
e0db82
- update to 0.7.1 of pip
e0db82
* Fri Jan 1 2010 Peter Halliday <phalliday@excelsiorsystems.net> - 0.6.1.4
e0db82
- fix dependency issue
e0db82
* Fri Dec 18 2009 Peter Halliday <phalliday@excelsiorsystems.net> - 0.6.1-2
e0db82
- fix spec file 
e0db82
* Thu Dec 17 2009 Peter Halliday <phalliday@excelsiorsystems.net> - 0.6.1-1
e0db82
- upgrade to 0.6.1 of pip
e0db82
* Mon Aug 31 2009 Peter Halliday <phalliday@excelsiorsystems.net> - 0.4-1
e0db82
- Initial package
e0db82