[Python-modules-commits] [python-pip] 02/16: Import python-pip_8.0.2.orig.tar.gz
Barry Warsaw
barry at moszumanska.debian.org
Fri Jan 29 22:23:21 UTC 2016
This is an automated email from the git hooks/post-receive script.
barry pushed a commit to branch master
in repository python-pip.
commit c9fd1b7c41802c64663a7a4646bf9b546f2389e2
Author: Barry Warsaw <barry at python.org>
Date: Fri Jan 29 14:32:45 2016 -0500
Import python-pip_8.0.2.orig.tar.gz
---
AUTHORS.txt | 45 +-
CHANGES.txt | 157 +-
LICENSE.txt | 2 +-
MANIFEST.in | 2 +
PKG-INFO | 19 +-
README.rst | 15 +-
docs/conf.py | 2 +-
docs/development.rst | 8 +-
docs/index.rst | 7 +-
docs/installing.rst | 92 +-
docs/reference/index.rst | 4 +-
docs/reference/pip_download.rst | 53 +
docs/reference/pip_hash.rst | 49 +
docs/reference/pip_install.rst | 322 +-
docs/user_guide.rst | 108 +-
pip.egg-info/PKG-INFO | 19 +-
pip.egg-info/SOURCES.txt | 11 +-
pip.egg-info/entry_points.txt | 2 +-
pip.egg-info/pbr.json | 1 -
pip/__init__.py | 10 +-
pip/_vendor/README.rst | 139 +-
pip/_vendor/__init__.py | 34 +
pip/_vendor/cachecontrol/__init__.py | 2 +-
pip/_vendor/cachecontrol/_cmd.py | 60 +
pip/_vendor/cachecontrol/compat.py | 6 +
pip/_vendor/cachecontrol/controller.py | 92 +-
pip/_vendor/cachecontrol/heuristics.py | 12 +-
pip/_vendor/cachecontrol/serialize.py | 12 +-
pip/_vendor/colorama/__init__.py | 4 +-
pip/_vendor/colorama/ansi.py | 49 +-
pip/_vendor/colorama/ansitowin32.py | 18 +-
pip/_vendor/colorama/initialise.py | 23 +-
pip/_vendor/colorama/win32.py | 8 +
pip/_vendor/colorama/winterm.py | 21 +-
pip/_vendor/html5lib/__init__.py | 4 +-
pip/_vendor/html5lib/sanitizer.py | 10 +-
pip/_vendor/html5lib/treewalkers/etree.py | 2 +-
pip/_vendor/ipaddress.py | 8 +-
pip/_vendor/lockfile/__init__.py | 113 +-
pip/_vendor/lockfile/linklockfile.py | 6 +-
pip/_vendor/lockfile/mkdirlockfile.py | 11 +-
pip/_vendor/lockfile/pidlockfile.py | 21 +-
pip/_vendor/lockfile/sqlitelockfile.py | 9 +-
pip/_vendor/lockfile/symlinklockfile.py | 21 +-
pip/_vendor/packaging/__about__.py | 24 +-
pip/_vendor/packaging/__init__.py | 16 +-
pip/_vendor/packaging/_compat.py | 16 +-
pip/_vendor/packaging/_structures.py | 16 +-
pip/_vendor/packaging/markers.py | 275 ++
pip/_vendor/packaging/specifiers.py | 34 +-
pip/_vendor/packaging/version.py | 16 +-
pip/_vendor/pkg_resources/__init__.py | 170 +-
pip/_vendor/progress/bar.py | 19 +-
pip/_vendor/progress/counter.py | 6 +-
pip/_vendor/progress/helpers.py | 1 -
pip/_vendor/progress/spinner.py | 8 +-
pip/_vendor/pyparsing.py | 3801 ++++++++++++++++++++
pip/_vendor/requests/__init__.py | 14 +-
pip/_vendor/requests/adapters.py | 52 +-
pip/_vendor/requests/api.py | 18 +-
pip/_vendor/requests/auth.py | 69 +-
pip/_vendor/requests/cacert.pem | 2192 ++++++-----
pip/_vendor/requests/cookies.py | 24 +-
pip/_vendor/requests/exceptions.py | 15 +
pip/_vendor/requests/hooks.py | 17 +-
pip/_vendor/requests/models.py | 84 +-
pip/_vendor/requests/packages/__init__.py | 35 +-
pip/_vendor/requests/packages/urllib3/__init__.py | 34 +-
.../requests/packages/urllib3/_collections.py | 65 +-
.../requests/packages/urllib3/connection.py | 66 +-
.../requests/packages/urllib3/connectionpool.py | 93 +-
.../requests/packages/urllib3/contrib/appengine.py | 223 ++
.../requests/packages/urllib3/contrib/ntlmpool.py | 1 +
.../requests/packages/urllib3/contrib/pyopenssl.py | 45 +-
.../requests/packages/urllib3/exceptions.py | 38 +-
pip/_vendor/requests/packages/urllib3/fields.py | 1 +
pip/_vendor/requests/packages/urllib3/filepost.py | 1 +
.../requests/packages/urllib3/packages/__init__.py | 1 +
.../requests/packages/urllib3/poolmanager.py | 9 +-
pip/_vendor/requests/packages/urllib3/request.py | 16 +-
pip/_vendor/requests/packages/urllib3/response.py | 206 +-
.../requests/packages/urllib3/util/__init__.py | 20 +
.../requests/packages/urllib3/util/connection.py | 11 +-
.../requests/packages/urllib3/util/request.py | 1 +
.../requests/packages/urllib3/util/response.py | 52 +
.../requests/packages/urllib3/util/retry.py | 9 +-
pip/_vendor/requests/packages/urllib3/util/ssl_.py | 91 +-
.../requests/packages/urllib3/util/timeout.py | 8 +-
pip/_vendor/requests/packages/urllib3/util/url.py | 5 +-
pip/_vendor/requests/sessions.py | 49 +-
pip/_vendor/requests/status_codes.py | 3 +-
pip/_vendor/requests/utils.py | 98 +-
pip/_vendor/six.py | 74 +-
pip/_vendor/vendor.txt | 17 +-
pip/basecommand.py | 42 +-
pip/cmdoptions.py | 91 +-
pip/commands/__init__.py | 6 +
pip/commands/download.py | 136 +
pip/commands/hash.py | 57 +
pip/commands/install.py | 92 +-
pip/commands/list.py | 133 +-
pip/commands/search.py | 2 +-
pip/commands/show.py | 37 +-
pip/commands/wheel.py | 65 +-
pip/compat/__init__.py | 44 +-
pip/download.py | 161 +-
pip/exceptions.py | 193 +-
pip/index.py | 476 +--
pip/locations.py | 53 +-
pip/operations/freeze.py | 4 +-
pip/pep425tags.py | 116 +-
pip/req/req_file.py | 134 +-
pip/req/req_install.py | 238 +-
pip/req/req_set.py | 165 +-
pip/req/req_uninstall.py | 24 +-
pip/utils/__init__.py | 187 +-
pip/utils/appdirs.py | 48 +-
pip/utils/deprecation.py | 14 +-
pip/utils/hashes.py | 92 +
pip/utils/logging.py | 2 +-
pip/utils/outdated.py | 7 +-
pip/utils/setuptools_build.py | 6 +
pip/utils/ui.py | 142 +-
pip/vcs/__init__.py | 61 +-
pip/vcs/bazaar.py | 26 +-
pip/vcs/git.py | 127 +-
pip/vcs/mercurial.py | 48 +-
pip/vcs/subversion.py | 68 +-
pip/wheel.py | 109 +-
setup.cfg | 4 +-
setup.py | 2 +-
131 files changed, 9943 insertions(+), 3041 deletions(-)
diff --git a/AUTHORS.txt b/AUTHORS.txt
index b3b05a9..61ca48e 100644
--- a/AUTHORS.txt
+++ b/AUTHORS.txt
@@ -8,10 +8,13 @@ Alli <alzeih at users.noreply.github.com>
Anatoly Techtonik <techtonik at gmail.com>
Andrei Geacar <andrei.geacar at gmail.com>
Andrey Bulgakov <mail at andreiko.ru>
+Andy Freeland <andy.freeland at redjack.com>
Anrs Hu <anrs at douban.com>
Anton Patrushev <apatrushev at gmail.com>
Antonio Alvarado Hernandez <tnotstar at gmail.com>
Antti Kaihola <akaihol+github at ambitone.com>
+AQNOUCH Mohammed <aqnouch.mohammed at gmail.com>
+Arindam Choudhury <arindam at live.com>
Armin Ronacher <armin.ronacher at active-4.com>
Ashley Manton <ajd.manton at googlemail.com>
Baptiste Mispelon <bmispelon at gmail.com>
@@ -28,6 +31,7 @@ Bruno Renié <brutasse at gmail.com>
Buck Golemon <buck at yelp.com>
Bussonnier Matthias <bussonniermatthias at gmail.com>
Carl Meyer <carl at oddbird.net>
+Carol Willing <carolcode at willingconsulting.com>
Chris Brinker <chris.brinker at gmail.com>
Chris Jerdonek <chris.jerdonek at gmail.com>
Chris McDonough <chrism at plope.com>
@@ -36,11 +40,13 @@ Christian Oudard <christian.oudard at gmail.com>
Clark Boylan <clark.boylan at gmail.com>
Clay McClure <clay at daemons.net>
Cody Soyland <codysoyland at gmail.com>
+Colin Watson <cjwatson at debian.org>
Cory Benfield <lukasaoz at gmail.com>
Craig Kerstiens <craig.kerstiens at gmail.com>
Cristian Sorinel <cristian.sorinel at gmail.com>
Dan Savilonis <djs at n-cube.org>
Dan Sully <daniel-github at electricrain.com>
+daniel <mcdonaldd at unimelb.edu.au>
Daniel Collins <accounts at dac.io>
Daniel Hahler <git at thequod.de>
Daniel Holth <dholth at fastmail.fm>
@@ -51,19 +57,24 @@ Dave Abrahams <dave at boostpro.com>
David Aguilar <davvid at gmail.com>
David Black <db at d1b.org>
David Evans <d at drhevans.com>
+David Linke <dr.david.linke at gmail.com>
David Pursehouse <david.pursehouse at gmail.com>
David Wales <daviewales at gmail.com>
Davidovich <david.genest at gmail.com>
derwolfe <chriswwolfe at gmail.com>
Dmitry Gladkov <dmitry.gladkov at gmail.com>
+Domen Kožar <domen at dev.si>
Donald Stufft <donald at stufft.io>
Dongweiming <dongweiming at admaster.com.cn>
+Douglas Thor <dougthor42 at users.noreply.github.com>
Dwayne Bailey <dwayne at translate.org.za>
+Emil Styrke <emil.styrke at gmail.com>
Endoh Takanao <djmchl at gmail.com>
enoch <lanxenet at gmail.com>
Eric Gillingham <Gillingham at bikezen.net>
Eric Hanchrow <eric.hanchrow at gmail.com>
Erik M. Bray <embray at stsci.edu>
+Erik Rose <erik at mozilla.com>
Eugene Vereshchagin <evvers at gmail.com>
Florian Briand <ownerfrance+github at hotmail.com>
Francesco <f.guerrieri at gmail.com>
@@ -81,6 +92,7 @@ Hugo Lopes Tavares <hltbra at gmail.com>
Hynek Schlawack <hs at ox.cx>
Ian Bicking <ianb at colorstudy.com>
Ian Cordasco <graffatcolmingov at gmail.com>
+Ian Wienand <iwienand at redhat.com>
Igor Sobreira <igor at igorsobreira.com>
Ilya Baryshev <baryshev at gmail.com>
INADA Naoki <songofacandy at gmail.com>
@@ -88,30 +100,37 @@ Ionel Cristian Mărieș <contact at ionelmc.ro>
Ionel Maries Cristian <ionel.mc at gmail.com>
Jakub Stasiak <kuba.stasiak at gmail.com>
Jakub Vysoky <jakub at borka.cz>
-James Cleveland <jc at blit.cc>
+James Cleveland <jamescleveland at gmail.com>
+James Cleveland <radiosilence at users.noreply.github.com>
+James Firth <hello at james-firth.com>
James Polley <jp at jamezpolley.com>
Jan Pokorný <jpokorny at redhat.com>
Jannis Leidel <jannis at leidel.info>
jarondl <me at jarondl.net>
Jay Graves <jay at skabber.com>
+Jeff Barber <jbarber at computer.org>
Jeff Dairiki <dairiki at dairiki.org>
Jim Garrison <jim at garrison.cc>
John-Scott Atlakson <john.scott.atlakson at gmail.com>
Jon Parise <jon at indelible.org>
Jon Wayne Parrott <jjramone13 at gmail.com>
Jonas Nockert <jonasnockert at gmail.com>
+Joost Molenaar <j.j.molenaar at gmail.com>
Jorge Niedbalski <niedbalski at gmail.com>
Joseph Long <jdl at fastmail.fm>
Josh Bronson <jabronson at gmail.com>
Josh Hansen <josh at skwash.net>
Josh Schneier <josh.schneier at gmail.com>
+Julien Demoor <julien at jdemoor.com>
Jyrki Pulliainen <jyrki at spotify.com>
Kamal Bin Mustafa <kamal at smach.net>
Kelsey Hightower <kelsey.hightower at gmail.com>
Kenneth Belitzky <kenny at belitzky.com>
Kenneth Reitz <me at kennethreitz.com>
Kevin Burke <kev at inburke.com>
+Kevin Carter <kevin.carter at rackspace.com>
Kevin Frommelt <kevin.frommelt at webfilings.com>
+Kit Randel <kit at nocturne.net.nz>
Kumar McMillan <kumar.mcmillan at gmail.com>
Kyle Persohn <kyle.persohn at gmail.com>
Laurent Bristiel <laurent at bristiel.com>
@@ -127,20 +146,29 @@ Mark Kohler <mark.kohler at proteinsimple.com>
Markus Hametner <fin+github at xbhd.org>
Masklinn <bitbucket.org at masklinn.net>
Matej Stuchlik <mstuchli at redhat.com>
+Mathew Jennings <mjennings at foursquare.com>
Matt Good <matt at matt-good.net>
Matt Maker <trip at monstro.us>
Matt Robenolt <matt at ydekproductions.com>
+matthew <matthew at trumbell.net>
Matthew Einhorn <moiein2000 at gmail.com>
Matthew Gilliard <matthew.gilliard at gmail.com>
Matthew Iversen <teh.ivo at gmail.com>
Matthew Trumbell <matthew at thirdstonepartners.com>
+Matthias Bussonnier <bussonniermatthias at gmail.com>
Maxime Rouyrre <rouyrre+git at gmail.com>
+Michael <michael-k at users.noreply.github.com>
Michael E. Karpeles <michael.karpeles at gmail.com>
+Michael Klich <michal at michalklich.com>
Michael Williamson <mike at zwobble.org>
Miguel Araujo Perez <miguel.araujo.perez at gmail.com>
Mihir Singh <git.service at mihirsingh.com>
+Min RK <benjaminrk at gmail.com>
MinRK <benjaminrk at gmail.com>
Monty Taylor <mordred at inaugust.com>
+Nate Coraor <nate at bx.psu.edu>
+Nathaniel J. Smith <njs at pobox.com>
+Nick Coghlan <ncoghlan at gmail.com>
Nick Stenning <nick at whiteink.com>
Nowell Strite <nowell at strite.org>
Oliver Tonnhofer <olt at bogosoft.com>
@@ -156,6 +184,7 @@ Paul Moore <p.f.moore at gmail.com>
Paul Nasrat <pnasrat at gmail.com>
Paul Oswald <pauloswald at gmail.com>
Paul van der Linden <mail at paultjuh.org>
+Paulus Schoutsen <paulus at paulusschoutsen.nl>
Pawel Jasinski <pawel.jasinski at gmail.com>
Peter Waller <peter.waller at gmail.com>
Phaneendra Chiruvella <hi at pcx.io>
@@ -175,37 +204,51 @@ Rene Dudfield <renesd at gmail.com>
Richard Jones <r1chardj0n3s at gmail.com>
RobberPhex <robberphex at gmail.com>
Robert Collins <rbtcollins at hp.com>
+Robert McGibbon <rmcgibbo at gmail.com>
Roey Berman <roey.berman at gmail.com>
Roman Bogorodskiy <roman.bogorodskiy at ericsson.com>
Romuald Brunet <romuald at chivil.com>
Ronny Pfannschmidt <Ronny.Pfannschmidt at gmx.de>
Rory McCann <rory at technomancy.org>
Ross Brattain <ross.b.brattain at intel.com>
+Roy Wellington Ⅳ <cactus_hugged at yahoo.com>
+Roy Wellington Ⅳ <roy at mybasis.com>
+Sachi King <nakato at nakato.io>
schlamar <marc.schlaich at gmail.com>
+Scott Kitterman <sklist at kitterman.com>
Sergey Vasilyev <nolar at nolar.info>
Seth Woodworth <seth at sethish.com>
Simeon Visser <svisser at users.noreply.github.com>
Simon Cross <hodgestar at gmail.com>
Stavros Korokithakis <stavros at korokithakis.net>
Stefan Scherfke <stefan at sofa-rockers.org>
+Steve Kowalik <steven at wedontsleep.org>
Steven Myint <git at stevenmyint.com>
+Stéphane Bidoul <stephane.bidoul at acsone.eu>
Stéphane Klein <contact at stephane-klein.info>
Takayuki SHIMIZUKAWA <shimizukawa at gmail.com>
Thomas Fenzl <thomas.fenzl at gmail.com>
+Thomas Grainger <tagrain at gmail.com>
Thomas Guettler <tguettler at tbz-pariv.de>
Thomas Johansson <devnull at localhost>
Thomas Kluyver <takowl at gmail.com>
+Thomas Smith <smithtg at ncbi.nlm.nih.gov>
Tim Harder <radhermit at gmail.com>
+tim smith <github at tim-smith.us>
Tomer Chachamu <tomer.chachamu at gmail.com>
Toshio Kuratomi <toshio at fedoraproject.org>
Travis Swicegood <development at domain51.com>
Valentin Haenel <valentin.haenel at gmx.de>
Victor Stinner <victor.stinner at gmail.com>
+Ville Skyttä <ville.skytta at iki.fi>
Vinay Sajip <vinay_sajip at yahoo.co.uk>
Vitaly Babiy <vbabiy86 at gmail.com>
+Vladimir Rutsky <rutsky at users.noreply.github.com>
W. Trevor King <wking at drexel.edu>
Wil Tan <wil at dready.org>
+William ML Leslie <william.leslie.ttg at gmail.com>
Xavier Fernandez <xav.fernandez at gmail.com>
+Xavier Fernandez <xavier.fernandez at polyconseil.fr>
Yoval P <yoval at gmx.com>
Yu Jian <askingyj at gmail.com>
Zearin <zearin at gonk.net>
diff --git a/CHANGES.txt b/CHANGES.txt
index 13a9866..cb00519 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -1,3 +1,155 @@
+**8.0.2 (2016-01-21)**
+
+* Stop attempting to trust the system CA trust store because it's extremely
+ common for them to be broken, often in incompatible ways. See #3416.
+
+
+**8.0.1 (2016-01-21)**
+
+* Detect CAPaths in addition to CAFiles on platforms that provide them.
+
+* Installing argparse or wsgiref will no longer warn or error - pip will allow
+ the installation even though it may be useless (since the installed thing
+ will be shadowed by the standard library).
+
+* Upgrading a distutils installed item that is installed outside of a virtual
+ environment, while inside of a virtual environment will no longer warn or
+ error.
+
+* Fix a bug where pre-releases were showing up in ``pip list --outdated``
+ without the ``--pre`` flag.
+
+* Switch the SOABI emulation from using RuntimeWarnings to debug logging.
+
+* Rollback the removal of the ability to uninstall distutils installed items
+ until a future date.
+
+
+**8.0.0 (2016-01-19)**
+
+* **BACKWARD INCOMPATIBLE** Drop support for Python 3.2.
+
+* **BACKWARD INCOMPATIBLE** Remove the ability to find any files other than the
+ ones directly linked from the index or find-links pages.
+
+* **BACKWARD INCOMPATIBLE** Remove the ``--download-cache`` which had been
+ deprecated and no-op'd in 6.0.
+
+* **BACKWARD INCOMPATIBLE** Remove the ``--log-explicit-levels`` which had been
+ deprecated in 6.0.
+
+* **BACKWARD INCOMPATIBLE** Change pip wheel --wheel-dir default path from
+ <cwd>/wheelhouse to <cwd>.
+
+* Deprecate and no-op the ``--allow-external``, ``--allow-all-external``, and
+ ``--allow-unverified`` functionality that was added as part of PEP 438. With
+ changes made to the repository protocol made in PEP 470, these options are no
+ longer functional.
+
+* Allow ``--trusted-host`` within a requirements file. :issue:`2822`.
+
+* Allow ``--process-dependency-links`` within a requirements file. :issue:`1274`.
+
+* Allow ``--pre`` within a requirements file. :issue:`1273`.
+
+* Allow repository URLs with secure transports to count as trusted. (E.g.,
+ "git+ssh" is okay.) :issue:`2811`.
+
+* Implement a top-level ``pip download`` command and deprecate
+ ``pip install --download``.
+
+* Fixed :issue:`3141`, when uninstalling, look for the case of paths containing
+ symlinked directories (:pull:`3154`)
+
+* When installing, if building a wheel fails, clear up the build directory
+ before falling back to a source install. :issue:`3047`.
+
+* Fix user directory expansion when ``HOME=/``. Workaround for Python bug
+ http://bugs.python.org/issue14768, reported in :issue:`2996`.
+
+* Fixed :issue:`3009`, correct reporting of requirements file line numbers
+ (:pull:`3125`)
+
+* Fixed :issue:`1062`, Exception(IOError) for ``pip freeze`` and ``pip list``
+ commands with subversion >= 1.7. (:pull:`3346`)
+
+* Provide a spinner showing that progress is happening when installing or
+ building a package via ``setup.py``. This will alleviate concerns that
+ projects with unusually long build times have with pip appearing to stall.
+
+* Include the functionality of ``peep`` into pip, allowing hashes to be baked
+ into a requirements file and ensuring that the packages being downloaded
+ match one of those hashes. This is an additional, opt-in security measure
+ that, when used, removes the need to trust the repository.
+
+* Fix a bug causing pip to not select a wheel compiled against an OSX SDK later
+ than what Python itself was compiled against when running on a newer version
+ of OSX.
+
+* Add a new ``--prefix`` option for ``pip install`` that supports wheels and
+ sdists. (:pull:`3252`)
+
+* Fixed :issue:`2042` regarding wheel building with setup.py using a different
+ encoding than the system.
+
+* Drop PasteScript specific egg_info hack. (:pull:`3270`)
+
+* Allow combination of pip list options --editable with --outdated/--uptodate.
+ (:issue:`933`)
+
+* Gives VCS implementations control over saying whether a project
+ is under their control (:pull:`3258`)
+
+* Git detection now works when ``setup.py`` is not at the Git repo root
+ and when ``package_dir`` is used, so ``pip freeze`` works in more
+ cases (:pull:`3258`)
+
+* Correctly freeze Git develop packages in presence of the &subdirectory
+ option (:pull:`3258`)
+
+* The detection of editable packages now relies on the presence of ``.egg-link``
+ instead of looking for a VCS, so ``pip list -e`` is more reliable
+ (:pull:`3258`)
+
+* Add the ``--prefix`` flag to ``pip install`` which allows specifying a root
+ prefix to use instead of ``sys.prefix`` (:pull:`3252`).
+
+* Allow duplicate specifications in the case that only the extras differ, and
+ union all specified extras together (:pull:`3198`).
+
+* Fix the detection of the user's current platform on OSX when determining the
+ OSX SDK version (:pull:`3232`).
+
+* Prevent the automatically built wheels from mistakenly being used across
+ multiple versions of Python when they may not be correctly configured for
+ that by making the wheel specific to a specific version of Python and
+ specific interpreter (:pull:`3225`).
+
+* Emulate the SOABI support in wheels from Python 2.x on Python 2.x as closely
+ as we can with the information available within the interpreter
+ (:pull:`3075`).
+
+* Don't roundtrip to the network when git is pinned to a specific commit hash
+ and that hash already exists locally (:pull:`3066`).
+
+* Prefer wheels built against a newer SDK to wheels built against an older SDK
+ on OSX (:pull:`3163`).
+
+* Show entry points for projects installed via wheel (:pull:`3122`).
+
+* Improve message when an unexisting path is passed to --find-links option
+ (:issue:`2968`).
+
+* pip freeze does not add the VCS branch/tag name in the #egg=... fragment anymore
+ (:pull:`3312`).
+
+* Warn on installation of editable if the provided #egg=name part does not
+ match the metadata produced by `setup.py egg_info`. :issue:`3143`.
+
+* Add support for .xz files for python versions supporting them (>= 3.3).
+ :issue:`722`.
+
+
**7.1.2 (2015-08-22)**
* Don't raise an error if pip is not installed when checking for the latest pip
@@ -106,6 +258,9 @@
(:pull:`2725`). For example, use ``"SomeProject; python_version < '2.7'"``,
not simply ``SomeProject; python_version < '2.7'``
+* `get-pip.py` now installs the "wheel" package, when it's not already installed
+ (:pull:`2800`).
+
* Ignores bz2 archives if Python wasn't compiled with bz2 support.
Fixes :issue:`497`
@@ -340,7 +495,7 @@
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
+ was accidentally 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
diff --git a/LICENSE.txt b/LICENSE.txt
index 40d8cda..f63eac3 100644
--- a/LICENSE.txt
+++ b/LICENSE.txt
@@ -1,4 +1,4 @@
-Copyright (c) 2008-2014 The pip developers (see AUTHORS.txt file)
+Copyright (c) 2008-2016 The pip developers (see AUTHORS.txt file)
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
diff --git a/MANIFEST.in b/MANIFEST.in
index 3049754..c21d52b 100644
--- a/MANIFEST.in
+++ b/MANIFEST.in
@@ -8,9 +8,11 @@ include pip/_vendor/vendor.txt
exclude .coveragerc
exclude .mailmap
exclude .travis.yml
+exclude .landscape.yml
exclude pip/_vendor/Makefile
exclude tox.ini
exclude dev-requirements.txt
+exclude appveyor.yml
recursive-include pip/_vendor *.pem
recursive-include docs Makefile *.rst *.py *.bat
diff --git a/PKG-INFO b/PKG-INFO
index 927363f..ecc2142 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: pip
-Version: 7.1.2
+Version: 8.0.2
Summary: The PyPA recommended tool for installing Python packages.
Home-page: https://pip.pypa.io/
Author: The pip developers
@@ -10,7 +10,7 @@ Description: pip
===
The `PyPA recommended
- <https://python-packaging-user-guide.readthedocs.org/en/latest/current.html>`_
+ <https://packaging.python.org/en/latest/current/>`_
tool for installing Python packages.
* `Installation <https://pip.pypa.io/en/stable/installing.html>`_
@@ -24,12 +24,21 @@ Description: pip
* Dev IRC: #pypa-dev on Freenode.
- .. image:: https://pypip.in/v/pip/badge.png
+ .. image:: https://img.shields.io/pypi/v/pip.svg
:target: https://pypi.python.org/pypi/pip
- .. image:: https://secure.travis-ci.org/pypa/pip.png?branch=develop
+ .. image:: https://img.shields.io/travis/pypa/pip/develop.svg
:target: http://travis-ci.org/pypa/pip
+
+ Code of Conduct
+ ---------------
+
+ Everyone interacting in the pip project's codebases, issue trackers, chat
+ rooms, and mailing lists is expected to follow the `PyPA Code of Conduct`_.
+
+ .. _PyPA Code of Conduct: https://www.pypa.io/en/latest/code-of-conduct/
+
Keywords: easy_install distutils setuptools egg virtualenv
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
@@ -40,7 +49,7 @@ Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.6
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
-Classifier: Programming Language :: Python :: 3.2
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
+Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: Implementation :: PyPy
diff --git a/README.rst b/README.rst
index 158f823..9c80aff 100644
--- a/README.rst
+++ b/README.rst
@@ -2,7 +2,7 @@ pip
===
The `PyPA recommended
-<https://python-packaging-user-guide.readthedocs.org/en/latest/current.html>`_
+<https://packaging.python.org/en/latest/current/>`_
tool for installing Python packages.
* `Installation <https://pip.pypa.io/en/stable/installing.html>`_
@@ -16,8 +16,17 @@ tool for installing Python packages.
* Dev IRC: #pypa-dev on Freenode.
-.. image:: https://pypip.in/v/pip/badge.png
+.. image:: https://img.shields.io/pypi/v/pip.svg
:target: https://pypi.python.org/pypi/pip
-.. image:: https://secure.travis-ci.org/pypa/pip.png?branch=develop
+.. image:: https://img.shields.io/travis/pypa/pip/develop.svg
:target: http://travis-ci.org/pypa/pip
+
+
+Code of Conduct
+---------------
+
+Everyone interacting in the pip project's codebases, issue trackers, chat
+rooms, and mailing lists is expected to follow the `PyPA Code of Conduct`_.
+
+.. _PyPA Code of Conduct: https://www.pypa.io/en/latest/code-of-conduct/
diff --git a/docs/conf.py b/docs/conf.py
index acc3fa0..dcf1078 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -33,7 +33,7 @@ extensions = ['sphinx.ext.extlinks', 'docs.pipext', 'sphinx.ext.intersphinx']
intersphinx_cache_limit = 0
intersphinx_mapping = {
'pypug': ('https://packaging.python.org/en/latest/', None),
- 'pypa': ('https://pypa.io/en/latest/', None),
+ 'pypa': ('https://www.pypa.io/en/latest/', None),
}
diff --git a/docs/development.rst b/docs/development.rst
index 01c99f4..95b4df1 100644
--- a/docs/development.rst
+++ b/docs/development.rst
@@ -104,11 +104,11 @@ Release Process
6. Upload the distribution files to PyPI using twine
(``twine upload -s dist/*``). The upload should include GPG signatures of
the distribution files.
-7. Regenerate the ``get-pip.py`` script by running
- ``invoke generate.installer`` on the master branch, and commiting the
+7. Merge the ``master`` branch into the ``develop`` branch.
+8. Push all of the changes.
+9. Regenerate the ``get-pip.py`` script by running
+ ``invoke generate.installer`` in the get-pip repository, and committing the
results.
-8. Merge the ``master`` branch into the ``develop`` branch.
-9. Push all of the changes.
Creating a Bugfix Release
diff --git a/docs/index.rst b/docs/index.rst
index 82462c9..ce08561 100644
--- a/docs/index.rst
+++ b/docs/index.rst
@@ -8,9 +8,8 @@ pip
User IRC: #pypa |
Dev IRC: #pypa-dev
-The `PyPA recommended
-<https://python-packaging-user-guide.readthedocs.org/en/latest/current.html>`_
-tool for installing Python packages.
+The `PyPA recommended <https://packaging.python.org/en/latest/current/>`_ tool
+for installing Python packages.
.. toctree::
:maxdepth: 2
@@ -21,5 +20,3 @@ tool for installing Python packages.
reference/index
development
news
-
-
diff --git a/docs/installing.rst b/docs/installing.rst
index e8742e8..47c3b64 100644
--- a/docs/installing.rst
+++ b/docs/installing.rst
@@ -3,40 +3,58 @@
Installation
============
-Python & OS Support
--------------------
-
-pip works with CPython versions 2.6, 2.7, 3.2, 3.3, 3.4 and also pypy.
-
-pip works on Unix/Linux, OS X, and Windows.
+Do I need to install pip?
+-------------------------
-.. note::
+pip is already installed if you're using Python 2 >=2.7.9 or Python 3 >=3.4
+downloaded from `python.org <https://www.python.org>`_, but you'll need to
+:ref:`upgrade pip <Upgrading pip>`.
- Python 2.5 was supported through v1.3.1, and Python 2.4 was supported through v1.1.
+Additionally, pip will already be installed if you're working in a :ref:`Virtual
+Envionment <pypug:Creating and using Virtual Environments>` created by
+:ref:`pypug:virtualenv` or :ref:`pyvenv <pypug:venv>`.
-pip included with Python
-------------------------
-Python 2.7.9 and later (on the python2 series), and Python 3.4
-and later include pip by default [1]_, so you may have pip already.
.. _`get-pip`:
-Install pip
------------
+Installing with get-pip.py
+--------------------------
To install pip, securely download `get-pip.py
<https://bootstrap.pypa.io/get-pip.py>`_. [2]_
-Then run the following (which may require administrator access):
+Then run the following:
::
python get-pip.py
-If `setuptools`_ is not already installed, ``get-pip.py`` will install
-`setuptools`_ for you. [3]_
-To upgrade an existing `setuptools`_, run ``pip install -U setuptools``.
+.. warning::
+
+ Be cautious if you're using a Python install that's managed by your operating
+ system or another package manager. get-pip.py does not coordinate with
+ those tools, and may leave your system in an inconsistent state.
+
+get-pip.py will also intall :ref:`pypug:setuptools` [3]_ and :ref:`pypug:wheel`,
+if they're not already. :ref:`pypug:setuptools` is required to install
+:term:`source distributions <pypug:Source Distribution (or "sdist")>`. Both are
+required to be able to build a :ref:`Wheel cache` (which improves installation
+speed), although neither are required to install pre-built :term:`wheels
+<pypug:Wheel>`.
+
+
+get-pip.py options
+~~~~~~~~~~~~~~~~~~~
+
+.. option:: --no-setuptools
+
+ If set, don't attempt to install :ref:`pypug:setuptools`
+
+.. option:: --no-wheel
+
+ If set, don't attempt to install :ref:`pypug:wheel`
+
Additionally, ``get-pip.py`` supports using the :ref:`pip install options <pip
install Options>` and the :ref:`general options <General Options>`. Below are
@@ -55,8 +73,17 @@ Install behind a proxy::
python get-pip.py --proxy="[user:passwd@]proxy.server:port"
-Upgrade pip
------------
+Using Linux Package Managers
+----------------------------
+
+See :ref:`pypug:Installing pip/setuptools/wheel with Linux Package Managers` in
+the `Python Packaging User Guide
+<https://packaging.python.org/en/latest/current/>`_.
+
+.. _`Upgrading pip`:
+
+Upgrading pip
+-------------
On Linux or OS X:
@@ -72,26 +99,22 @@ On Windows [5]_:
python -m pip install -U pip
+Python and OS Compatibility
+---------------------------
-Using OS Package Managers
--------------------------
+pip works with CPython versions 2.6, 2.7, 3.3, 3.4, 3.5 and also pypy.
-On Linux, pip will generally be available for the system install of python using
-the system package manager, although often the latest version will be
-unavailable.
+This means pip works on the latest patch version of each of these minor versions
+(i.e. 2.6.9 for 2.6, etc).
+Previous patch versions are supported on a best effort approach.
-On Debian and Ubuntu::
-
- sudo apt-get install python-pip
-
-On Fedora::
-
- sudo yum install python-pip
+pip works on Unix/Linux, OS X, and Windows.
----
-.. [1] https://docs.python.org/3/installing/
+.. [1] For Python 2, see https://docs.python.org/2/installing, and for Python3,
+ see https://docs.python.org/3/installing.
.. [2] "Secure" in this context means using a modern browser or a
tool like `curl` that verifies SSL certificates when downloading from
@@ -107,6 +130,3 @@ On Fedora::
<https://github.com/pypa/pip/issues/1668>`_.
.. [5] https://github.com/pypa/pip/issues/1299
-
-.. _setuptools: https://pypi.python.org/pypi/setuptools
-.. _distribute: https://pypi.python.org/pypi/distribute
diff --git a/docs/reference/index.rst b/docs/reference/index.rst
index 8322f8f..cb83554 100644
--- a/docs/reference/index.rst
+++ b/docs/reference/index.rst
@@ -7,11 +7,11 @@ Reference Guide
pip
pip_install
+ pip_download
pip_uninstall
pip_freeze
pip_list
pip_show
pip_search
pip_wheel
-
-
+ pip_hash
diff --git a/docs/reference/pip_download.rst b/docs/reference/pip_download.rst
new file mode 100644
index 0000000..b79a1eb
--- /dev/null
+++ b/docs/reference/pip_download.rst
@@ -0,0 +1,53 @@
+
+.. _`pip download`:
+
+pip download
+------------
+
+.. contents::
+
+Usage
+*****
+
+.. pip-command-usage:: download
+
+
+Description
+***********
+
+.. pip-command-description:: download
+
+
+Overview
+++++++++
+``pip download`` replaces the ``--download`` option to ``pip install``,
+which is now deprecated and will be removed in pip 10.
+
+``pip download`` does the same resolution and downloading as ``pip install``,
+but instead of installing the dependencies, it collects the downloaded
+distributions into the directory provided (defaulting to the current
+directory). This directory can later be passed as the value to
+``pip install --find-links`` to facilitate offline or locked down package
+installation.
+
+
+Options
+*******
+
+.. pip-command-options:: download
+
+.. pip-index-options::
+
+
+Examples
+********
+
+1. Download a package and all of its dependencies
+
+ ::
+
+ $ pip download SomePackage
+ $ pip download -d . SomePackage # equivalent to above
+ $ pip download --no-index --find-links=/tmp/wheelhouse -d /tmp/otherwheelhouse SomePackage
+
+
diff --git a/docs/reference/pip_hash.rst b/docs/reference/pip_hash.rst
new file mode 100644
index 0000000..72052bc
--- /dev/null
+++ b/docs/reference/pip_hash.rst
@@ -0,0 +1,49 @@
+.. _`pip hash`:
+
+pip hash
+------------
+
+.. contents::
+
+Usage
+*****
+
+.. pip-command-usage:: hash
+
+
+Description
+***********
+
+.. pip-command-description:: hash
+
+
+Overview
+++++++++
+``pip hash`` is a convenient way to get a hash digest for use with
+:ref:`hash-checking mode`, especially for packages with multiple archives. The
+error message from ``pip install --require-hashes ...`` will give you one
+hash, but, if there are multiple archives (like source and binary ones), you
+will need to manually download and compute a hash for the others. Otherwise, a
+spurious hash mismatch could occur when :ref:`pip install` is passed a
+different set of options, like :ref:`--no-binary <install_--no-binary>`.
+
+
+Options
+*******
+
+.. pip-command-options:: hash
+
+
+Example
+********
+
+Compute the hash of a downloaded archive::
+
+ $ pip download SomePackage
+ Collecting SomePackage
+ Downloading SomePackage-2.2.tar.gz
+ Saved ./pip_downloads/SomePackage-2.2.tar.gz
+ Successfully downloaded SomePackage
+ $ pip hash ./pip_downloads/SomePackage-2.2.tar.gz
+ ./pip_downloads/SomePackage-2.2.tar.gz:
+ --hash=sha256:93e62e05c7ad3da1a233def6731e8285156701e3419a5fe279017c429ec67ce0
diff --git a/docs/reference/pip_install.rst b/docs/reference/pip_install.rst
index 3b62f8a..2775763 100644
--- a/docs/reference/pip_install.rst
+++ b/docs/reference/pip_install.rst
@@ -21,9 +21,52 @@ Overview
Pip install has several stages:
-1. Resolve dependencies. What will be installed is determined here.
-2. Build wheels. All the dependencies that can be are built into wheels.
-3. Install the packages (and uninstall anything being upgraded/replaced).
+1. Identify the base requirements. The user supplied arguments are processed
+ here.
+2. Resolve dependencies. What will be installed is determined here.
+3. Build wheels. All the dependencies that can be are built into wheels.
+4. Install the packages (and uninstall anything being upgraded/replaced).
+
+Argument Handling
++++++++++++++++++
+
+When looking at the items to be installed, pip checks what type of item
+each is, in the following order:
+
+1. Project or archive URL.
+2. Local directory (which must contain a ``setup.py``, or pip will report
+ an error).
+3. Local file (a sdist or wheel format archive, following the naming
+ conventions for those formats).
+4. A requirement, as specified in PEP 440.
+
+Each item identified is added to the set of requirements to be satisfied by
+the install.
+
+Working Out the Name and Version
+++++++++++++++++++++++++++++++++
+
... 18161 lines suppressed ...
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-pip.git
More information about the Python-modules-commits
mailing list