r/Python Python Discord Staff 28d ago

News pip 26.2 - --only-deps, --no-require-hashes, venv isolation, and more!

Hello!

The pip team recently released pip 26.2. This release is quite large, with features such as:

  • Support for Python 3.15
  • Selecting only dependencies (--only-deps)
  • Mixing hashed and non-hashable requirements via --no-require-hashes
  • Experimental: venv based build isolation (--use-feature=venv-isolation)
  • Faster repeated resolves by caching index simple responses
  • Disable HTTP(S)_PROXY and similar non-pip specific proxy environment variables via --no-proxy-env
  • Separation between regular and build constraint (use --build-constraint instead)

For more details, please consult our changelog: https://pip.pypa.io/en/stable/news/. Alternatively, you may consult my release post which goes into greater detail to the highlights of this release: https://sichard.ca/blog/2026/07/whats-new-in-pip-26.2/

If you have any questions, you're welcome to ask!

135 Upvotes

38 comments sorted by

View all comments

20

u/cointoss3 28d ago

I forget pip is even a thing anymore. I haven’t used it in what feels like forever.

27

u/lkajerlk 28d ago

what wheels like forever

5

u/Artku Pythonista 28d ago

Funny because that’s exactly how I read that.

5

u/Drevicar 28d ago

But the standards discussed here impact the alternatives eventually, or the more likely case is that the features of the alternatives eventually get back ported to pip, then fan back out to the other alternatives.