From ed5c541dc1c1985d18a593eeb4d4f2af85dbed10e0510056a655fd2b20f633bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Fri, 18 Oct 2019 12:29:37 +0000 Subject: [PATCH] Accepting request 741057 from home:mcalabkova:branches:devel:languages:python - Update to version 19.3.1 * Document Python 3.8 support. * Fix bug that prevented installation of PEP 517 packages without setup.py. * Remove undocumented support for un-prefixed URL requirements pointing to SVN repositories. * Remove the deprecated --venv option from pip config. * Make pip show warn about packages not found. * Abort installation if any archive contains a file which would be placed outside the extraction location. * pip's CLI completion code no longer prints a Traceback if it is interrupted. * Ignore errors copying socket files for local source installs (in Python 3). * Skip copying .tox and .nox directories to temporary build directories * Ignore "require_virtualenv" in pip config OBS-URL: https://build.opensuse.org/request/show/741057 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pip?expand=0&rev=74 --- 19.3.1.tar.gz | 3 +++ pip-19.2.2.tar.xz | 3 --- pytest5.patch | 6 +++--- python-pip.changes | 15 +++++++++++++++ python-pip.spec | 10 ++++------ 5 files changed, 25 insertions(+), 12 deletions(-) create mode 100644 19.3.1.tar.gz delete mode 100644 pip-19.2.2.tar.xz diff --git a/19.3.1.tar.gz b/19.3.1.tar.gz new file mode 100644 index 0000000..e079075 --- /dev/null +++ b/19.3.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f12b7a6be2dbbfeefae5f14992c89175ef72ce0fe96452b4f66be855a12841ff +size 6409819 diff --git a/pip-19.2.2.tar.xz b/pip-19.2.2.tar.xz deleted file mode 100644 index 3b0c745..0000000 --- a/pip-19.2.2.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:67fc6114343aa2f42eb46828fa7debf8fdec6df20bb38215be0c561ca48dc4e1 -size 5669932 diff --git a/pytest5.patch b/pytest5.patch index 6879449..5ff94e8 100644 --- a/pytest5.patch +++ b/pytest5.patch @@ -1,7 +1,7 @@ -Index: pip-19.1.1+git.1557777841.63878672/tests/unit/test_wheel.py +Index: pip-19.1.1/tests/unit/test_wheel.py =================================================================== ---- pip-19.1.1+git.1557777841.63878672.orig/tests/unit/test_wheel.py -+++ pip-19.1.1+git.1557777841.63878672/tests/unit/test_wheel.py +--- pip-19.1.1.orig/tests/unit/test_wheel.py ++++ pip-19.1.1/tests/unit/test_wheel.py @@ -378,7 +378,7 @@ def test_check_compatibility(): # test raises with correct error with pytest.raises(UnsupportedWheel) as e: diff --git a/python-pip.changes b/python-pip.changes index e740e12..eb9f6ac 100644 --- a/python-pip.changes +++ b/python-pip.changes @@ -1,3 +1,18 @@ +------------------------------------------------------------------- +Fri Oct 18 11:28:38 UTC 2019 - Marketa Calabkova + +- Update to version 19.3.1 + * Document Python 3.8 support. + * Fix bug that prevented installation of PEP 517 packages without setup.py. + * Remove undocumented support for un-prefixed URL requirements pointing to SVN repositories. + * Remove the deprecated --venv option from pip config. + * Make pip show warn about packages not found. + * Abort installation if any archive contains a file which would be placed outside the extraction location. + * pip's CLI completion code no longer prints a Traceback if it is interrupted. + * Ignore errors copying socket files for local source installs (in Python 3). + * Skip copying .tox and .nox directories to temporary build directories + * Ignore "require_virtualenv" in pip config + ------------------------------------------------------------------- Tue Aug 13 08:19:21 UTC 2019 - mimi.vx@gmail.com diff --git a/python-pip.spec b/python-pip.spec index 4b2247c..01b0ada 100644 --- a/python-pip.spec +++ b/python-pip.spec @@ -26,13 +26,12 @@ %bcond_with test %endif Name: python-pip%{psuffix} -Version: 19.2.2 +Version: 19.3.1 Release: 0 Summary: A Python package management system License: MIT -Group: Development/Languages/Python URL: http://www.pip-installer.org -Source: pip-%{version}.tar.xz +Source: https://github.com/pypa/pip/archive/%{version}.tar.gz Patch0: pip-shipped-requests-cabundle.patch Patch1: pytest5.patch BuildRequires: %{python_module setuptools} @@ -52,6 +51,7 @@ BuildRequires: %{python_module PyYAML} BuildRequires: %{python_module docutils} BuildRequires: %{python_module freezegun} BuildRequires: %{python_module mock} +BuildRequires: %{python_module pip = %{version}} BuildRequires: %{python_module pretend} BuildRequires: %{python_module pytest} BuildRequires: %{python_module scripttest >= 1.3} @@ -62,8 +62,6 @@ BuildRequires: subversion %endif %python_subpackages -%define upversion %(echo %{version} |cut -d+ -f 1) - %description Pip is a replacement for easy_install. It uses mostly the same techniques for finding packages, so packages that were made easy_installable should be @@ -117,7 +115,7 @@ PRIO=$(echo %{python_version} | tr -d .) %python2_only %{_bindir}/pip2 %python3_only %{_bindir}/pip3 %ghost %{_sysconfdir}/alternatives/pip -%{python_sitelib}/pip-%{upversion}-py%{python_version}.egg-info +%{python_sitelib}/pip-%{version}-py%{python_version}.egg-info %{python_sitelib}/pip %endif