orion / rpms / python3x-pip

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