Skip to content

Improve Examples section of the Dependency specifiers spec - #2223

Open
rgommers wants to merge 1 commit into
python:mainfrom
rgommers:dependency-specifier-cli-example
Open

rgommers wants to merge 1 commit into
python:mainfrom
rgommers:dependency-specifier-cli-example

Conversation

@rgommers

@rgommers rgommers commented Dec 4, 2026

Copy link
Copy Markdown
Contributor

This adds examples and a sentence about whitespace helping with clarity and needing quoting on the command line, as suggested in #1226. While I was at it, I noticed that the existing examples had no context, and may be unclear to non-experts - so explain that those are dependency specifier strings explicitly, then show how such strings are used in the more familiar metadata formats.

Closes gh-1226

AI usage disclosure

I used Sol 6.1 to draft an initial version after finally figuring out what #1226 was about (two drive-by PRs got that wrong, they looked sensible). I extensively polished the diff by hand.

@rgommers rgommers added type: enhancement A self-contained enhancement or new feature component: specifications labels Dec 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

component: specifications type: enhancement A self-contained enhancement or new feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Document that sparse identifiers with whitespace are valid if quoted

1 participant