Hello community, here is the log from the commit of package python-pip for openSUSE:Factory checked in at 2019-05-17 23:40:44 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-pip (Old) and /work/SRC/openSUSE:Factory/.python-pip.new.5148 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pip" Fri May 17 23:40:44 2019 rev:42 rq:703186 version:19.1.1+git.1557777841.63878672 Changes: -------- --- /work/SRC/openSUSE:Factory/python-pip/python-pip.changes 2019-03-12 09:46:25.687621624 +0100 +++ /work/SRC/openSUSE:Factory/.python-pip.new.5148/python-pip.changes 2019-05-17 23:40:44.737992490 +0200 @@ -1,0 +2,107 @@ +Wed May 15 14:15:56 UTC 2019 - Matej Cepl <[email protected]> + +- Update to version 19.1.1+git.1557777841.63878672: + * Update news file to match usual style + * fix-5963: assert error message + * Simplify CandidateEvaluator.evaluate_link(). + * Fix 6486 mac gitignore (#6487) + * Store instances in the VcsSupport registry instead of classes. + * Remove unused cls argument from VcsSupport.unregister(). + * fix-5963: Add news file + * fix-5963: fail elegantly on missing name or section in config set / unset + * Remove unnecessary slices. + * Fix typo. + +------------------------------------------------------------------- +Wed May 15 15:35:34 CEST 2019 - Matej Cepl <[email protected]> + +- Switch to multibuild, so testing is separate from the building + of the package itself. + +------------------------------------------------------------------- +Sat May 11 13:41:41 UTC 2019 - Matej Cepl <[email protected]> + +- 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 <[email protected]> + +- 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) + +------------------------------------------------------------------- Old: ---- pip-19.0.3.tar.gz New: ---- _multibuild _service _servicedata pip-19.1.1+git.1557777841.63878672.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-pip.spec ++++++ --- /var/tmp/diff_new_pack.nqJfk9/_old 2019-05-17 23:40:45.713991954 +0200 +++ /var/tmp/diff_new_pack.nqJfk9/_new 2019-05-17 23:40:45.721991950 +0200 @@ -17,17 +17,22 @@ %{?!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): +%global flavor @BUILD_FLAVOR@%{nil} +%if "%{flavor}" == "test" +%define psuffix -test +%bcond_without test +%else +%define psuffix %{nil} %bcond_with test -Name: python-pip -Version: 19.0.3 +%endif +Name: python-pip%{psuffix} +Version: 19.1.1+git.1557777841.63878672 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 +47,7 @@ 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 +55,14 @@ 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 @@ -70,13 +81,16 @@ %python_build %install +%if ! %{with test} %python_install %prepare_alternative pip %python_expand %fdupes %{buildroot}%{$python_sitelib} +%endif %if %{with test} %check -%python_expand py.test-%{$python_version} +export PYTHONPATH=build/lib +%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 @@ -87,32 +101,22 @@ %post # can't use `python_install_alternative` because it's pipX.Y, not pip-X.Y PRIO=$(echo %{python_version} | tr -d .) -%ifpypy3 -%install_alternative pip %{_bindir}/pip-%{pypy3_bin_suffix} $PRIO -%else %install_alternative pip %{_bindir}/pip%{python_version} $PRIO -%endif %postun -%ifpypy3 -%uninstall_alternative pip %{_bindir}/pip-%{pypy3_bin_suffix} -%else %uninstall_alternative pip %{_bindir}/pip%{python_version} -%endif +%if ! %{with test} %files %{python_files} %license LICENSE.txt %doc AUTHORS.txt NEWS.rst README.rst -%{_bindir}/pip +%python3_only %{_bindir}/pip +%{_bindir}/pip%{python_version} %python2_only %{_bindir}/pip2 %python3_only %{_bindir}/pip3 -%ifpypy3 -%{_bindir}/pip-%{pypy3_bin_suffix} -%else -%{_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 +%endif %changelog ++++++ _multibuild ++++++ <multibuild> <package>test</package> </multibuild> ++++++ _service ++++++ <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 <[email protected]></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> ++++++ _servicedata ++++++ <servicedata> <service name="tar_scm"> <param name="url">https://github.com/pypa/pip</param> <param name="changesrevision">63878672881d08f048eb2c2f757da2b834040231</param></service></servicedata>++++++ pip-shipped-requests-cabundle.patch ++++++ --- /var/tmp/diff_new_pack.nqJfk9/_old 2019-05-17 23:40:45.797991908 +0200 +++ /var/tmp/diff_new_pack.nqJfk9/_new 2019-05-17 23:40:45.797991908 +0200 @@ -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__':
