Accepting request 702370 from home:mcepl:branches:devel:languages:python

- Update to version 19.1.1+git.1557521541.a731e7e3:
  * Docs: capitalize "URL"
  * Upgrade Sphinx version for Read the Docs (#6477)
  * Upwrap import
  * Remove utils/packaging.py's dependence on the current environment.
  * Improve import error handling Fix --no-index usage Fix missing type annotation type
  * Rename _link_package_versions() to evaluate_link().
  * Move _link_package_versions() to CandidateEvaluator.
  * Refine return type of _package_versions() and find_all_candidates().
  * Fix mismerged import
  * Issue #5948: Enable keyring support
  * Move run_with_log_command() after run_stderr_with_prefix().
  * Change to never allow logging errors during tests.
  * Add failing test.
  * Respect --global-option and --install-option for VCS installs.
- Start using upstream git checkout instead of the released
  tarballs so we can get tests/ directory (gh#pypa/pip#6258).
- Enable tests.

- Update to 19.1.1:
  - Restore pyproject.toml handling to how it was with pip 19.0.3
    to prevent the need to add --no-use-pep517 when installing in
    editable mode. (#6434)
  - Fix a regression that caused @ to be quoted in pypiserver
    links. This interfered with parsing the revision string from
    VCS urls. (#6440)
  - Configuration files may now also be stored under sys.prefix
    (#5060)
  - Avoid creating an unnecessary local clone of a Bazaar branch
    when exporting. (#5443)

OBS-URL: https://build.opensuse.org/request/show/702370
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pip?expand=0&rev=65
This commit is contained in:
Matej Cepl 2019-05-11 17:29:32 +00:00 committed by Git OBS Bridge
parent 00cea51cd8
commit 6f0bdab7e0
7 changed files with 121 additions and 19 deletions

15
_service Normal file
View File

@ -0,0 +1,15 @@
<services>
<service name="tar_scm" mode="disabled">
<param name="versionprefix">19.1.1+git</param>
<param name="url">https://github.com/pypa/pip</param>
<param name="scm">git</param>
<param name="exclude">.git*</param>
<param name="changesgenerate">enable</param>
<param name="changesauthor">Matej Cepl &lt;mcepl@cepl.eu&gt;</param>
</service>
<service name="recompress" mode="disabled">
<param name="compression">xz</param>
<param name="file">*.tar</param>
</service>
<service name="set_version" mode="disabled"/>
</services>

4
_servicedata Normal file
View File

@ -0,0 +1,4 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://github.com/pypa/pip</param>
<param name="changesrevision">a731e7e37d101673d29a6a4d901c4e5572e69b9d</param></service></servicedata>

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6e6f197a1abfb45118dbb878b5c859a0edbdd33fd250100bc015b67fded4b9f2
size 1324617

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9c5e60fcf40ee43fcd35f504cdf757243df6cfe585d431e9dc6dc7ddc5ba2353
size 5629936

View File

@ -1,19 +1,10 @@
Index: b/src/pip/_vendor/certifi/core.py
===================================================================
--- a/src/pip/_vendor/certifi/core.py
+++ b/src/pip/_vendor/certifi/core.py
@@ -7,13 +7,11 @@ certifi.py
This module returns the installation location of cacert.pem.
"""
-import os
@@ -10,6 +10,4 @@ import os
def where():
- f = os.path.dirname(__file__)
-
- return os.path.join(f, 'cacert.pem')
+ return '/etc/ssl/ca-bundle.pem'
if __name__ == '__main__':

View File

@ -1,3 +1,89 @@
-------------------------------------------------------------------
Sat May 11 13:41:41 UTC 2019 - Matej Cepl <mcepl@cepl.eu>
- Update to version 19.1.1+git.1557521541.a731e7e3:
* Docs: capitalize "URL"
* Upgrade Sphinx version for Read the Docs (#6477)
* Upwrap import
* Remove utils/packaging.py's dependence on the current environment.
* Improve import error handling Fix --no-index usage Fix missing type annotation type
* Rename _link_package_versions() to evaluate_link().
* Move _link_package_versions() to CandidateEvaluator.
* Refine return type of _package_versions() and find_all_candidates().
* Fix mismerged import
* Issue #5948: Enable keyring support
* Move run_with_log_command() after run_stderr_with_prefix().
* Change to never allow logging errors during tests.
* Add failing test.
* Respect --global-option and --install-option for VCS installs.
- Start using upstream git checkout instead of the released
tarballs so we can get tests/ directory (gh#pypa/pip#6258).
- Enable tests.
-------------------------------------------------------------------
Fri May 10 23:17:02 CEST 2019 - Matej Cepl <mcepl@suse.com>
- Update to 19.1.1:
- Restore pyproject.toml handling to how it was with pip 19.0.3
to prevent the need to add --no-use-pep517 when installing in
editable mode. (#6434)
- Fix a regression that caused @ to be quoted in pypiserver
links. This interfered with parsing the revision string from
VCS urls. (#6440)
- Configuration files may now also be stored under sys.prefix
(#5060)
- Avoid creating an unnecessary local clone of a Bazaar branch
when exporting. (#5443)
- Include in pip's User-Agent string whether it looks like pip
is running under CI. (#5499)
- A custom (JSON-encoded) string can now be added to pip's
User-Agent using the PIP_USER_AGENT_USER_DATA environment
variable. (#5549)
- For consistency, passing --no-cache-dir no longer affects
whether wheels will be built. In this case, a temporary
directory is used. (#5749)
- Command arguments in subprocess log messages are now quoted
using shlex.quote(). (#6290)
- Prefix warning and error messages in log output with WARNING
and ERROR. (#6298)
- Using --build-options in a PEP 517 build now fails with an
error, rather than silently ignoring the option. (#6305)
- Error out with an informative message if one tries to install
a pyproject.toml-style (PEP 517) source tree using --editable
mode. (#6314)
- When downloading a package, the ETA and average speed now
only update once per second for better legibility. (#6319)
- The stdout and stderr from VCS commands run by pip as
subprocesses (e.g. git, hg, etc.) no longer pollute pip's
stdout. (#1219)
- Fix handling of requests exceptions when dependencies are
debundled. (#4195)
- Make pip's self version check avoid recommending upgrades to
prereleases if the currently-installed version is stable.
(#5175)
- Fixed crash when installing a requirement from a URL that
comes from a dependency without a URL. (#5889)
- Improve handling of file URIs: correctly handle
file://localhost/... and don't try to use UNC paths on Unix.
(#5892)
- Fix utils.encoding.auto_decode() LookupError with invalid
encodings. utils.encoding.auto_decode() was broken when
decoding Big Endian BOM byte-strings on Little Endian or vice
versa. (#6054)
- Fix incorrect URL quoting of IPv6 addresses. (#6285)
- Redact the password from the extra index URL when using pip
-v. (#6295)
- The spinner no longer displays a completion message after
subprocess calls not needing a spinner. It also no longer
incorrectly reports an error after certain subprocess calls
to Git that succeeded. (#6312)
- Fix the handling of editable mode during installs when
pyproject.toml is present but PEP 517 doesn't require the
source tree to be treated as pyproject.toml-style. (#6370)
- Fix NameError when handling an invalid requirement. (#6419)
- Make dashes render correctly when displaying long options
like --find-links in the text. (#6422)
-------------------------------------------------------------------
Sun Mar 10 16:35:47 UTC 2019 - Arun Persaud <arun@gmx.de>

View File

@ -19,15 +19,15 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
# NOTE(saschpe): git invocation and pythonpath issues with testrepository
# enable testing with a build conditional (off by default):
%bcond_with test
%bcond_without test
Name: python-pip
Version: 19.0.3
Version: 19.1.1+git.1557521541.a731e7e3
Release: 0
Summary: A Python package management system
License: MIT
Group: Development/Languages/Python
URL: http://www.pip-installer.org
Source: https://files.pythonhosted.org/packages/source/p/pip/pip-%{version}.tar.gz
Source: pip-%{version}.tar.xz
Patch0: pip-shipped-requests-cabundle.patch
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
@ -42,6 +42,7 @@ Recommends: ca-certificates-mozilla
BuildArch: noarch
%if %{with test}
# Test requirements:
BuildRequires: %{python_module PyYAML}
BuildRequires: %{python_module docutils}
BuildRequires: %{python_module freezegun}
BuildRequires: %{python_module mock}
@ -49,9 +50,14 @@ BuildRequires: %{python_module pretend}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module scripttest >= 1.3}
BuildRequires: %{python_module virtualenv >= 1.10}
BuildRequires: ca-certificates
BuildRequires: git
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
@ -76,7 +82,7 @@ rm src/pip/_vendor/certifi/cacert.pem
%if %{with test}
%check
%python_expand py.test-%{$python_version}
%pytest -k 'not (network or test_config_file_venv_option or test_build_env_allow_only_one_install or test_build_env_requirements_check or test_build_env_overlay_prefix_has_priority or test_build_env_isolation)' tests/unit
%endif
%pre
@ -112,7 +118,7 @@ PRIO=$(echo %{python_version} | tr -d .)
%{_bindir}/pip%{python_version}
%endif
%ghost %{_sysconfdir}/alternatives/pip
%{python_sitelib}/pip-%{version}-py%{python_version}.egg-info
%{python_sitelib}/pip-%{upversion}-py%{python_version}.egg-info
%{python_sitelib}/pip
%changelog