Skip to content

Commit

Permalink
Merge pull request #9828 from sbidoul/release-21.1
Browse files Browse the repository at this point in the history
Release 21.1
  • Loading branch information
sbidoul committed Apr 24, 2021
2 parents e46bdda + 4b0cddc commit a63fd65
Show file tree
Hide file tree
Showing 63 changed files with 112 additions and 68 deletions.
23 changes: 22 additions & 1 deletion AUTHORS.txt
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ Andre Aguiar
Andreas Lutro
Andrei Geacar
Andrew Gaul
Andrey Bienkowski
Andrey Bulgakov
Andrés Delfino
Andy Freeland
Expand Down Expand Up @@ -71,6 +72,7 @@ Barney Gale
barneygale
Bartek Ogryczak
Bastian Venthur
Ben Bodenmiller
Ben Darnell
Ben Hoyt
Ben Rosser
Expand All @@ -85,6 +87,7 @@ Bernardo B. Marques
Bernhard M. Wiedemann
Bertil Hatt
Bhavam Vidyarthi
Blazej Michalik
Bogdan Opanchuk
BorisZZZ
Brad Erickson
Expand Down Expand Up @@ -139,6 +142,7 @@ Cristina
Cristina Muñoz
Curtis Doty
cytolentino
Daan De Meyer
Damian Quiroga
Dan Black
Dan Savilonis
Expand All @@ -154,28 +158,33 @@ Daniele Esposti
Daniele Procida
Danny Hermes
Danny McClanahan
Darren Kavanagh
Dav Clark
Dave Abrahams
Dave Jones
David Aguilar
David Black
David Bordeynik
David Caro
David D Lowe
David Evans
David Hewitt
David Linke
David Poggi
David Pursehouse
David Tucker
David Wales
Davidovich
Deepak Sharma
Denise Yu
derwolfe
Desetude
Devesh Kumar Singh
Diego Caraballo
DiegoCaraballo
Dmitry Gladkov
Domen Kožar
Dominic Davis-Foster
Donald Stufft
Dongweiming
Douglas Thor
Expand All @@ -195,6 +204,7 @@ Emmanuel Arias
Endoh Takanao
enoch
Erdinc Mutlu
Eric Cousineau
Eric Gillingham
Eric Hanchrow
Eric Hopper
Expand Down Expand Up @@ -254,7 +264,7 @@ Igor Kuzmitshov
Igor Sobreira
Ilan Schnell
Ilya Baryshev
INADA Naoki
Inada Naoki
Ionel Cristian Mărieș
Ionel Maries Cristian
Ivan Pozdeev
Expand All @@ -279,6 +289,7 @@ jenix21
Jeremy Stanley
Jeremy Zafran
Jiashuo Li
Jim Fisher
Jim Garrison
Jivan Amara
John Paton
Expand All @@ -292,6 +303,7 @@ Jonas Nockert
Jonathan Herbert
Joost Molenaar
Jorge Niedbalski
Joseph Bylund
Joseph Long
Josh Bronson
Josh Hansen
Expand All @@ -317,6 +329,7 @@ Kevin Frommelt
Kevin R Patterson
Kexuan Sun
Kit Randel
Klaas van Schelven
KOLANICH
kpinc
Krishna Oza
Expand All @@ -325,6 +338,7 @@ Kyle Persohn
lakshmanaram
Laszlo Kiss-Kollar
Laurent Bristiel
Laurent LAPORTE
Laurie O
Laurie Opperman
Leon Sasson
Expand All @@ -346,6 +360,8 @@ Mariatta
Mark Kohler
Mark Williams
Markus Hametner
Martin Häcker
Martin Pavlasek
Masaki
Masklinn
Matej Stuchlik
Expand All @@ -362,6 +378,7 @@ Matthew Trumbell
Matthew Willson
Matthias Bussonnier
mattip
Max W Chase
Maxim Kurnikov
Maxime Rouyrre
mayeut
Expand Down Expand Up @@ -458,6 +475,7 @@ Preston Holmes
Przemek Wrzos
Pulkit Goyal
Qiangning Hong
Quentin Lee
Quentin Pradet
R. David Murray
Rafael Caricio
Expand Down Expand Up @@ -577,7 +595,9 @@ William ML Leslie
William T Olson
Wilson Mo
wim glenn
Winson Luk
Wolfgang Maier
XAMES3
Xavier Fernandez
xoviat
xtreak
Expand All @@ -592,3 +612,4 @@ Zhiping Deng
Zvezdan Petkovic
Łukasz Langa
Семён Марьясин
‮rekcäH nitraM‮
99 changes: 88 additions & 11 deletions NEWS.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,91 @@
.. note
You should *NOT* be adding new change log entries to this file, this
file is managed by towncrier. You *may* edit previous change logs to
fix problems like typo corrections or such.
To add a new change log entry, please see
https://pip.pypa.io/en/latest/development/contributing/#news-entries
.. towncrier release notes start
21.1 (2021-04-24)
=================

Process
-------

- Start installation scheme migration from ``distutils`` to ``sysconfig``. A
warning is implemented to detect differences between the two implementations to
encourage user reports, so we can avoid breakages before they happen.

Features
--------

- Add the ability for the new resolver to process URL constraints. (`#8253 <https://github.com/pypa/pip/issues/8253>`_)
- Add a feature ``--use-feature=in-tree-build`` to build local projects in-place
when installing. This is expected to become the default behavior in pip 21.3;
see `Installing from local packages <https://pip.pypa.io/en/stable/user_guide/#installing-from-local-packages>`_
for more information. (`#9091 <https://github.com/pypa/pip/issues/9091>`_)
- Bring back the "(from versions: ...)" message, that was shown on resolution failures. (`#9139 <https://github.com/pypa/pip/issues/9139>`_)
- Add support for editable installs for project with only setup.cfg files. (`#9547 <https://github.com/pypa/pip/issues/9547>`_)
- Improve performance when picking the best file from indexes during ``pip install``. (`#9748 <https://github.com/pypa/pip/issues/9748>`_)
- Warn instead of erroring out when doing a PEP 517 build in presence of
``--build-option``. Warn when doing a PEP 517 build in presence of
``--global-option``. (`#9774 <https://github.com/pypa/pip/issues/9774>`_)

Bug Fixes
---------

- Fixed ``--target`` to work with ``--editable`` installs. (`#4390 <https://github.com/pypa/pip/issues/4390>`_)
- Add a warning, discouraging the usage of pip as root, outside a virtual environment. (`#6409 <https://github.com/pypa/pip/issues/6409>`_)
- Ignore ``.dist-info`` directories if the stem is not a valid Python distribution
name, so they don't show up in e.g. ``pip freeze``. (`#7269 <https://github.com/pypa/pip/issues/7269>`_)
- Only query the keyring for URLs that actually trigger error 401.
This prevents an unnecessary keyring unlock prompt on every pip install
invocation (even with default index URL which is not password protected). (`#8090 <https://github.com/pypa/pip/issues/8090>`_)
- Prevent packages already-installed alongside with pip to be injected into an
isolated build environment during build-time dependency population. (`#8214 <https://github.com/pypa/pip/issues/8214>`_)
- Fix ``pip freeze`` permission denied error in order to display an understandable error message and offer solutions. (`#8418 <https://github.com/pypa/pip/issues/8418>`_)
- Correctly uninstall script files (from setuptools' ``scripts`` argument), when installed with ``--user``. (`#8733 <https://github.com/pypa/pip/issues/8733>`_)
- New resolver: When a requirement is requested both via a direct URL
(``req @ URL``) and via version specifier with extras (``req[extra]``), the
resolver will now be able to use the URL to correctly resolve the requirement
with extras. (`#8785 <https://github.com/pypa/pip/issues/8785>`_)
- New resolver: Show relevant entries from user-supplied constraint files in the
error message to improve debuggability. (`#9300 <https://github.com/pypa/pip/issues/9300>`_)
- Avoid parsing version to make the version check more robust against lousily
debundled downstream distributions. (`#9348 <https://github.com/pypa/pip/issues/9348>`_)
- ``--user`` is no longer suggested incorrectly when pip fails with a permission
error in a virtual environment. (`#9409 <https://github.com/pypa/pip/issues/9409>`_)
- Fix incorrect reporting on ``Requires-Python`` conflicts. (`#9541 <https://github.com/pypa/pip/issues/9541>`_)
- Make wheel compatibility tag preferences more important than the build tag (`#9565 <https://github.com/pypa/pip/issues/9565>`_)
- Fix pip to work with warnings converted to errors. (`#9779 <https://github.com/pypa/pip/issues/9779>`_)
- **SECURITY**: Stop splitting on unicode separators in git references,
which could be maliciously used to install a different revision on the
repository. (`#9827 <https://github.com/pypa/pip/issues/9827>`_)

Vendored Libraries
------------------

- Update urllib3 to 1.26.4 to fix CVE-2021-28363
- Remove contextlib2.
- Upgrade idna to 3.1
- Upgrade pep517 to 0.10.0
- Upgrade vendored resolvelib to 0.7.0.
- Upgrade tenacity to 7.0.0

Improved Documentation
----------------------

- Update "setuptools extras" link to match upstream. (`#4822829F-6A45-4202-87BA-A80482DF6D4E <https://github.com/pypa/pip/issues/4822829F-6A45-4202-87BA-A80482DF6D4E>`_)
- Improve SSL Certificate Verification docs and ``--cert`` help text. (`#6720 <https://github.com/pypa/pip/issues/6720>`_)
- Add a section in the documentation to suggest solutions to the ``pip freeze`` permission denied issue. (`#8418 <https://github.com/pypa/pip/issues/8418>`_)
- Add warning about ``--extra-index-url`` and dependency confusion (`#9647 <https://github.com/pypa/pip/issues/9647>`_)
- Describe ``--upgrade-strategy`` and direct requirements explicitly; add a brief
example. (`#9692 <https://github.com/pypa/pip/issues/9692>`_)


21.0.1 (2021-01-30)
===================

Expand Down Expand Up @@ -61,17 +149,6 @@ Improved Documentation
- Fix broken email link in docs feedback banners. (`#9343 <https://github.com/pypa/pip/issues/9343>`_)


.. note
You should *NOT* be adding new change log entries to this file, this
file is managed by towncrier. You *may* edit previous change logs to
fix problems like typo corrections or such.
To add a new change log entry, please see
https://pip.pypa.io/en/latest/development/contributing/#news-entries
.. towncrier release notes start
20.3.4 (2021-01-23)
===================

Expand Down
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
1 change: 0 additions & 1 deletion news/4390.bugfix.rst

This file was deleted.

1 change: 0 additions & 1 deletion news/4822829F-6A45-4202-87BA-A80482DF6D4E.doc.rst

This file was deleted.

Empty file.
Empty file.
1 change: 0 additions & 1 deletion news/6409.bugfix.rst

This file was deleted.

1 change: 0 additions & 1 deletion news/6720.doc.rst

This file was deleted.

2 changes: 0 additions & 2 deletions news/7269.bugfix.rst

This file was deleted.

Empty file.
3 changes: 0 additions & 3 deletions news/8090.bugfix.rst

This file was deleted.

2 changes: 0 additions & 2 deletions news/8214.bugfix.rst

This file was deleted.

1 change: 0 additions & 1 deletion news/8253.feature.rst

This file was deleted.

1 change: 0 additions & 1 deletion news/8418.bugfix.rst

This file was deleted.

1 change: 0 additions & 1 deletion news/8418.doc.rst

This file was deleted.

Empty file.
Empty file.
1 change: 0 additions & 1 deletion news/8733.bugfix.rst

This file was deleted.

4 changes: 0 additions & 4 deletions news/8785.bugfix.rst

This file was deleted.

1 change: 0 additions & 1 deletion news/8896.trivial.rst

This file was deleted.

4 changes: 0 additions & 4 deletions news/9091.feature.rst

This file was deleted.

1 change: 0 additions & 1 deletion news/9139.feature.rst

This file was deleted.

Empty file.
2 changes: 0 additions & 2 deletions news/9300.bugfix.rst

This file was deleted.

2 changes: 0 additions & 2 deletions news/9348.bugfix.rst

This file was deleted.

2 changes: 0 additions & 2 deletions news/9409.bugfix.rst

This file was deleted.

1 change: 0 additions & 1 deletion news/9541.bugfix.rst

This file was deleted.

1 change: 0 additions & 1 deletion news/9547.feature.rst

This file was deleted.

1 change: 0 additions & 1 deletion news/9565.bugfix.rst

This file was deleted.

3 changes: 0 additions & 3 deletions news/9617.process.rst

This file was deleted.

1 change: 0 additions & 1 deletion news/9647.doc.rst

This file was deleted.

2 changes: 0 additions & 2 deletions news/9692.doc.rst

This file was deleted.

1 change: 0 additions & 1 deletion news/9748.feature.rst

This file was deleted.

3 changes: 0 additions & 3 deletions news/9774.feature.rst

This file was deleted.

1 change: 0 additions & 1 deletion news/9779.bugfix.rst

This file was deleted.

3 changes: 0 additions & 3 deletions news/9827.bugfix.rst

This file was deleted.

Empty file.
Empty file.
1 change: 0 additions & 1 deletion news/CVE-2021-28363.vendor.rst

This file was deleted.

Empty file.
Empty file.
Empty file.
Empty file.
1 change: 0 additions & 1 deletion news/contextlib2.vendor.rst

This file was deleted.

Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
1 change: 0 additions & 1 deletion news/idna.vendor.rst

This file was deleted.

1 change: 0 additions & 1 deletion news/pep517.vendor.rst

This file was deleted.

1 change: 0 additions & 1 deletion news/resolvelib.vendor.rst

This file was deleted.

1 change: 0 additions & 1 deletion news/tenacity.vendor.rst

This file was deleted.

2 changes: 1 addition & 1 deletion src/pip/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from typing import List, Optional

__version__ = "21.1.dev0"
__version__ = "21.2.dev0"


def main(args=None):
Expand Down
2 changes: 1 addition & 1 deletion src/pip/_internal/resolution/resolvelib/resolver.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ def resolve(self, root_reqs, check_supported_wheels):
deprecated(
reason=reason,
replacement=replacement,
gone_in="21.1",
gone_in="21.2",
issue=8711,
)

Expand Down

0 comments on commit a63fd65

Please sign in to comment.