From ad652f3f0731286987b05e516519a09c87e2e20f9eefce59d1b0c6109510dbae Mon Sep 17 00:00:00 2001 From: Denisart Benjamin Date: Fri, 25 Sep 2015 12:47:47 +0000 Subject: [PATCH] Accepting request 333669 from home:tbechtold:branches:devel:languages:python - update to 7.1.2: * Don't raise an error if pip is not installed when checking for the latest pip version. * Check that the wheel cache directory is writable before we attempt to write cached files to them. * Move the pip version check until *after* any installs have been performed, thus removing the extraenous warning when upgrading pip. * Added debug logging when using a cached wheel. * Respect platlib by default on platforms that have it separated from purlib. * Upgrade packaging to 15.3. * Normalize post-release spellings for rev/r prefixes. * Upgrade distlib to 0.2.1. * Updated launchers to decode shebangs using UTF-8. This allows non-ASCII pathnames to be correctly handled. * Ensured that the executable written to shebangs is normcased. * Changed ScriptMaker to work better under Jython. * Upgrade ipaddress to 1.0.13. * Allow constraining versions globally without having to know exactly what will be installed by the pip command. :issue:`2731`. * Accept --no-binary and --only-binary via pip.conf. :issue:`2867`. * Allow ``--allow-all-external`` within a requirements file. * Fixed an issue where ``--user`` could not be used when ``--prefix`` was used in a distutils configuration file. * Fixed an issue where the SOABI tags were not correctly being generated on Python 3.5. * Fixed an issue where we were advising windows users to upgrade by directly executing pip, when that would always fail on Windows. * Allow ``~`` to be expanded within a cache directory in all situations. * Fixed a regression where ``--no-cache-dir`` would raise an exception, fixes :issue:`2855`. OBS-URL: https://build.opensuse.org/request/show/333669 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pip?expand=0&rev=39 --- pip-6.0.8.tar.gz | 3 -- pip-7.1.2.tar.gz | 3 ++ python-pip.changes | 126 +++++++++++++++++++++++++++++++++++++++++++++ python-pip.spec | 5 +- 4 files changed, 132 insertions(+), 5 deletions(-) delete mode 100644 pip-6.0.8.tar.gz create mode 100644 pip-7.1.2.tar.gz diff --git a/pip-6.0.8.tar.gz b/pip-6.0.8.tar.gz deleted file mode 100644 index 3f2a3cc..0000000 --- a/pip-6.0.8.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:0d58487a1b7f5be2e5e965c11afbea1dc44ecec8069de03491a4d0d6c85f4551 -size 1200024 diff --git a/pip-7.1.2.tar.gz b/pip-7.1.2.tar.gz new file mode 100644 index 0000000..c486e32 --- /dev/null +++ b/pip-7.1.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ca047986f0528cfa975a14fb9f7f106271d4e0c3fe1ddced6c1db2e7ae57a477 +size 1049170 diff --git a/python-pip.changes b/python-pip.changes index 766475f..c99ace7 100644 --- a/python-pip.changes +++ b/python-pip.changes @@ -1,3 +1,129 @@ +------------------------------------------------------------------- +Fri Sep 25 08:16:40 UTC 2015 - tbechtold@suse.com + +- update to 7.1.2: + * Don't raise an error if pip is not installed when checking for the latest pip + version. + * Check that the wheel cache directory is writable before we attempt to write + cached files to them. + * Move the pip version check until *after* any installs have been performed, + thus removing the extraenous warning when upgrading pip. + * Added debug logging when using a cached wheel. + * Respect platlib by default on platforms that have it separated from purlib. + * Upgrade packaging to 15.3. + * Normalize post-release spellings for rev/r prefixes. + * Upgrade distlib to 0.2.1. + * Updated launchers to decode shebangs using UTF-8. This allows non-ASCII + pathnames to be correctly handled. + * Ensured that the executable written to shebangs is normcased. + * Changed ScriptMaker to work better under Jython. + * Upgrade ipaddress to 1.0.13. + * Allow constraining versions globally without having to know exactly what will + be installed by the pip command. :issue:`2731`. + * Accept --no-binary and --only-binary via pip.conf. :issue:`2867`. + * Allow ``--allow-all-external`` within a requirements file. + * Fixed an issue where ``--user`` could not be used when ``--prefix`` was used + in a distutils configuration file. + * Fixed an issue where the SOABI tags were not correctly being generated on + Python 3.5. + * Fixed an issue where we were advising windows users to upgrade by directly + executing pip, when that would always fail on Windows. + * Allow ``~`` to be expanded within a cache directory in all situations. + * Fixed a regression where ``--no-cache-dir`` would raise an exception, fixes + :issue:`2855`. + * **BACKWARD INCOMPATIBLE** Revert the change (released in v7.0.0) that + required quoting in requirements files around specifiers containing + environment markers. (:pull:`2841`) + * **BACKWARD INCOMPATIBLE** Revert the accidental introduction of support for + options interleaved with requirements, version specifiers etc in + ``requirements`` files. (:pull:`2841`) + * Expand ``~`` in the cache directory when caching wheels, fixes :issue:`2816`. + * Use ``python -m pip`` instead of ``pip`` when recommending an upgrade command + to Windows users. + * Don't build and cache wheels for non-editable installations from VCSs. + * Allow ``--allow-all-external`` inside of a requirements.txt file, fixing a + regression in 7.0. + * **BACKWARD INCOMPATIBLE** Removed the deprecated ``--mirror``, + ``--use-mirrors``, and ``-M`` options. + * **BACKWARD INCOMPATIBLE** Removed the deprecated ``zip`` and ``unzip`` + commands. + * **BACKWARD INCOMPATIBLE** Removed the deprecated ``--no-install`` and + ``--no-download`` options. + * **BACKWARD INCOMPATIBLE** No longer implicitly support an insecure origin + origin, and instead require insecure origins be explicitly trusted with the + ``--trusted-host`` option. + * **BACKWARD INCOMPATIBLE** Removed the deprecated link scraping that attempted + to parse HTML comments for a specially formatted comment. + * **BACKWARD INCOMPATIBLE** Requirements in requirements files containing + markers must now be quoted due to parser changes from (:pull:`2697`) and + (:pull:`2725`). For example, use ``"SomeProject; python_version < '2.7'"``, + not simply ``SomeProject; python_version < '2.7'`` + * Ignores bz2 archives if Python wasn't compiled with bz2 support. + Fixes :issue:`497` + * Support ``--install-option`` and ``--global-option`` per requirement in + requirement files (:pull:`2537`) + * Build Wheels prior to installing from sdist, caching them in the pip cache + directory to speed up subsequent installs. (:pull:`2618`) + * Allow fine grained control over the use of wheels and source builds. + (:pull:`2699`) + * ``--no-use-wheel`` and ``--use-wheel`` are deprecated in favour of new + options ``--no-binary`` and ``--only-binary``. The equivalent of + ``--no-use-wheel`` is ``--no-binary=:all:``. (:pull:`2699`) + * The use of ``--install-option``, ``--global-option`` or ``--build-option`` + disable the use of wheels, and the autobuilding of wheels. (:pull:`2711`) + Fixes :issue:`2677` + * Improve logging when a requirement marker doesn't match your environment + (:pull:`2735`) + * Removed the temporary modifications (that began in pip v1.4 when distribute + and setuptools merged) that allowed distribute to be considered a conflict to + setuptools. ``pip install -U setuptools`` will no longer upgrade "distribute" + to "setuptools". Instead, use ``pip install -U distribute`` (:pull:`2767`). + * Only display a warning to upgrade pip when the newest version is a final + release and it is not a post release of the version we already have + installed (:pull:`2766`). + * Display a warning when attempting to access a repository that uses HTTPS when + we don't have Python compiled with SSL support (:pull:`2761`). + * Allowing using extras when installing from a file path without requiring the + use of an editable (:pull:`2785`). + * Fix an infinite loop when the cache directory is stored on a file system + which does not support hard links (:pull:`2796`). + * Remove the implicit debug log that was written on every invocation, instead + users will need to use ``--log`` if they wish to have one (:pull:`2798`). + * No longer ignore dependencies which have been added to the standard library, + instead continue to install them. + * Fixes :issue:`2502`. Upgrades were failing when no potential links were found + for dependencies other than the current installation. (:pull:`2538`) + * Use a smoother progress bar when the terminal is capable of handling it, + otherwise fallback to the original ASCII based progress bar. + * Display much less output when `pip install` succeeds, because on success, + users probably don't care about all the nitty gritty details of compiling and + installing. When `pip install` fails, display the failed install output once + instead of twice, because once is enough. (:pull:`2487`) + * Upgrade the bundled copy of requests to 2.6.0, fixing CVE-2015-2296. + * Display format of latest package when using ``pip list --outdated``. + (:pull:`2475`) + * Don't use pywin32 as ctypes should always be available on Windows, using + pywin32 prevented uninstallation of pywin32 on Windows. (:pull:`2467`) + * Normalize the ``--wheel-dir`` option, expanding out constructs such as ``~`` + when used (:pull:`2441`). + * Display a warning when an undefined extra has been requested. (:pull:`2142`) + * Speed up installing a directory in certain cases by creating a sdist instead + of copying the entire directory. (:pull:`2535`) + * Don't follow symlinks when uninstalling files (:pull:`2552`) + * Upgrade the bundled copy of cachecontrol from 0.11.1 to 0.11.2. + Fixes :issue:`2481` (:pull:`2595`) + * Attempt to more smartly choose the order of installation to try and install + dependencies before the projects that depend on them. (:pull:`2616`) + * Skip trying to install libraries which are part of the standard library. + (:pull:`2636`, :pull:`2602`) + * Support arch specific wheels that are not tied to a specific Python ABI. + (:pull:`2561`) + * Output warnings and errors to stderr instead of stdout. (:pull:`2543`) + * Adjust the cache dir file checks to only check ownership if the effective + user is root. (:pull:`2396`) + * Install headers into a per project name directory instead of all of them into + the root directory when inside of a virtual environment. (:pull:`2421`) + ------------------------------------------------------------------- Wed Sep 23 11:47:42 UTC 2015 - axel.braun@gmx.de diff --git a/python-pip.spec b/python-pip.spec index a15fe87..df8b6e9 100644 --- a/python-pip.spec +++ b/python-pip.spec @@ -15,12 +15,13 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + # NOTE(saschpe): git invocation and pythonpath issues with testrepository # enable testing with a build conditional (off by default): %bcond_with test Name: python-pip -Version: 6.0.8 +Version: 7.1.2 Release: 0 Url: http://www.pip-installer.org Summary: Pip installs packages. Python packages. An easy_install replacement @@ -37,9 +38,9 @@ BuildRequires: python-pytest BuildRequires: python-scripttest >= 1.3 BuildRequires: python-virtualenv >= 1.10 %endif +Requires: coreutils Requires: python-setuptools Requires: python-xml -Requires: coreutils Requires(post): update-alternatives Requires(postun): update-alternatives %if 0%{?suse_version} && 0%{?suse_version} <= 1110