Hello community, here is the log from the commit of package python-pip for openSUSE:Factory checked in at 2019-02-24 17:03:46 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-pip (Old) and /work/SRC/openSUSE:Factory/.python-pip.new.28833 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pip" Sun Feb 24 17:03:46 2019 rev:40 rq:673642 version:19.0.2 Changes: -------- --- /work/SRC/openSUSE:Factory/python-pip/python-pip.changes 2018-12-14 20:46:25.425589149 +0100 +++ /work/SRC/openSUSE:Factory/.python-pip.new.28833/python-pip.changes 2019-02-24 17:03:51.084667449 +0100 @@ -1,0 +2,135 @@ +Tue Feb 12 10:06:06 UTC 2019 - Jan Engelhardt <[email protected]> + +- 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 <[email protected]> + +- 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 + +------------------------------------------------------------------- Old: ---- pip-18.1.tar.gz pip-8.1.2-shipped-requests-cabundle.patch New: ---- pip-19.0.2.tar.gz pip-shipped-requests-cabundle.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-pip.spec ++++++ --- /var/tmp/diff_new_pack.m233GX/_old 2019-02-24 17:03:52.628666715 +0100 +++ /var/tmp/diff_new_pack.m233GX/_new 2019-02-24 17:03:52.628666715 +0100 @@ -1,7 +1,7 @@ # # 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 # remain the property of their copyright owners, unless otherwise agreed @@ -21,14 +21,14 @@ # enable testing with a build conditional (off by default): %bcond_with test Name: python-pip -Version: 18.1 +Version: 19.0.2 Release: 0 -Summary: Pip installs packages. Python packages. An easy_install replacement +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 -Patch0: pip-8.1.2-shipped-requests-cabundle.patch +Patch0: pip-shipped-requests-cabundle.patch BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros @@ -60,9 +60,10 @@ %prep %setup -q -n pip-%{version} %patch0 -p1 -find src/pip/_vendor -name *.py -exec \ - sed -i "s|#!%{_bindir}/env python||g" {} ";" # Fix non-executable script -#sed -i "s|#!/usr/bin/env python||g" pip/__init__.py # Fix non-executable script +# remove shebangs verbosely (if only sed would offer a verbose mode...) +for f in $(find src -name \*.py -exec grep -l '^#!/usr/bin/env' {} \;); do + sed -i 's|^#!/usr/bin/env .*$||g' $f +done rm src/pip/_vendor/certifi/cacert.pem %build ++++++ pip-18.1.tar.gz -> pip-19.0.2.tar.gz ++++++ ++++ 22120 lines of diff (skipped) ++++++ pip-shipped-requests-cabundle.patch ++++++ 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 def where(): - f = os.path.dirname(__file__) - return os.path.join(f, 'cacert.pem') + return '/etc/ssl/ca-bundle.pem' if __name__ == '__main__':
