Skip to content

Document self-referential extras now that pip officially supports it#2087

Open
Trenza1ore wants to merge 3 commits into
pypa:mainfrom
Trenza1ore:main
Open

Document self-referential extras now that pip officially supports it#2087
Trenza1ore wants to merge 3 commits into
pypa:mainfrom
Trenza1ore:main

Conversation

@Trenza1ore

@Trenza1ore Trenza1ore commented Jul 10, 2026

Copy link
Copy Markdown

Using self-referential extras is a more preferable pattern than to manually write, for example, an all extra for all dependencies combined (which is both tedious and easy to fall out of sync with reality).

Following pypa/pip#14157, this is now a documented and tested feature of pip (supported unofficially since v21.2).

Closes #2086


📚 Documentation preview 📚: https://python-packaging-user-guide--2087.org.readthedocs.build/en/2087/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Document self-referential extras now that pip officially supports it

1 participant