pip 20.3 release (heads-up for potential disruption)

2020-11-30 Thread Sumana Harihareswara
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
___
Python-announce-list mailing list -- python-announce-list@python.org
To unsubscribe send an email to python-announce-list-le...@python.org
https://mail.python.org/mailman3/lists/python-announce-list.python.org/
Member address: arch...@mail-archive.com


Pip users: big change coming this month

2020-10-01 Thread Sumana Harihareswara
Changes are coming to pip, Python's package installation tool, in 
October 2020. Please read and share this migration guide: 
https://pip.pypa.io/en/latest/user_guide/#changes-to-the-pip-dependency-resolver-in-20-2-2020 
.


We're working on improving the Python packaging toolchain, foundational 
work that will (in the long run) make the whole Python package 
installation experience way less confusing.


The pip team made a 2-minute video to explain what's up:

https://youtu.be/B4GQCBBsuNU

We are also doing user experience studies, and want you to sign up if 
you ever do anything with Python (whatever your level of 
skill/experience): 
http://www.ei8fdb.org/thoughts/2020/03/pip-ux-study-recruitment/


https://mastodon.social/@brainwane/104950044427849411 is a good toot to 
boost, and https://twitter.com/ThePSF/status/1311038036013199363 is a 
good tweet to retweet, if you want to help us get the word out.


MORE DETAILS: at the migration guide at 
https://pip.pypa.io/en/latest/user_guide/#changes-to-the-pip-dependency-resolver-in-20-2-2020 
.


On 7/30/20 10:58 AM, Sumana Harihareswara wrote:
On behalf of the Python Packaging Authority, I am pleased to announce 
that we have just released pip 20.2, a new version of pip. You can 
install it by running python -m pip install --upgrade pip.


--
Sumana Harihareswara
Changeset Consulting
https://changeset.nyc
___
Python-announce-list mailing list -- python-announce-list@python.org
To unsubscribe send an email to python-announce-list-le...@python.org
https://mail.python.org/mailman3/lists/python-announce-list.python.org/
Member address: arch...@mail-archive.com


pip 20.2 release, plus changes coming in 20.3

2020-07-30 Thread Sumana Harihareswara
On behalf of the Python Packaging Authority, I am pleased to announce 
that we have just released pip 20.2, a new version of pip. You can 
install it by running python -m pip install --upgrade pip.


The highlights for this release are:

   - The beta of the next-generation dependency resolver is available
   - Faster installations from wheel files
   - Improved handling of wheels containing non-ASCII file contents
   - Faster `pip list` using parallelized network operations
   - Installed packages now contain metadata about whether they were
   directly
   requested by the user (PEP 376’s REQUESTED file)

The new dependency resolver is *off by default* because it is *not yet
ready for everyday use*. The new dependency resolver 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 test it with the
`--use-feature=2020-resolver` flag. 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-2-2020>.

We are preparing to change the default dependency resolution behavior 
and make the new resolver the default in pip 20.3 (in October 2020).


This release also partially optimizes pip’s network usage during
installation (as part of a Google Summer of Code project by McSinyx
<https://summerofcode.withgoogle.com/projects/#5428041779511296>). 
Please test it with `pip install --use-feature=2020-resolver 
--use-feature=fast-deps` and report bugs to the issue tracker

<https://github.com/pypa/pip/issues/new?template=bug-report.md>. This
functionality is *still experimental* and *not ready for everyday use*.

You can find more details (including deprecations and removals) in the
changelog <https://pip.pypa.io/en/stable/news/>.

As with all pip releases, a significant amount of the work was 
contributed by pip’s user community. Huge thanks to all who have 
contributed, whether through code, documentation, issue reports and/or 
discussion. Your help keeps pip improving, and is hugely appreciated.


Specific thanks go to Mozilla (through its Mozilla Open Source Support
<https://www.mozilla.org/en-US/moss/> Awards) and to the Chan Zuckerberg
Initiative <https://chanzuckerberg.com/eoss/> DAF, an advised fund of
Silicon Valley Community Foundation, for their funding that enabled
substantial work on the new resolver.


--
Sumana Harihareswara
pip project manager via contract with PSF
Changeset Consulting
https://changeset.nyc
___
Python-announce-list mailing list -- python-announce-list@python.org
To unsubscribe send an email to python-announce-list-le...@python.org
https://mail.python.org/mailman3/lists/python-announce-list.python.org/
Member address: arch...@mail-archive.com


Upgrade to pip 20.1

2020-05-01 Thread Sumana Harihareswara
On behalf of the Python Packaging Authority, I am pleased to announce that a 
new version of pip, pip 20.1, has been released. We make major releases each 
quarter, and so this is the first new release since 20.0.2 in January. Please 
upgrade.

To install pip 20.1, you can run:

python -m pip install --upgrade pip

What's new:

The highlights for this release are:

* Significant speedups when building local directories, by changing behavior to 
perform in-place builds, instead of copying to temporary directories.
* Significant speedups in `pip list --outdated`, by parallelizing network 
access. This is the first instance of parallel code within pip's codebase.
* A new `pip cache` command, which makes it possible to introspect and manage 
pip's cache directory.
* Better `pip freeze` for packages installed from direct URLs, enabled by the 
implementation of PEP 610.

The full changelog: https://pip.pypa.io/en/latest/news/ .

This release also contains an alpha version of pip's next generation resolver. 
It is *off by default* because it is *unstable and not ready for everyday use*. 
If you're curious about this, please read about the resolver, what doesn't work 
yet, and what kind of testing would help us out: 
https://github.com/pypa/pip/issues/8099 .

Future:

We plan to release a version of pip that includes a beta of the new resolver in 
May: 
https://pyfound.blogspot.com/2020/03/new-pip-resolver-to-roll-out-this-year.html
 .

And we plan to make our next quarterly release in July 2020.

Thanks:

As with all pip releases, a significant amount of the work was contributed by 
pip's user community. Huge thanks to all who have contributed, whether through 
code, documentation, issue reports and/or discussion. Your help keeps pip 
improving, and is hugely appreciated.

Thank you to the pip and PyPA maintainers, and to all the contributors and 
volunteers who work on or use Python packaging tools.

And thank you to Mozilla (through its Mozilla Open Source Support Awards) and 
to the Chan Zuckerberg Initiative DAF, an advised fund of Silicon Valley 
Community Foundation, for funding enabling work on the new resolver, and thanks 
to the PSF and the Packaging WG for obtaining and administering that funding. 


best,
Sumana Harihareswara
project manager for pip, on contract with Python Software Foundation
Changeset Consulting, https://changeset.nyc
___
Python-announce-list mailing list -- python-announce-list@python.org
To unsubscribe send an email to python-announce-list-le...@python.org
https://mail.python.org/mailman3/lists/python-announce-list.python.org/
Member address: arch...@mail-archive.com


Announcement: pip 20.1b1 beta release

2020-04-23 Thread Sumana Harihareswara
On behalf of the Python Packaging Authority, I am pleased to announce that a 
beta release of pip, pip 20.1b1, has been released. I hope you will help us by 
testing this and checking for new bugs in how pip deals with complicated 
projects and dependencies.

The highlights for this release are:

* Significant speedups when building local directories, by changing behavior to 
perform in-place builds, instead of copying to temporary directories.
* Significant speedups in `pip list --outdated`, by parallelizing network 
access. This is the first instance of parallel code within pip's codebase.
* A new `pip cache` command, which makes it possible to introspect and manage 
pip's cache directory.
* Better `pip freeze` for packages installed from direct URLs, enabled by the 
implementation of PEP 610.

We would be grateful for all the testing that users could do to ensure that, 
when pip 20.1 is released, it's as solid as we can make it. You can upgrade to 
this beta with `python -m pip install -U --pre pip`.

This release also contains an alpha version of pip's next generation resolver. 
It is **off by default** because it is **unstable and not ready for everyday 
use**. If you're curious about this, please visit this GitHub issue about the 
resolver, what doesn't work yet, and what kind of testing would help us out 
https://github.com/pypa/pip/issues/8099 .

The full changelog is available. https://pip.pypa.io/en/latest/news/

As with all pip releases, a significant amount of the work was contributed by 
pip's user community. Huge thanks to all who have contributed, whether through 
code, documentation, issue reports and/or discussion. Your help keeps pip 
improving, and is hugely appreciated.

Specific thanks go to Mozilla (through its Mozilla Open Source Support Awards) 
and to the Chan Zuckerberg Initiative DAF, an advised fund of Silicon Valley 
Community Foundation, for their support that enabled the work on the new 
resolver.


-- 
Sumana Harihareswara
pip project manager under contract with Python Software Foundation
Changeset Consulting
https://changeset.nyc
--
Python-announce-list mailing list -- python-announce-list@python.org
To unsubscribe send an email to python-announce-list-le...@python.org
https://mail.python.org/mailman3/lists/python-announce-list.python.org/

Support the Python Software Foundation:
http://www.python.org/psf/donations/


Fwd: Package maintainers: verify your PyPI account email address

2018-07-19 Thread Sumana Harihareswara
If you maintain any PyPI packages, please verify your address on PyPI. Details 
below.


 Forwarded Message 
Subject: Package maintainers: verify your PyPI account email address
Date: Mon, 16 Jul 2018 21:57:38 -0400
From: Sumana Harihareswara 
To: DistUtils mailing list 

Heads-up: if you have a pypi.org or test.pypi.org account, please verify your 
email address:

  https://pypi.org/manage/account/

  https://test.pypi.org/manage/account/

Reason:

> We have a problem with a bit of our data, namely that due to historical 
> reasons we have a fair amount of users in the database that do not have a 
> verified primary email address. The side effect of this is that we're 
> currently sending emails to email addresses that we have not had verified. 
> This is a bad situation to be in, because in order to keep our bounce/spam 
> rate low, we should be confirming all email addresses before sending email to 
> them. In addition the way our bounce handling code works is it un-verifies 
> the email address, which the intent was to stop sending email to it until the 
> user has reverified their email address.
> 
> In total there are about 193k user accounts with a unverified email address 
> for their primary address, and 44k that do have a verified email address for 
> their primary account.
> 
> So we need to come up with a strategy to resolve this, because it's pretty 
> important that we don't send email to unverified addresses.

(quoting from Donald Stufft's explanation 
https://github.com/pypa/warehouse/issues/3632 which goes on to detail the 
step-by-step plan)

Package maintainers should especially do this soon. As of a few days ago, any 
user whose primary email address is unverified can't upload a file: 
https://github.com/pypa/warehouse/pull/4292 

Please forward to other package maintainers.

After we iron out any issues I figure we'll email the announce list 
https://mail.python.org/mm3/mailman3/lists/pypi-announce.python.org/ .

-- 
Sumana Harihareswara
Changeset Consulting
https://changeset.nyc
-- 
https://mail.python.org/mailman/listinfo/python-announce-list

Support the Python Software Foundation:
http://www.python.org/psf/donations/


Fwd: [pypi-announce] legacy.pypi.org shut down, please use pypi.org

2018-05-01 Thread Sumana Harihareswara



 Forwarded Message 
Subject: [pypi-announce] legacy.pypi.org shut down, please use pypi.org
Date: Mon, 30 Apr 2018 15:25:50 -
From: s...@changeset.nyc
Reply-To: distutils-...@python.org
To: pypi-annou...@python.org

We have sunset the original Python Package Index service, which was
temporarily deployed at https://legacy.pypi.org .


The new PyPI is at https://pypi.org . Browser and API calls to
pypi.python.org will continue to redirect to pypi.org .


If you have been using legacy.pypi.org directly, please start using
pypi.org :
https://warehouse.readthedocs.io/api-reference/integration-guide/#migrating-to-the-new-pypi
If there is a feature that the new codebase does not support, you should
file an issue at https://github.com/pypa/warehouse/issues as soon as
possible.


If you use JFrog Artifactory, please make sure you're running the latest
version. Please see the guidance from JFrog
https://jfrog.com/knowledge-base/why-am-i-not-able-to-connect-to-pypi-python-org/
and full discussion of the issue
https://github.com/pypa/warehouse/issues/3275 .


Maintenance report on the sunsetting:
https://status.python.org/incidents/ptvp1wnn0jmq


Historical context and future plans: https://lwn.net/Articles/751458/


Sincerely,
Sumana Harihareswara on behalf of the PyPI team
___
pypi-announce mailing list
pypi-annou...@python.org
https://mail.python.org/mm3/mailman3/lists/pypi-announce.python.org/
-- 
https://mail.python.org/mailman/listinfo/python-announce-list

Support the Python Software Foundation:
http://www.python.org/psf/donations/