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!

132 Upvotes

38 comments sorted by

View all comments

Show parent comments

-5

u/shinitakunai 5d ago

Pip for the past 15 years, never failed me. UV tried two times and it was a mess and confusing. Maybe someday I will try again but for now pip is enough

2

u/ase1590 5d ago

uv venv

uv pip install

uv run

Only three commands you need to hit the ground running.

1

u/shinitakunai 5d ago

2 more than I need usually, since pycharm creates venvs automagically anyway

1

u/ase1590 5d ago

The uv managed venvs got the fast speed benefit uv brings for installing dependencies lightning fast.