Skip to content

Document dependency-groups in the pyproject.toml specification - #2142

Merged
rgommers merged 3 commits into
pypa:mainfrom
harshitethic:docs/dependency-groups-crosslink
Nov 6, 2026
Merged

rgommers merged 3 commits into
pypa:mainfrom
harshitethic:docs/dependency-groups-crosslink

Conversation

@harshitethic

@harshitethic harshitethic commented Sep 27, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Bring the pyproject.toml specification overview in line with the standardized dependency-groups table.

  • update the overview from three standardized tables to four
  • include and cross-link [dependency-groups]

Fixes #1840.


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

This is the matching change to that made in the `pyprojec.toml` spec
in the previous commit, which links to this page.

@rgommers rgommers left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @harshitethic. This looks like a straightforward fix for a consistency issue in the spec, not an actual semantic spec change. The same change needed to be made to the linked guide about writing your pyproject.toml, so I added that.

I'll plan to merge this soon, since it's clearly correct and doesn't require discussion.

@rgommers
rgommers added this pull request to the merge queue Nov 6, 2026
Merged via the queue into pypa:main with commit f4b5123 Nov 6, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Missing dependency-groups specification cross link

3 participants