Skip to content

docs: clarify spaced version specifiers and shell quoting - #2157

Open
harshitethic wants to merge 1 commit into
pypa:mainfrom
harshitethic:docs/issue-1226-spaced-requirements-20261013
Open

harshitethic wants to merge 1 commit into
pypa:mainfrom
harshitethic:docs/issue-1226-spaced-requirements-20261013

Conversation

@harshitethic

@harshitethic harshitethic commented Oct 13, 2026 •

Copy link
Copy Markdown
Contributor

Closes #1226.

Documents that requirement specifiers allow whitespace around operators and commas, and explains when a spaced requirement needs shell quoting.

Validated examples using packaging.requirements.Requirement.


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

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

Labels

component: tutorials 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

2 participants