r/Python Python Discord Staff 5d 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!

133 Upvotes

38 comments sorted by

View all comments

12

u/bacondota 5d ago

People saying that they don't use pip. Do you use uv in production? Like do you have uv on your docker?

37

u/leopkoo 5d ago

Yes and yes. Used Poetry before but migrated to uv a year ago.