forked from pool/python-pip
Accepting request 673642 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/673642 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pip?expand=0&rev=40
This commit is contained in:
commit
b92b55d7ff
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:c0a292bd977ef590379a3f05d7b7f65135487b67470f6281289a94e015650ea1
|
|
||||||
size 1259370
|
|
3
pip-19.0.2.tar.gz
Normal file
3
pip-19.0.2.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:f851133f8b58283fa50d8c78675eb88d4ff4cde29b6c41205cd938b06338e0e5
|
||||||
|
size 1324514
|
@ -1,16 +1,12 @@
|
|||||||
Index: pip-18.0/src/pip/_vendor/certifi/core.py
|
Index: b/src/pip/_vendor/certifi/core.py
|
||||||
===================================================================
|
===================================================================
|
||||||
--- pip-18.0.orig/src/pip/_vendor/certifi/core.py
|
--- a/src/pip/_vendor/certifi/core.py
|
||||||
+++ pip-18.0/src/pip/_vendor/certifi/core.py
|
+++ b/src/pip/_vendor/certifi/core.py
|
||||||
@@ -7,7 +7,6 @@ certifi.py
|
@@ -7,13 +7,11 @@ certifi.py
|
||||||
|
|
||||||
This module returns the installation location of cacert.pem.
|
This module returns the installation location of cacert.pem.
|
||||||
"""
|
"""
|
||||||
-import os
|
-import os
|
||||||
import warnings
|
|
||||||
|
|
||||||
|
|
||||||
@@ -19,9 +18,8 @@ class DeprecatedBundleWarning(Deprecatio
|
|
||||||
|
|
||||||
|
|
||||||
def where():
|
def where():
|
||||||
@ -20,4 +16,4 @@ Index: pip-18.0/src/pip/_vendor/certifi/core.py
|
|||||||
+ return '/etc/ssl/ca-bundle.pem'
|
+ return '/etc/ssl/ca-bundle.pem'
|
||||||
|
|
||||||
|
|
||||||
def old_where():
|
if __name__ == '__main__':
|
@ -1,3 +1,138 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Feb 12 10:06:06 UTC 2019 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
|
- Avoid name repetition in summary. Summary should not be a
|
||||||
|
sentence (let alone three).
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Feb 11 13:54:34 UTC 2019 - Hans-Peter Jansen <hpj@urpla.net>
|
||||||
|
|
||||||
|
- Update to 19.0.2 (2019-02-09):
|
||||||
|
+ Bug Fixes
|
||||||
|
* Fix a crash where PEP 517-based builds using --no-cache-dir
|
||||||
|
would fail in some circumstances with an AssertionError due
|
||||||
|
to not finalizing a build directory internally. (#6197)
|
||||||
|
* Provide a better error message if attempting an editable
|
||||||
|
install of a directory with a pyproject.toml but no setup.py.
|
||||||
|
(#6170)
|
||||||
|
* The implicit default backend used for projects that provide a
|
||||||
|
pyproject.toml file without explicitly specifying build-
|
||||||
|
backend now behaves more like direct execution of setup.py,
|
||||||
|
and hence should restore compatibility with projects that
|
||||||
|
were unable to be installed with pip 19.0. This raised the
|
||||||
|
minimum required version of setuptools for such builds to
|
||||||
|
40.8.0. (#6163)
|
||||||
|
* Allow RECORD lines with more than three elements, and display
|
||||||
|
a warning. (#6165)
|
||||||
|
* AdjacentTempDirectory fails on unwritable directory instead
|
||||||
|
of locking up the uninstall command. (#6169)
|
||||||
|
* Make failed uninstalls roll back more reliably and better at
|
||||||
|
avoiding naming conflicts. (#6194)
|
||||||
|
* Ensure the correct wheel file is copied when building PEP 517
|
||||||
|
distribution is built. (#6196)
|
||||||
|
* The Python 2 end of life warning now only shows on CPython,
|
||||||
|
which is the implementation that has announced end of life
|
||||||
|
plans. (#6207)
|
||||||
|
+ Improved Documentation
|
||||||
|
* Re-write README and documentation index (#5815)
|
||||||
|
|
||||||
|
- Update to 19.0.1 (2019-01-23):
|
||||||
|
+ Bug Fixes
|
||||||
|
* Fix a crash when using –no-cache-dir with PEP 517
|
||||||
|
distributions (#6158, #6171)
|
||||||
|
|
||||||
|
- Update to 19.0 (2019-01-22):
|
||||||
|
+ Deprecations and Removals
|
||||||
|
* Deprecate support for Python 3.4 (#6106)
|
||||||
|
* Start printing a warning for Python 2.7 to warn of impending
|
||||||
|
Python 2.7 End-of-life and prompt users to start migrating to
|
||||||
|
Python 3. (#6148)
|
||||||
|
* Remove the deprecated --process-dependency-links option.
|
||||||
|
(#6060)
|
||||||
|
* Remove the deprecated SVN editable detection based on
|
||||||
|
dependency links during freeze. (#5866)
|
||||||
|
+ Features
|
||||||
|
* Implement PEP 517 (allow projects to specify a build backend
|
||||||
|
via pyproject.toml). (#5743)
|
||||||
|
* Implement manylinux2010 platform tag support. manylinux2010
|
||||||
|
is the successor to manylinux1. It allows carefully compiled
|
||||||
|
binary wheels to be installed on compatible Linux platforms.
|
||||||
|
(#5008)
|
||||||
|
* Improve build isolation: handle .pth files, so namespace
|
||||||
|
packages are correctly supported under Python 3.2 and
|
||||||
|
earlier. (#5656)
|
||||||
|
* Include the package name in a freeze warning if the package
|
||||||
|
is not installed. (#5943)
|
||||||
|
* Warn when dropping an --[extra-]index-url value that points
|
||||||
|
to an existing local directory. (#5827)
|
||||||
|
* Prefix pip’s --log file lines with their timestamp. (#6141)
|
||||||
|
+ Bug Fixes
|
||||||
|
* Avoid creating excessively long temporary paths when
|
||||||
|
uninstalling packages. (#3055)
|
||||||
|
* Redact the password from the URL in various log messages.
|
||||||
|
(#4746, #6124)
|
||||||
|
* Avoid creating excessively long temporary paths when
|
||||||
|
uninstalling packages. (#3055)
|
||||||
|
* Avoid printing a stack trace when given an invalid
|
||||||
|
requirement. (#5147)
|
||||||
|
* Present 401 warning if username/password do not work for URL
|
||||||
|
(#4833)
|
||||||
|
* Handle requests.exceptions.RetryError raised in PackageFinder
|
||||||
|
that was causing pip to fail silently when some indexes were
|
||||||
|
unreachable. (#5270, #5483)
|
||||||
|
* Handle a broken stdout pipe more gracefully (e.g. when
|
||||||
|
running pip list | head). (#4170)
|
||||||
|
* Fix crash from setting PIP_NO_CACHE_DIR=yes. (#5385)
|
||||||
|
* Fix crash from unparseable requirements when checking
|
||||||
|
installed packages. (#5839)
|
||||||
|
* Fix content type detection if a directory named like an
|
||||||
|
archive is used as a package source. (#5838)
|
||||||
|
* Fix listing of outdated packages that are not dependencies of
|
||||||
|
installed packages in pip list --outdated --not-required
|
||||||
|
(#5737)
|
||||||
|
* Fix sorting TypeError in move_wheel_files() when installing
|
||||||
|
some packages. (#5868)
|
||||||
|
* Fix support for invoking pip using python src/pip ....
|
||||||
|
(#5841)
|
||||||
|
* Greatly reduce memory usage when installing wheels containing
|
||||||
|
large files. (#5848)
|
||||||
|
* Editable non-VCS installs now freeze as editable. (#5031)
|
||||||
|
* Editable Git installs without a remote now freeze as
|
||||||
|
editable. (#4759)
|
||||||
|
* Canonicalize sdist file names so they can be matched to a
|
||||||
|
canonicalized package name passed to pip install. (#5870)
|
||||||
|
* Properly decode special characters in SVN URL credentials.
|
||||||
|
(#5968)
|
||||||
|
* Make PIP_NO_CACHE_DIR disable the cache also for truthy
|
||||||
|
values like "true", "yes", "1", etc. (#5735)
|
||||||
|
+ Vendored Libraries
|
||||||
|
* Include license text of vendored 3rd party libraries. (#5213)
|
||||||
|
* Update certifi to 2018.11.29
|
||||||
|
* Update colorama to 0.4.1
|
||||||
|
* Update distlib to 0.2.8
|
||||||
|
* Update idna to 2.8
|
||||||
|
* Update packaging to 19.0
|
||||||
|
* Update pep517 to 0.5.0
|
||||||
|
* Update pkg_resources to 40.6.3 (via setuptools)
|
||||||
|
* Update pyparsing to 2.3.1
|
||||||
|
* Update pytoml to 0.1.20
|
||||||
|
* Update requests to 2.21.0
|
||||||
|
* Update six to 1.12.0
|
||||||
|
* Update urllib3 to 1.24.1
|
||||||
|
+ Improved Documentation
|
||||||
|
* Include the Vendoring Policy in the documentation. (#5958)
|
||||||
|
* Add instructions for running pip from source to Development
|
||||||
|
documentation. (#5949)
|
||||||
|
* Remove references to removed #egg=<name>-<version>
|
||||||
|
functionality (#5888)
|
||||||
|
* Fix omission of command name in HTML usage documentation
|
||||||
|
(#5984)
|
||||||
|
|
||||||
|
- Fix patch pip-8.1.2-shipped-requests-cabundle.patch
|
||||||
|
this version is long gone
|
||||||
|
- Rename patch to pip-shipped-requests-cabundle.patch
|
||||||
|
- Fix and show shebang removal
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Dec 6 13:19:11 UTC 2018 - Tomáš Chvátal <tchvatal@suse.com>
|
Thu Dec 6 13:19:11 UTC 2018 - Tomáš Chvátal <tchvatal@suse.com>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-pip
|
# spec file for package python-pip
|
||||||
#
|
#
|
||||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -21,14 +21,14 @@
|
|||||||
# enable testing with a build conditional (off by default):
|
# enable testing with a build conditional (off by default):
|
||||||
%bcond_with test
|
%bcond_with test
|
||||||
Name: python-pip
|
Name: python-pip
|
||||||
Version: 18.1
|
Version: 19.0.2
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Pip installs packages. Python packages. An easy_install replacement
|
Summary: A Python package management system
|
||||||
License: MIT
|
License: MIT
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
URL: http://www.pip-installer.org
|
URL: http://www.pip-installer.org
|
||||||
Source: https://files.pythonhosted.org/packages/source/p/pip/pip-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/p/pip/pip-%{version}.tar.gz
|
||||||
Patch0: pip-8.1.2-shipped-requests-cabundle.patch
|
Patch0: pip-shipped-requests-cabundle.patch
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
@ -60,9 +60,10 @@ pip-installable as well.
|
|||||||
%prep
|
%prep
|
||||||
%setup -q -n pip-%{version}
|
%setup -q -n pip-%{version}
|
||||||
%patch0 -p1
|
%patch0 -p1
|
||||||
find src/pip/_vendor -name *.py -exec \
|
# remove shebangs verbosely (if only sed would offer a verbose mode...)
|
||||||
sed -i "s|#!%{_bindir}/env python||g" {} ";" # Fix non-executable script
|
for f in $(find src -name \*.py -exec grep -l '^#!/usr/bin/env' {} \;); do
|
||||||
#sed -i "s|#!/usr/bin/env python||g" pip/__init__.py # Fix non-executable script
|
sed -i 's|^#!/usr/bin/env .*$||g' $f
|
||||||
|
done
|
||||||
rm src/pip/_vendor/certifi/cacert.pem
|
rm src/pip/_vendor/certifi/cacert.pem
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
Loading…
x
Reference in New Issue
Block a user