From 4f6dfeb6cc59458686713f029153b00f82e1de613db496dc76a27f031d73e758 Mon Sep 17 00:00:00 2001 From: Denisart Benjamin Date: Sat, 21 Mar 2015 11:36:48 +0000 Subject: [PATCH] Accepting request 291343 from home:tbechtold:branches:devel:languages:python New upstream release OBS-URL: https://build.opensuse.org/request/show/291343 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pip?expand=0&rev=34 --- pip-1.5.tar.gz | 3 - pip-6.0.8.tar.gz | 3 + python-pip.changes | 194 +++++++++++++++++++++++++++++++++++++++++++++ python-pip.spec | 6 +- 4 files changed, 200 insertions(+), 6 deletions(-) delete mode 100644 pip-1.5.tar.gz create mode 100644 pip-6.0.8.tar.gz diff --git a/pip-1.5.tar.gz b/pip-1.5.tar.gz deleted file mode 100644 index 64734c1..0000000 --- a/pip-1.5.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:25f81d1a0e55d3b1709818dd57fdfb954b028f229f09bd69cb0bc80a8e03e048 -size 898803 diff --git a/pip-6.0.8.tar.gz b/pip-6.0.8.tar.gz new file mode 100644 index 0000000..3f2a3cc --- /dev/null +++ b/pip-6.0.8.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0d58487a1b7f5be2e5e965c11afbea1dc44ecec8069de03491a4d0d6c85f4551 +size 1200024 diff --git a/python-pip.changes b/python-pip.changes index c9628fe..6f70ce0 100644 --- a/python-pip.changes +++ b/python-pip.changes @@ -1,3 +1,197 @@ +------------------------------------------------------------------- +Wed Mar 18 17:30:07 UTC 2015 - tbechtold@suse.com + +- update to 6.0.8: + * Fix an issue where the ``--download`` flag would cause pip to no longer use + randomized build directories. + * Fix an issue where pip did not properly unquote quoted URLs which contain + characters like PEP 440's epoch separator (``!``). + * Fix an issue where distutils installed projects were not actually uninstalled + and deprecate attempting to uninstall them altogether. + * Retry deleting directories incase a process like an antivirus is holding the + directory open temporarily. + * Fix an issue where pip would hide the cursor on Windows but would not reshow + it. + * Fix a regression where Numpy requires a build path without symlinks to + properly build. + * Fix a broken log message when running ``pip wheel`` without a requirement. + * Don't mask network errors while downloading the file as a hash failure. + * Properly create the state file for the pip version check so it only happens + once a week. + * Fix an issue where switching between Python 3 and Python 2 would evict cached + items. + * Fix a regression where pip would be unable to successfully uninstall a + project without a normalized version. + * Continue the regression fix from 6.0.5 which was not a complete fix. + * Fix a regression with 6.0.4 under Windows where most commands would raise an + exception due to Windows not having the ``os.geteuid()`` function. + * Fix an issue where ANSI escape codes would be used on Windows even though the + Windows shell does not support them, causing odd characters to appear with + the progress bar. + * Fix an issue where using -v would cause an exception saying + ``TypeError: not all arguments converted during string formatting``. + * Fix an issue where using -v with dependency links would cause an exception + saying ``TypeError: 'InstallationCandidate' object is not iterable``. + * Fix an issue where upgrading distribute would cause an exception saying + ``TypeError: expected string or buffer``. + * Show a warning and disable the use of the cache directory when the cache + directory is not owned by the current use, commonly caused by using ``sudo`` + without the ``-H`` flag. + * Update PEP 440 support to handle the latest changes to PEP 440, particularly + the changes to ``>V`` and `` when the given + specifier doesn't match anything. + * Fix an issue where installing from a directory would not copy over certain + directories which were being excluded, however some build systems rely on + them. + * **PROCESS** Version numbers are now simply ``X.Y`` where the leading ``1`` + has been dropped. + * **BACKWARD INCOMPATIBLE** Dropped support for Python 3.1. + * **BACKWARD INCOMPATIBLE** Removed the bundle support which was deprecated in + 1.4. (:pull:`1806`) + * **BACKWARD INCOMPATIBLE** File lists generated by `pip show -f` are now + rooted at the location reported by show, rather than one (unstated) + directory lower. (:pull:`1933`) + * **BACKWARD INCOMPATIBLE** The ability to install files over the FTP protocol + was accidently lost in pip 1.5 and it has now been decided to not restore + that ability. + * **BACKWARD INCOMPATIBLE** PEP 440 is now fully implemented, this means that + in some cases versions will sort differently or version specifiers will be + interpreted differently than previously. The common cases should all function + similarly to before. + * **DEPRECATION** ``pip install --download-cache`` and + ``pip wheel --download-cache`` command line flags have been deprecated and + the functionality removed. Since pip now automatically configures and uses + it's internal HTTP cache which supplants the ``--download-cache`` the + existing options have been made non functional but will still be accepted + until their removal in pip v8.0. For more information please see + https://pip.pypa.io/en/latest/reference/pip_install.html#caching + * **DEPRECATION** ``pip install --build`` and ``pip install --no-clean`` are now + *NOT* deprecated. This reverses the deprecation that occurred in v1.5.3. See + :issue:`906` for discussion. + * **DEPRECATION** Implicitly accessing URLs which point to an origin which is + not a secure origin, instead requiring an opt-in for each host using the new + ``--trusted-host`` flag (``pip install --trusted-host example.com foo``). + * Allow the new ``--trusted-host`` flag to also disable TLS verification for + a particular hostname. + * Added a ``--user`` flag to ``pip freeze`` and ``pip list`` to check the + user site directory only. + * Fixed :issue:`1873`. Silence byte compile errors when installation succeed. + * Added a virtualenv-specific configuration file. (:pull:`1364`) + * Added site-wide configuation files. (:pull:`1978`) + * Added an automatic check to warn if there is an updated version of pip + available (:pull:`2049`). + * `wsgiref` and `argparse` (for >py26) are now excluded from `pip list` and `pip + freeze` (:pull:`1606`, :pull:`1369`) + * Fixed :issue:`1424`. Add ``--client-cert`` option for SSL client certificates. + * Fixed :issue:`1484`. `pip show --files` was broken for wheel installs. (:pull:`35`) + * Fixed :issue:`1641`. install_lib should take precedence when reading distutils nfig. + (:pull:`1642`) + * Send `Accept-Encoding: identity` when downloading files in an attempt to + convince some servers who double compress the downloaded file to stop doing + so. (:pull:`1688`) + * Fixed :issue:`1559`. Stop breaking when given pip commands in uppercase (:pull:725`) + * Fixed :issue:`1618`. Pip no longer adds duplicate logging consumers, so it + won't create duplicate output when being called multiple times. (:pull:`1723`) + * Fixed :issue:`1769`. `pip wheel` now returns an error code if any wheels + fail to build. + * Fixed :issue:`1775`. `pip wheel` wasn't building wheels for dependencies of + editable requirements. + * Allow the use of ``--no-use-wheel`` within a requirements file. (:pull:`1859`) + * Fixed :issue:`1680`. Attempt to locate system TLS certificates to use instead + of the included CA Bundle if possible. (:pull:`1866`) + * Fixed :issue:`1319`. Allow use of Zip64 extension in Wheels and other zip + files. (:pull:`1868`) + * Fixed :issue:`1101`. Properly handle an index or --find-links target which + has a without a href attribute. (:pull:`1869`) + * Fixed :issue:`1885`. Properly handle extras when a project is installed + via Wheel. (:pull:`1896`) + * Fixed :issue:`1180`. Added support to respect proxies in ``pip search``. It + also fixes :issue:`932` and :issue:`1104`. (:pull:`1902`) + * Fixed :issue:`798` and :issue:`1060`. `pip install --download` works with vcs lks. + (:pull:`1926`) + * Fixed :issue:`1456`. Disabled warning about insecure index host when using locaost. + Based off of Guy Rozendorn's work in :pull:`1718`. (:pull:`1967`) + * Allow the use of OS standard user configuration files instead of ones simply + based around ``$HOME``. (:pull:`2021`) + * Fixed :issue:`1825`. When installing directly from wheel paths or urls, + previous versions were not uninstalled. This also fixes :issue:`804` + specifically for the case of wheel archives. (:pull:`1838`) + * Fixed :issue:`2075`, detect the location of the ``.egg-info`` directory by + looking for any file located inside of it instead of relying on the record + file listing a directory. (:pull:`2076`) + * Fixed :issue:`1964`, :issue:`1935`, :issue:`676`, Use a randomized and secure + default build directory when possible. (:pull:`2122`, CVE-2014-8991) + * Fixed :issue:`1433`. Support environment markers in requirements.txt files. + (pull:`2134`) + * Automatically retry failed HTTP requests by default. (:pull:`1444`, pull:`2147` * Fixed :issue:`1100` - Handle HTML Encoding better using a method that is more + similar to how browsers handle it. (:pull:`1874`) + * Reduce the verbosity of the pip command by default. (:pull:`2175`, + :pull:`2177`, :pull:`2178`) + * Fixed :issue:`2031` - Respect sys.executable on OSX when installing from + Wheels. + * Display the entire URL of the file that is being downloaded when downloading + from a non PyPI repository (:pull:`2183`). + * Support setuptools style environment markers in a source distribution + (:pull:`2153`). + * Upgrade requests to 2.3.0 to fix an issue with proxies on Python 3.4.1 + (:pull:`1821`). + * Fixes :issue:`1632`. Uninstall issues on debianized pypy, specifically issues th + setuptools upgrades. (:pull:`1743`) + * Update documentation to point at https://bootstrap.pypa.io/get-pip.py for + bootstrapping pip. + * Update docs to point to https://pip.pypa.io/ + * Upgrade the bundled projects (distlib==0.1.8, html5lib==1.0b3, six==1.6.1, + colorama==0.3.1, setuptools==3.4.4). + * Correct deprecation warning for ``pip install --build`` to only notify when + the `--build` value is different than the default. + * **DEPRECATION** ``pip install --build`` and ``pip install --no-clean`` are now + deprecated. See :issue:`906` for discussion. + * Fixed :issue:`1112`. Couldn't download directly from wheel paths/urls, and whenheel + downloads did occur using requirement specifiers, dependencies weren't + downloaded (:pull:`1527`) + * Fixed :issue:`1320`. ``pip wheel`` was not downloading wheels that already exisd (PR + :issue:`1524`) + * Fixed :issue:`1111`. ``pip install --download`` was failing using local + ``--find-links`` (:pull:`1524`) + * Workaround for Python bug http://bugs.python.org/issue20053 (:pull:`1544`) + * Don't pass a unicode __file__ to setup.py on Python 2.x (:pull:`1583`) + * Verify that the Wheel version is compatible with this pip (:pull:`1569`) + * Upgraded the vendored ``pkg_resources`` and ``_markerlib`` to setuptools 2.1. + * Fixed an error that prevented accessing PyPI when pyopenssl, ndg-httpsclient, + and pyasn1 are installed + * Fixed an issue that caused trailing comments to be incorrectly included as + part of the URL in a requirements file + * pip now only requires setuptools (any setuptools, not a certain version) when + installing distributions from src (i.e. not from wheel). (:pull:`1434`). + * `get-pip.py` now installs setuptools, when it's not already installed + (:pull:`1475`) + * Don't decode downloaded files that have a ``Content-Encoding`` header. + (:pull:`1435`) + * Fix to correctly parse wheel filenames with single digit versions. + (:pull:`1445`) + * If `--allow-unverified` is used assume it also means `--allow-external`. + (:pull:`1457`) +- Adjust BuildRequires for python-virtualenv + ------------------------------------------------------------------- Sat Nov 08 20:39:00 UTC 2014 - Led diff --git a/python-pip.spec b/python-pip.spec index 6e63795..5188d4c 100644 --- a/python-pip.spec +++ b/python-pip.spec @@ -1,7 +1,7 @@ # # spec file for package python-pip # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 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 @@ -17,7 +17,7 @@ Name: python-pip -Version: 1.5 +Version: 6.0.8 Release: 0 Url: http://www.pip-installer.org Summary: Pip installs packages. Python packages. An easy_install replacement @@ -31,7 +31,7 @@ BuildRequires: python-setuptools BuildRequires: python-mock BuildRequires: python-pytest BuildRequires: python-scripttest >= 1.3 -BuildRequires: python-virtualenv >= 1.1.0 +BuildRequires: python-virtualenv >= 1.10 Requires: python-setuptools Requires: python-xml Requires(post): update-alternatives