Merge pull request #5218 from pypa/release/10.0.0

Release 10.0.0
This commit is contained in:
Paul Moore 2018-04-14 12:17:14 +01:00 committed by GitHub
commit 28f3ce6fe2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
176 changed files with 609 additions and 348 deletions

2
.gitattributes vendored
View File

@ -1,2 +1,4 @@
# Patches must have Unix-style line endings, even on Windows
tasks/vendoring/patches/* eol=lf
# The CA Bundle should always use Unix-style line endings, even on Windows
src/pip/_vendor/certifi/*.pem eol=lf

View File

@ -14,6 +14,7 @@ Daniel Holth <dholth@fastmail.fm>
David Black <db@d1b.org>
<donald@stufft.io> <donald.stufft@gmail.com>
Dongweiming <dongweiming@admaster.com.cn> <ciici1234@hotmail.com>
Dustin Ingram <di@di.codes> <di@users.noreply.github.com>
Endoh Takanao <djmchl@gmail.com>
Erik M. Bray <embray@stsci.edu>
Gabriel de Perthuis <g2p.code@gmail.com>

View File

@ -1,5 +1,6 @@
Adam Chainz <adam@adamj.eu>
Adam Wentz <awentz@theonion.com>
Alan Yee <alyee@ucsd.edu>
Aleks Bunin <github@compuix.com>
Alex Gaynor <alex.gaynor@gmail.com>
Alex Grönholm <alex.gronholm@nextday.fi>
@ -12,27 +13,40 @@ Andrei Geacar <andrei.geacar@gmail.com>
Andrey Bulgakov <mail@andreiko.ru>
Andy Freeland <andy.freeland@redjack.com>
Andy Kluger <AndydeCleyre@users.noreply.github.com>
Anish Tambe <anish.tambe@yahoo.in>
Anrs Hu <anrs@douban.com>
Anthony Sottile <asottile@umich.edu>
Antoine Musso <hashar@free.fr>
Anton Ovchinnikov <revolver112@gmail.com>
Anton Patrushev <apatrushev@gmail.com>
Antonio Alvarado Hernandez <tnotstar@gmail.com>
Antony Lee <anntzer.lee@gmail.com>
Antti Kaihola <akaihol+github@ambitone.com>
Anubhav Patel <anubhavp28@gmail.com>
Anuj Godase <godaseanuj@gmail.com>
AQNOUCH Mohammed <aqnouch.mohammed@gmail.com>
AraHaan <seandhunt_7@yahoo.com>
Arindam Choudhury <arindam@live.com>
Armin Ronacher <armin.ronacher@active-4.com>
Ashley Manton <ajd.manton@googlemail.com>
Atsushi Odagiri <aodagx@gmail.com>
Avner Cohen <israbirding@gmail.com>
Baptiste Mispelon <bmispelon@gmail.com>
Bartek Ogryczak <b.ogryczak@gmail.com>
Ben Darnell <ben@bendarnell.com>
Ben Hoyt <benhoyt@gmail.com>
Ben Rosser <rosser.bjr@gmail.com>
Bence Nagy <bence@underyx.me>
Benjamin VanEvery <ben@simondata.com>
Benoit Pierre <benoit.pierre@gmail.com>
Berker Peksag <berker.peksag@gmail.com>
Bernardo B. Marques <bernardo.fire@gmail.com>
Bogdan Opanchuk <bogdan@opanchuk.net>
Brad Erickson <eosrei@gmail.com>
Bradley Ayers <bradley.ayers@gmail.com>
Brandon L. Reiss <brandon@damyata.co>
Brian Rosner <brosner@gmail.com>
BrownTruck <BrownTruck@users.noreply.github.com>
Bruno Oliveira <nicoddemus@gmail.com>
Bruno Renié <brutasse@gmail.com>
Buck Golemon <buck@yelp.com>
@ -50,6 +64,7 @@ Chris Brinker <chris.brinker@gmail.com>
Chris Jerdonek <chris.jerdonek@gmail.com>
Chris McDonough <chrism@plope.com>
Chris Wolfe <chriswwolfe@gmail.com>
Christian Heimes <christian@python.org>
Christian Oudard <christian.oudard@gmail.com>
Christopher Snyder <cnsnyder@users.noreply.github.com>
Clark Boylan <clark.boylan@gmail.com>
@ -58,10 +73,14 @@ Cody <Purring@users.noreply.github.com>
Cody Soyland <codysoyland@gmail.com>
Colin Watson <cjwatson@debian.org>
Connor Osborn <cdosborn@email.arizona.edu>
Cooper Lees <me@cooperlees.com>
Cooper Ry Lees <me@cooperlees.com>
Cory Benfield <lukasaoz@gmail.com>
Cory Wright <corywright@gmail.com>
Craig Kerstiens <craig.kerstiens@gmail.com>
Cristian Sorinel <cristian.sorinel@gmail.com>
Curtis Doty <Curtis@GreenKey.net>
Damian Quiroga <qdamian@gmail.com>
Dan Savilonis <djs@n-cube.org>
Dan Sully <daniel-github@electricrain.com>
daniel <mcdonaldd@unimelb.edu.au>
@ -78,6 +97,7 @@ David Caro <david@dcaro.es>
David Evans <d@drhevans.com>
David Linke <dr.david.linke@gmail.com>
David Pursehouse <david.pursehouse@gmail.com>
David Tucker <david@tucker.name>
David Wales <daviewales@gmail.com>
Davidovich <david.genest@gmail.com>
derwolfe <chriswwolfe@gmail.com>
@ -86,37 +106,51 @@ Domen Kožar <domen@dev.si>
Donald Stufft <donald@stufft.io>
Dongweiming <dongweiming@admaster.com.cn>
Douglas Thor <dougthor42@users.noreply.github.com>
Dustin Ingram <di@di.codes>
Dwayne Bailey <dwayne@translate.org.za>
Ed Morley <501702+edmorley@users.noreply.github.com>
Ed Morley <emorley@mozilla.com>
Emil Styrke <emil.styrke@gmail.com>
Endoh Takanao <djmchl@gmail.com>
enoch <lanxenet@gmail.com>
Eric Gillingham <Gillingham@bikezen.net>
Eric Hanchrow <eric.hanchrow@gmail.com>
Eric Hopper <hopper@omnifarious.org>
Erik M. Bray <embray@stsci.edu>
Erik Rose <erik@mozilla.com>
Erwin Janssen <erwinjanssen@outlook.com>
Eugene Vereshchagin <evvers@gmail.com>
fiber-space <fiber-space@users.noreply.github.com>
Filip Kokosiński <filip.kokosinski@gmail.com>
Florian Briand <ownerfrance+github@hotmail.com>
Francesco <f.guerrieri@gmail.com>
Francesco Montesano <franz.bergesund@gmail.com>
Gabriel Curio <g.curio@gmail.com>
Gabriel de Perthuis <g2p.code@gmail.com>
Garry Polley <garrympolley@gmail.com>
gdanielson <graeme.danielson@gmail.com>
Geoffrey Lehée <geoffrey@lehee.name>
Geoffrey Sneddon <me@gsnedders.com>
George Song <george@55minutes.com>
Georgi Valkov <georgi.t.valkov@gmail.com>
Giftlin Rajaiah <giftlin.rgn@gmail.com>
gizmoguy1 <gizmoguy1@gmail.com>
GOTO Hayato <3532528+gh640@users.noreply.github.com>
Guilherme Espada <porcariadagata@gmail.com>
Guy Rozendorn <guy@rzn.co.il>
Hari Charan <hcharan997@gmail.com>
Herbert Pfennig <herbert@albinen.com>
Hsiaoming Yang <lepture@me.com>
Hugo <hugovk@users.noreply.github.com>
Hugo Lopes Tavares <hltbra@gmail.com>
Hynek Schlawack <hs@ox.cx>
Ian Bicking <ianb@colorstudy.com>
Ian Cordasco <graffatcolmingov@gmail.com>
Ian Lee <IanLee1521@gmail.com>
Ian Stapleton Cordasco <graffatcolmingov@gmail.com>
Ian Wienand <ian@wienand.org>
Ian Wienand <iwienand@redhat.com>
Igor Kuzmitshov <kuzmiigo@gmail.com>
Igor Sobreira <igor@igorsobreira.com>
Ilya Baryshev <baryshev@gmail.com>
INADA Naoki <songofacandy@gmail.com>
@ -141,6 +175,7 @@ Jim Garrison <jim@garrison.cc>
Jivan Amara <Development@JivanAmara.net>
John-Scott Atlakson <john.scott.atlakson@gmail.com>
Jon Banafato <jon@jonafato.com>
Jon Dufresne <jon.dufresne@gmail.com>
Jon Parise <jon@indelible.org>
Jon Wayne Parrott <jjramone13@gmail.com>
Jonas Nockert <jonasnockert@gmail.com>
@ -163,6 +198,7 @@ Kevin Burke <kev@inburke.com>
Kevin Carter <kevin.carter@rackspace.com>
Kevin Frommelt <kevin.frommelt@webfilings.com>
Kit Randel <kit@nocturne.net.nz>
kpinc <kop@meme.com>
Kumar McMillan <kumar.mcmillan@gmail.com>
Kyle Persohn <kyle.persohn@gmail.com>
Laurent Bristiel <laurent@bristiel.com>
@ -170,17 +206,22 @@ Leon Sasson <leonsassonha@gmail.com>
Lev Givon <lev@columbia.edu>
Lincoln de Sousa <lincoln@comum.org>
Lipis <lipiridis@gmail.com>
Lucas Cimon <lucas.cimon@gmail.com>
Ludovic Gasc <gmludo@gmail.com>
Luke Macken <lmacken@redhat.com>
Luo Jiebin <luo.jiebin@foxmail.com>
Luo Jiebin <luo.jiebin@qq.com>
luojiebin <luojiebin@users.noreply.github.com>
luz.paz <luzpaz@users.noreply.github.com>
Marc Abramowitz <marc@marc-abramowitz.com>
Marc Tamlyn <marc.tamlyn@gmail.com>
Marcus Smith <qwcode@gmail.com>
Mariatta <Mariatta@users.noreply.github.com>
Mark Kohler <mark.kohler@proteinsimple.com>
Markus Hametner <fin+github@xbhd.org>
Masklinn <bitbucket.org@masklinn.net>
Matej Stuchlik <mstuchli@redhat.com>
Mathew Jennings <mjennings@foursquare.com>
Mathieu Bridon <bochecha@daitauha.fr>
Matt Good <matt@matt-good.net>
Matt Maker <trip@monstro.us>
Matt Robenolt <matt@ydekproductions.com>
@ -189,7 +230,9 @@ Matthew Einhorn <moiein2000@gmail.com>
Matthew Gilliard <matthew.gilliard@gmail.com>
Matthew Iversen <teh.ivo@gmail.com>
Matthew Trumbell <matthew@thirdstonepartners.com>
Matthew Willson <matthew@swiftkey.com>
Matthias Bussonnier <bussonniermatthias@gmail.com>
mattip <matti.picus@gmail.com>
Maxim Kurnikov <maxim.kurnikov@gmail.com>
Maxime Rouyrre <rouyrre+git@gmail.com>
memoselyk <memoselyk@gmail.com>
@ -209,6 +252,7 @@ Nate Coraor <nate@bx.psu.edu>
Nathaniel J. Smith <njs@pobox.com>
Nick Coghlan <ncoghlan@gmail.com>
Nick Stenning <nick@whiteink.com>
Nikhil Benesch <nikhil.benesch@gmail.com>
Nowell Strite <nowell@strite.org>
nvdv <modestdev@gmail.com>
Ofekmeister <ofekmeister@gmail.com>
@ -216,12 +260,15 @@ Oliver Tonnhofer <olt@bogosoft.com>
Olivier Girardot <ssaboum@gmail.com>
Olivier Grisel <olivier.grisel@ensta.org>
Ollie Rutherfurd <orutherfurd@gmail.com>
OMOTO Kenji <k-omoto@m3.com>
Oren Held <orenhe@il.ibm.com>
Oscar Benjamin <oscar.j.benjamin@gmail.com>
Oz N Tiram <oz.tiram@gmail.com>
Patrick Dubroy <pdubroy@gmail.com>
Patrick Jenkins <patrick@socialgrowthtechnologies.com>
Patrick Lawson <pl@foursquare.com>
patricktokeeffe <patricktokeeffe@users.noreply.github.com>
Paul Kehrer <paul.l.kehrer@gmail.com>
Paul Moore <p.f.moore@gmail.com>
Paul Nasrat <pnasrat@gmail.com>
Paul Oswald <pauloswald@gmail.com>
@ -232,15 +279,18 @@ Pekka Klärck <peke@iki.fi>
Peter Waller <peter.waller@gmail.com>
Phaneendra Chiruvella <hi@pcx.io>
Phil Freo <phil@philfreo.com>
Phil Pennock <phil@pennock-tech.com>
Phil Whelan <phil123@gmail.com>
Philippe Ombredanne <pombredanne@gmail.com>
Pierre-Yves Rofes <github@rofes.fr>
Pi Delport <pjdelport@gmail.com>
Pradyun <pradyunsg@users.noreply.github.com>
Pradyun S. Gedam <pradyunsg@gmail.com>
Pierre-Yves Rofes <github@rofes.fr>
pip <pypa-dev@googlegroups.com>
Pradyun Gedam <pradyunsg@gmail.com>
Pratik Mallya <mallya@us.ibm.com>
Preston Holmes <preston@ptone.com>
Przemek Wrzos <hetmankp@none>
Qiangning Hong <hongqn@gmail.com>
R. David Murray <rdmurray@bitdance.com>
Rafael Caricio <rafael.jacinto@gmail.com>
Ralf Schmitt <ralf@systemexit.de>
Razzi Abuissa <razzi53@gmail.com>
@ -270,6 +320,7 @@ schlamar <marc.schlaich@gmail.com>
Scott Kitterman <sklist@kitterman.com>
seanj <seanj@xyke.com>
Sebastian Schaetz <sschaetz@butterflynetinc.com>
Segev Finer <segev208@gmail.com>
Sergey Vasilyev <nolar@nolar.info>
Seth Woodworth <seth@sethish.com>
Simeon Visser <svisser@users.noreply.github.com>
@ -278,7 +329,7 @@ Simon Pichugin <simon.pichugin@gmail.com>
Sorin Sbarnea <sorin.sbarnea@gmail.com>
Stavros Korokithakis <stavros@korokithakis.net>
Stefan Scherfke <stefan@sofa-rockers.org>
Stephan Erb <stephan@dev.static-void.de>
Stephan Erb <github@stephanerb.eu>
stepshal <nessento@openmailbox.org>
Steve (Gadget) Barnes <gadgetsteve@hotmail.com>
Steve Barnes <gadgetsteve@hotmail.com>
@ -293,7 +344,7 @@ Thomas Fenzl <thomas.fenzl@gmail.com>
Thomas Grainger <tagrain@gmail.com>
Thomas Guettler <tguettler@tbz-pariv.de>
Thomas Johansson <devnull@localhost>
Thomas Kluyver <takowl@gmail.com>
Thomas Kluyver <thomas@kluyver.me.uk>
Thomas Smith <smithtg@ncbi.nlm.nih.gov>
Tim D. Smith <github@tim-smith.us>
Tim Harder <radhermit@gmail.com>
@ -307,10 +358,10 @@ Toshio Kuratomi <toshio@fedoraproject.org>
Travis Swicegood <development@domain51.com>
Valentin Haenel <valentin.haenel@gmx.de>
Victor Stinner <victor.stinner@gmail.com>
Victor Stinner <vstinner@redhat.com>
Viktor Szépe <viktor@szepe.net>
Ville Skyttä <ville.skytta@iki.fi>
Vinay Sajip <vinay_sajip@yahoo.co.uk>
Vincent Philippon <sindaewoh@gmail.com>
Vitaly Babiy <vbabiy86@gmail.com>
Vladimir Rutsky <rutsky@users.noreply.github.com>
W. Trevor King <wking@drexel.edu>
@ -320,6 +371,7 @@ William ML Leslie <william.leslie.ttg@gmail.com>
Wolfgang Maier <wolfgang.maier@biologie.uni-freiburg.de>
Xavier Fernandez <xav.fernandez@gmail.com>
Xavier Fernandez <xavier.fernandez@polyconseil.fr>
xoviat <xoviat@users.noreply.github.com>
YAMAMOTO Takashi <yamamoto@midokura.com>
Yen Chi Hsuan <yan12125@gmail.com>
Yoval P <yoval@gmx.com>
@ -328,3 +380,4 @@ Zearin <zearin@gonk.net>
Zearin <Zearin@users.noreply.github.com>
Zhiping Deng <kofreestyler@gmail.com>
Zvezdan Petkovic <zpetkovic@acm.org>
Семён Марьясин <simeon@maryasin.name>

246
NEWS.rst
View File

@ -8,6 +8,252 @@
.. towncrier release notes start
10.0.0 (2018-04-14)
===================
Bug Fixes
---------
- Prevent false-positive installation warnings due to incomplete name
normalizaton. (#5134)
- Fix issue where installing from Git with a short SHA would fail. (#5140)
- Accept pre-release versions when checking for conflicts with pip check or pip
install. (#5141)
- ``ioctl(fd, termios.TIOCGWINSZ, ...)`` needs 8 bytes of data (#5150)
- Do not warn about script location when installing to the directory containing
sys.executable. This is the case when 'pip install'ing without activating a
virtualenv. (#5157)
- Fix PEP 518 support. (#5188)
- Don't warn about script locations if ``--target`` is specified. (#5203)
10.0.0b2 (2018-04-02)
=====================
Bug Fixes
---------
- Fixed line endings in CA Bundle - 10.0.0b1 was inadvertently released with Windows
line endings. (#5131)
10.0.0b1 (2018-03-31)
=====================
Deprecations and Removals
-------------------------
- Removed the deprecated ``--egg`` parameter to ``pip install``. (#1749)
- Removed support for uninstalling projects which have been installed using
distutils. distutils installed projects do not include metadata indicating
what files belong to that install and thus it is impossible to *actually*
uninstall them rather than just remove the metadata saying they've been
installed while leaving all of the actual files behind. (#2386)
- Removed the deprecated ``--download`` option to ``pip install``. (#2643)
- Removed the deprecated --(no-)use-wheel flags to ``pip install`` and ``pip
wheel``. (#2699)
- Removed the deprecated ``--allow-external``, ``--allow-all-external``, and
``--allow-unverified`` options. (#3070)
- Switch the default for ``pip list`` to the columns format, and deprecate the
legacy format. (#3654, #3686)
- Deprecate support for Python 3.3. (#3796)
- Removed the deprecated ``--default-vcs`` option. (#4052)
- Removed the ``setup.py test`` support from our sdist as it wasn't being
maintained as a supported means to run our tests. (#4203)
- Dropped support for Python 2.6. (#4343)
- Removed the --editable flag from pip download, as it did not make sense
(#4362)
- Deprecate SVN detection based on dependency links in ``pip freeze``. (#4449)
- Move all of pip's APIs into the pip._internal package, properly reflecting
the fact that pip does not currently have any public APIs. (#4696, #4700)
Features
--------
- Add `--progress-bar <progress_bar>` to ``pip download``, ``pip install`` and
``pip wheel`` commands, to allow selecting a specific progress indicator or,
to completely suppress, (for example in a CI environment) use
``--progress-bar off```. (#2369, #2756)
- Add `--no-color` to `pip`. All colored output is disabled if this flag is
detected. (#2449)
- pip uninstall now ignores the absence of a requirement and prints a warning.
(#3016, #4642)
- Improved the memory and disk efficiency of the HTTP cache. (#3515)
- Support for packages specifying build dependencies in pyproject.toml (see
`PEP 518 <https://www.python.org/dev/peps/pep-0518/>`__). Packages which
specify one or more build dependencies this way will be built into wheels in
an isolated environment with those dependencies installed. (#3691)
- pip now supports environment variable expansion in requirement files using
only ``${VARIABLE}`` syntax on all platforms. (#3728)
- Allowed combinations of -q and -v to act sanely. Then we don't need warnings
mentioned in the issue. (#4008)
- Add `--exclude-editable` to ``pip freeze`` and ``pip list`` to exclude
editable packages from installed package list. (#4015, #4016)
- Improve the error message for the common ``pip install ./requirements.txt``
case. (#4127)
- Add support for the new ``@ url`` syntax from PEP 508. (#4175)
- Add setuptools version to the statistics sent to BigQuery. (#4209)
- Report the line which caused the hash error when using requirement files.
(#4227)
- Add a pip config command for managing configuration files. (#4240)
- Allow ``pip download`` to be used with a specific platform when ``--no-deps``
is set. (#4289)
- Support build-numbers in wheel versions and support sorting with
build-numbers. (#4299)
- Change pip outdated to use PackageFinder in order to do the version lookup so
that local mirrors in Environments that do not have Internet connections can
be used as the Source of Truth for latest version. (#4336)
- pip now retries on more HTTP status codes, for intermittent failures.
Previously, it only retried on the standard 503. Now, it also retries on 500
(transient failures on AWS S3), 520 and 527 (transient failures on
Cloudflare). (#4473)
- pip now displays where it is looking for packages, if non-default locations
are used. (#4483)
- Display a message to run the right command for modifying pip on Windows
(#4490)
- Add Man Pages for pip (#4491)
- Make uninstall command less verbose by default (#4493)
- Switch the default upgrade strategy to be 'only-if-needed' (#4500)
- Installing from a local directory or a VCS URL now builds a wheel to install,
rather than running ``setup.py install``. Wheels from these sources are not
cached. (#4501)
- Don't log a warning when installing a dependency from Git if the name looks
like a commit hash. (#4507)
- pip now displays a warning when it installs scripts from a wheel outside the
PATH. These warnings can be suppressed using a new --no-warn-script-location
option. (#4553)
- Local Packages can now be referenced using forward slashes on Windows.
(#4563)
- pip show learnt a new Required-by field that lists currently installed
packages that depend on the shown package (#4564)
- The command-line autocompletion engine ``pip show`` now autocompletes
installed distribution names. (#4749)
- Change documentation theme to be in line with Python Documentation (#4758)
- Add auto completion of short options. (#4954)
- Run 'setup.py develop' inside pep518 build environment. (#4999)
- pip install now prints an error message when it installs an incompatible
version of a dependency. (#5000)
- Added a way to distinguish between pip installed packages and those from the
system package manager in 'pip list'. Specifically, 'pip list -v' also shows
the installer of package if it has that meta data. (#949)
- Show install locations when list command ran with "-v" option. (#979)
Bug Fixes
---------
- Allow pip to work if the ``GIT_DIR`` and ``GIT_WORK_TREE`` environment
variables are set. (#1130)
- Make ``pip install --force-reinstall`` not require passing ``--upgrade``.
(#1139)
- Return a failing exit status when `pip install`, `pip download`, or `pip
wheel` is called with no requirements. (#2720)
- Interactive setup.py files will no longer hang indefinitely. (#2732, #4982)
- Correctly reset the terminal if an exception occurs while a progress bar is
being shown. (#3015)
- "Support URL-encoded characters in URL credentials." (#3236)
- Don't assume sys.__stderr__.encoding exists (#3356)
- Fix ``pip uninstall`` when ``easy-install.pth`` lacks a trailing newline.
(#3741)
- Keep install options in requirements.txt from leaking. (#3763)
- pip no longer passes global options from one package to later packages in the
same requirement file. (#3830)
- Support installing from Git refs (#3876)
- Use pkg_resources to parse the entry points file to allow names with colons.
(#3901)
- ``-q`` specified once correctly sets logging level to WARNING, instead of
CRITICAL. Use `-qqq` to have the previous behavior back. (#3994)
- Shell completion scripts now use correct executable names (e.g., ``pip3``
instead of ``pip``) (#3997)
- Changed vendored encodings from ``utf8`` to ``utf-8``. (#4076)
- Fixes destination directory of data_files when ``pip install --target`` is
used. (#4092)
- Limit the disabling of requests' pyopenssl to Windows only. Fixes
"SNIMissingWarning / InsecurePlatformWarning not fixable with pip 9.0 /
9.0.1" (for non-Windows) (#4098)
- Support the installation of wheels with non-PEP 440 version in their
filenames. (#4169)
- Fall back to sys.getdefaultencoding() if locale.getpreferredencoding()
returns None in `pip.utils.encoding.auto_decode`. (#4184)
- Fix a bug where `SETUPTOOLS_SHIM` got called incorrectly for relative path
requirements by converting relative paths to absolute paths prior to calling
the shim. (#4208)
- Return the latest version number in search results. (#4219)
- Improve error message on permission errors (#4233)
- Fail gracefully when ``/etc/image_version`` (or another distro version file)
appears to exists but is not readable. (#4249)
- Avoid importing setuptools in the parent pip process, to avoid a race
condition when upgrading one of setuptools dependencies. (#4264)
- Fix for an incorrect ``freeze`` warning message due to a package being
included in multiple requirements files that were passed to ``freeze``.
Instead of warning incorrectly that the package is not installed, pip now
warns that the package was declared multiple times and lists the name of each
requirements file that contains the package in question. (#4293)
- Generalize help text for ``compile``/``no-compile`` flags. (#4316)
- Handle the case when ``/etc`` is not readable by the current user by using a
hardcoded list of possible names of release files. (#4320)
- Fixed a ``NameError`` when attempting to catch ``FileNotFoundError`` on
Python 2.7. (#4322)
- Ensure USER_SITE is correctly initialised. (#4437)
- Reinstalling an editable package from Git no longer assumes that the
``master`` branch exists. (#4448)
- This fixes an issue where when someone who tries to use git with pip but pip
can't because git is not in the path environment variable. This clarifies the
error given to suggest to the user what might be wrong. (#4461)
- Improve handling of text output from build tools (avoid Unicode errors)
(#4486)
- Fix a "No such file or directory" error when using --prefix. (#4495)
- Allow commands to opt out of --require-venv. This allows pip help to work
even when the environment variable PIP_REQUIRE_VIRTUALENV is set. (#4496)
- Fix warning message on mismatched versions during installation. (#4655)
- pip now records installed files in a deterministic manner improving
reproducibility. (#4667)
- Fix an issue where ``pip install -e`` on a Git url would fail to update if a
branch or tag name is specified that happens to match the prefix of the
current ``HEAD`` commit hash. (#4675)
- Fix an issue where a variable assigned in a try clause was accessed in the
except clause, resulting in an undefined variable error in the except clause.
(#4811)
- Use log level `info` instead of `warning` when ignoring packages due to
environment markers. (#4876)
- Replaced typo mistake in subversion support. (#4908)
- Terminal size is now correctly inferred when using Python 3 on Windows.
(#4966)
- Abort if reading configuration causes encoding errors. (#4976)
- Add a ``--no-user`` option and use it when installing build dependencies.
(#5085)
Vendored Libraries
------------------
- Upgraded appdirs to 1.4.3.
- Upgraded CacheControl to 0.12.3.
- Vendored certifi at 2017.7.27.1.
- Vendored chardet at 3.0.4.
- Upgraded colorama to 0.3.9.
- Upgraded distlib to 0.2.6.
- Upgraded distro to 1.2.0.
- Vendored idna at idna==2.6.
- Upgraded ipaddress to 1.0.18.
- Vendored msgpack-python at 0.4.8.
- Removed the vendored ordereddict.
- Upgraded progress to 1.3.
- Upgraded pyparsing to 2.2.0.
- Upgraded pytoml to 0.1.14.
- Upgraded requests to 2.18.4.
- Upgraded pkg_resources (via setuptools) to 36.6.0.
- Upgraded six to 1.11.0.
- Vendored urllib3 at 1.22.
- Upgraded webencodings to 0.5.1.
Improved Documentation
----------------------
- Added documentation on usage of --build command line option (#4262)
- (#4358)
- Document how to call pip from your code, including the fact that we do not
provide a Python API. (#4743)
9.0.3 (2018-03-21)
==================

View File

@ -12,6 +12,7 @@
# serve to show the default.
import os
import re
import sys
import glob
@ -59,14 +60,27 @@ copyright = '2008-2017, PyPA'
# built documents.
#
# The short X.Y version.
try:
from pip import __version__
# The short X.Y version.
version = '.'.join(__version__.split('.')[:2])
# The full version, including alpha/beta/rc tags.
release = __version__
except ImportError:
version = release = 'dev'
version = release = 'dev'
# Readthedocs seems to install pip as an egg (via setup.py install) which
# is somehow resulting in "import pip" picking up an older copy of pip.
# Rather than trying to force RTD to install pip properly, we'll simply
# read the version direct from the __init__.py file. (Yes, this is
# fragile, but it works...)
root = os.path.dirname(os.path.dirname(__file__))
pip_init = os.path.join(root, 'src', 'pip', '__init__.py')
with open(pip_init) as f:
for line in f:
m = re.match(r'__version__ = "(.*)"', line)
if m:
__version__ = m.group(1)
# The short X.Y version.
version = '.'.join(__version__.split('.')[:2])
# The full version, including alpha/beta/rc tags.
release = __version__
break
# We have this here because readthedocs plays tricks sometimes and there seems
# to be a hiesenbug, related to the version of pip discovered. This is here to

View File

@ -1,2 +0,0 @@
Allow pip to work if the ``GIT_DIR`` and ``GIT_WORK_TREE`` environment
variables are set.

View File

@ -1 +0,0 @@
Make ``pip install --force-reinstall`` not require passing ``--upgrade``.

View File

@ -1 +0,0 @@
Removed the deprecated ``--egg`` parameter to ``pip install``.

View File

@ -1,4 +0,0 @@
Add `--progress-bar <progress_bar>` to ``pip download``, ``pip install`` and
``pip wheel`` commands, to allow selecting a specific progress indicator or, to
completely suppress, (for example in a CI environment) use
``--progress-bar off```.

View File

@ -1,5 +0,0 @@
Removed support for uninstalling projects which have been installed using
distutils. distutils installed projects do not include metadata indicating
what files belong to that install and thus it is impossible to *actually*
uninstall them rather than just remove the metadata saying they've been
installed while leaving all of the actual files behind.

View File

@ -1,2 +0,0 @@
Add `--no-color` to `pip`. All colored output is disabled
if this flag is detected.

View File

@ -1 +0,0 @@
Removed the deprecated ``--download`` option to ``pip install``.

View File

@ -1,2 +0,0 @@
Removed the deprecated --(no-)use-wheel flags to ``pip install`` and
``pip wheel``.

View File

@ -1,2 +0,0 @@
Return a failing exit status when `pip install`, `pip download`, or `pip wheel`
is called with no requirements.

View File

@ -1 +0,0 @@
Interactive setup.py files will no longer hang indefinitely.

View File

@ -1,4 +0,0 @@
Add `--progress-bar <progress_bar>` to ``pip download``, ``pip install`` and
``pip wheel`` commands, to allow selecting a specific progress indicator or, to
completely suppress, (for example in a CI environment) use
``--progress-bar off```.

View File

@ -1 +0,0 @@
Correctly reset the terminal if an exception occurs while a progress bar is being shown.

View File

@ -1 +0,0 @@
pip uninstall now ignores the absence of a requirement and prints a warning.

View File

@ -1,2 +0,0 @@
Removed the deprecated ``--allow-external``, ``--allow-all-external``, and
``--allow-unverified`` options.

View File

@ -1 +0,0 @@
"Support URL-encoded characters in URL credentials."

View File

@ -1 +0,0 @@
Don't assume sys.__stderr__.encoding exists

View File

@ -1 +0,0 @@
Improved the memory and disk efficiency of the HTTP cache.

View File

@ -1,2 +0,0 @@
Switch the default for ``pip list`` to the columns format, and deprecate the
legacy format.

View File

@ -1,2 +0,0 @@
Switch the default for ``pip list`` to the columns format, and deprecate the
legacy format.

View File

@ -1,4 +0,0 @@
Support for packages specifying build dependencies in pyproject.toml (see `PEP
518 <https://www.python.org/dev/peps/pep-0518/>`__). Packages which specify
one or more build dependencies this way will be built into wheels in an
isolated environment with those dependencies installed.

View File

@ -1,2 +0,0 @@
pip now supports environment variable expansion in requirement files using
only ``${VARIABLE}`` syntax on all platforms.

View File

@ -1 +0,0 @@
Fix ``pip uninstall`` when ``easy-install.pth`` lacks a trailing newline.

View File

@ -1 +0,0 @@
Keep install options in requirements.txt from leaking.

View File

@ -1 +0,0 @@
Deprecate support for Python 3.3.

View File

@ -1 +0,0 @@
pip no longer passes global options from one package to later packages in the same requirement file.

View File

@ -1 +0,0 @@
Support installing from Git refs

View File

@ -1 +0,0 @@
Use pkg_resources to parse the entry points file to allow names with colons.

View File

@ -1,2 +0,0 @@
``-q`` specified once correctly sets logging level to WARNING, instead of CRITICAL.
Use `-qqq` to have the previous behavior back.

View File

@ -1,2 +0,0 @@
Shell completion scripts now use correct executable names (e.g., ``pip3``
instead of ``pip``)

View File

@ -1 +0,0 @@
Allowed combinations of -q and -v to act sanely. Then we don't need warnings mentioned in the issue.

View File

@ -1,2 +0,0 @@
Add `--exclude-editable` to ``pip freeze`` and ``pip list`` to exclude editable
packages from installed package list.

View File

@ -1,2 +0,0 @@
Add `--exclude-editable` to ``pip freeze`` and ``pip list`` to exclude editable
packages from installed package list.

View File

@ -1 +0,0 @@
Removed the deprecated ``--default-vcs`` option.

View File

@ -1 +0,0 @@
Changed vendored encodings from ``utf8`` to ``utf-8``.

View File

@ -1 +0,0 @@
Fixes destination directory of data_files when ``pip install --target`` is used.

View File

@ -1 +0,0 @@
Limit the disabling of requests' pyopenssl to Windows only. Fixes "SNIMissingWarning / InsecurePlatformWarning not fixable with pip 9.0 / 9.0.1" (for non-Windows)

View File

@ -1 +0,0 @@
Improve the error message for the common ``pip install ./requirements.txt`` case.

View File

@ -1 +0,0 @@
Support the installation of wheels with non-PEP 440 version in their filenames.

View File

@ -1 +0,0 @@
Add support for the new ``@ url`` syntax from PEP 508.

View File

@ -1 +0,0 @@
Fall back to sys.getdefaultencoding() if locale.getpreferredencoding() returns None in `pip.utils.encoding.auto_decode`.

View File

@ -1,2 +0,0 @@
Removed the ``setup.py test`` support from our sdist as it wasn't being
maintained as a supported means to run our tests.

View File

@ -1,3 +0,0 @@
Fix a bug where `SETUPTOOLS_SHIM` got called incorrectly for relative path
requirements by converting relative paths to absolute paths prior to calling
the shim.

View File

@ -1 +0,0 @@
Add setuptools version to the statistics sent to BigQuery.

View File

@ -1 +0,0 @@
Return the latest version number in search results.

View File

@ -1 +0,0 @@
Report the line which caused the hash error when using requirement files.

View File

@ -1 +0,0 @@
Improve error message on permission errors

View File

@ -1 +0,0 @@
Add a pip config command for managing configuration files.

View File

@ -1,2 +0,0 @@
Fail gracefully when ``/etc/image_version`` (or another distro version file)
appears to exists but is not readable.

View File

@ -1 +0,0 @@
Added documentation on usage of --build command line option

View File

@ -1,2 +0,0 @@
Avoid importing setuptools in the parent pip process, to avoid a race condition
when upgrading one of setuptools dependencies.

View File

@ -1,2 +0,0 @@
Allow ``pip download`` to be used with a specific platform when ``--no-deps`` is
set.

View File

@ -1,5 +0,0 @@
Fix for an incorrect ``freeze`` warning message due to a package being
included in multiple requirements files that were passed to ``freeze``.
Instead of warning incorrectly that the package is not installed, pip
now warns that the package was declared multiple times and lists the
name of each requirements file that contains the package in question.

View File

@ -1 +0,0 @@
Support build-numbers in wheel versions and support sorting with build-numbers.

View File

@ -1 +0,0 @@
Generalize help text for ``compile``/``no-compile` flags.

View File

@ -1,2 +0,0 @@
Handle the case when ``/etc`` is not readable by the current user by using a
hardcoded list of possible names of release files.

View File

@ -1,2 +0,0 @@
Fixed a ``NameError`` when attempting to catch ``FileNotFoundError`` on
Python 2.7.

View File

@ -1 +0,0 @@
Introduce a Temporary Directory abstraction in the codebase.

View File

@ -1,3 +0,0 @@
Change pip outdated to use PackageFinder in order to do the version lookup
so that local mirrors in Environments that do not have Internet connections
can be used as the Source of Truth for latest version.

View File

@ -1 +0,0 @@
Dropped support for Python 2.6.

View File

View File

@ -1 +0,0 @@
Removed the --editable flag from pip download, as it did not make sense

View File

@ -1 +0,0 @@
Ensure USER_SITE is correctly initialised.

View File

@ -1,2 +0,0 @@
Reinstalling an editable package from Git no longer assumes that the ``master``
branch exists.

View File

@ -1 +0,0 @@
Deprecate SVN detection based on dependency links in ``pip freeze``.

View File

@ -1,4 +0,0 @@
This fixes an issue where when someone who tries to use git
with pip but pip can't because git is not in the path
environment variable. This clarifies the error given to
suggest to the user what might be wrong.

View File

@ -1,4 +0,0 @@
pip now retries on more HTTP status codes, for intermittent failures.
Previously, it only retried on the standard 503. Now, it also retries on 500
(transient failures on AWS S3), 520 and 527 (transient failures on Cloudflare).

View File

View File

View File

@ -1 +0,0 @@
pip now displays where it is looking for packages, if non-default locations are used.

View File

@ -1 +0,0 @@
Modify README to move badges above links to resources.

View File

@ -1 +0,0 @@
Sort all imports in the codebase

View File

@ -1 +0,0 @@
Improve handling of text output from build tools (avoid Unicode errors)

View File

@ -1 +0,0 @@
Misc Documentation Fixes

View File

@ -1 +0,0 @@
Display a message to run the right command for modifying pip on Windows

View File

@ -1 +0,0 @@
Add Man Pages for pip

View File

@ -1 +0,0 @@
Re-Run network tests if they fail, up to 3 times

View File

@ -1 +0,0 @@
Make uninstall command less verbose by default

View File

@ -1 +0,0 @@
Fix a "No such file or directory" error when using --prefix.

View File

@ -1 +0,0 @@
Allow commands to opt out of --require-venv. This allows pip help to work even when the environment variable PIP_REQUIRE_VIRTUALENV is set.

View File

@ -1 +0,0 @@
Switch the default upgrade strategy to be 'only-if-needed'

View File

@ -1,3 +0,0 @@
Installing from a local directory or a VCS URL now builds a wheel to install,
rather than running ``setup.py install``. Wheels from these sources are not
cached.

View File

@ -1 +0,0 @@
Update pyproject.toml for PEP-518

View File

@ -1,2 +0,0 @@
Don't log a warning when installing a dependency from Git if the name looks
like a commit hash.

View File

@ -1 +0,0 @@
Just indentation things.

View File

@ -1 +0,0 @@
Sort imports, again.

View File

@ -1 +0,0 @@
Move prepare_files logic to pip.resolve

View File

@ -1 +0,0 @@
Re-Run tests only on CI

View File

@ -1 +0,0 @@
Add a new pip.cache module.

View File

@ -1 +0,0 @@
Move attributes from RequirementSet to Resolver

View File

@ -1 +0,0 @@
pip now displays a warning when it installs scripts from a wheel outside the PATH. These warnings can be suppressed using a new --no-warn-script-location option.

Some files were not shown because too many files have changed in this diff Show More