Fwd: [pypi-announce] pip 20.3 release (heads-up for potential disruption)

6 views
Skip to first unread message

Sumana Harihareswara

unread,
Nov 30, 2020, 9:11:00 AM11/30/20
to numf...@googlegroups.com, wal...@numfocus.org
NumFOCUS folks who use Python:

A new pip is out. Please see below, upgrade, and let us know if you run
into trouble with the new dependency resolver.

We have a low-traffic, announce-only list to announce major changes to
pip/PyPI -- subscribe at
https://mail.python.org/mailman3/lists/pypi-announce.python.org/ .

I would also please love for you to spread the word about this,
including through the NumFOCUS newsletter.

best,
Sumana Harihareswara, pip project manager


-------- Forwarded Message --------
Subject: [pypi-announce] pip 20.3 release (heads-up for potential
disruption)
Date: Mon, 30 Nov 2020 08:29:56 -0500
From: Sumana Harihareswara <s...@changeset.nyc>
Reply-To: distut...@python.org
Organization: Changeset Consulting
To: pypi-a...@python.org

On behalf of the Python Packaging Authority, I am pleased to announce
that we have just released pip 20.3, a new version of pip. You can
install it by running `python -m pip install --upgrade pip`.

This is an important and disruptive release -- we explained why in a
blog post last year
https://pyfound.blogspot.com/2019/12/moss-czi-support-pip.html . We even
made a video about it: https://www.youtube.com/watch?v=B4GQCBBsuNU .

Blog post with details:
https://pyfound.blogspot.com/2020/11/pip-20-3-new-resolver.html

Highlights include:

* **DISRUPTION**: Switch to the new dependency resolver by
default. Watch out for changes in handling editable
installs, constraints files, and more:

https://pip.pypa.io/en/latest/user_guide/#changes-to-the-pip-dependency-resolver-in-20-3-2020

* **DEPRECATION**: Deprecate support for Python 3.5 (to be removed in
pip 21.0)

* **DEPRECATION**: pip freeze will stop filtering the pip, setuptools,
distribute and wheel packages from pip freeze output in a future
version. To keep the previous behavior, users should use the new
`--exclude` option.

* Support for PEP 600: Future ‘manylinux’ Platform Tags for Portable
Linux Built Distributions.

* Add support for MacOS Big Sur compatibility tags.

The new resolver is now *on by default*. It is significantly stricter
and more consistent when it receives incompatible instructions, and
reduces support for certain kinds of constraints files, so some
workarounds and workflows may break. Please see our guide on how to
test and migrate, and how to report issues:
https://pip.pypa.io/en/latest/user_guide/#changes-to-the-pip-dependency-resolver-in-20-3-2020
. You can use the deprecated (old) resolver, using the flag
`--use-deprecated=legacy-resolver`, until we remove it in the pip 21.0
release in January 2021.

In pip 21.0 we will also remove support for Python 2.7.

You can find more details (including deprecations and removals) in the
changelog https://pip.pypa.io/en/stable/news/ , and you can find
thank-yous and instructions on reporting issues at
https://pyfound.blogspot.com/2020/11/pip-20-3-new-resolver.html .

Thank you,
Sumana Harihareswara
pip project manager
Changeset Consulting
https://changeset.nyc
_______________________________________________
pypi-announce mailing list -- pypi-a...@python.org
To unsubscribe send an email to pypi-anno...@python.org
https://mail.python.org/mailman3/lists/pypi-announce.python.org/
Member address: s...@changeset.nyc

Ralf Gommers

unread,
Nov 30, 2020, 12:36:01 PM11/30/20
to numf...@googlegroups.com
Thanks for sharing Sumana, and congratulations on this long-awaited release!

Cheers,
Ralf


--
You received this message because you are subscribed to the Google Groups "NumFOCUS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to numfocus+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/numfocus/65f055ae-646a-a3e3-ad15-7c79515eb8ff%40pypi.org.
Reply all
Reply to author
Forward
0 new messages