Skip to content

docs: quote PEP 508 VCS direct references in editable install examples - #2153

Merged
rgommers merged 2 commits into
python:mainfrom
harshitethic:fix/vcs-editable-direct-reference-1509
Nov 10, 2026
Merged

rgommers merged 2 commits into
python:mainfrom
harshitethic:fix/vcs-editable-direct-reference-1509

Conversation

@harshitethic

@harshitethic harshitethic commented Oct 10, 2026 •

Copy link
Copy Markdown
Contributor

Fixes #1509: editable pip installation from VCS fails when the PEP 508 direct reference is split across shell arguments (pip interprets the @ as a separate requirement). Quote the full name @ git+URL requirement in the affected Installing Packages tutorial examples so pip receives one requirement string. Documentation-only change, preserving command intent and improving copy/paste reliability. Manually checked affected commands and RST formatting; full Sphinx build not run. AI-assisted change.


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

@rgommers rgommers added type: bug A confirmed bug or unintended behavior component: tutorials labels Nov 10, 2026

@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.

Verified that this works with pip >=25.3 and that without quoting it never works, so this is a useful fix. In it goes, thanks @harshitethic. And thanks for the review @sinoroc.

@rgommers
rgommers enabled auto-merge November 10, 2026 16:55
@rgommers
rgommers added this pull request to the merge queue Nov 10, 2026
Merged via the queue into python:main with commit 555e63d Nov 10, 2026
6 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

component: tutorials type: bug A confirmed bug or unintended behavior

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Example from docs for "Installing from VCS" does not work

3 participants