Skip to content

PEP 694: Require the index to temporarily reserve first-upload project names#5056

Merged
warsaw merged 1 commit into
python:mainfrom
warsaw:694-name-reservation
Jul 23, 2026
Merged

PEP 694: Require the index to temporarily reserve first-upload project names#5056
warsaw merged 1 commit into
python:mainfrom
warsaw:694-name-reservation

Conversation

@warsaw

@warsaw warsaw commented Jul 23, 2026

Copy link
Copy Markdown
Member

Require (was: allow) the index to reserve the project name at session creation when the session is for a project with no previous release. The reservation is temporary (held only for the life of the stage, becoming permanent on publication and released if the stage is canceled) and exists to prevent a name-claiming race condition in which two different clients each create a stage for the first upload of a new project and whichever publishes first would claim the name.

  * Require (was: allow) the index to reserve the project name at session creation when the session
    is for a project with no previous release.  The reservation is temporary (held only for the life
    of the stage, becoming permanent on publication and released if the stage is canceled) and
    exists to prevent a name-claiming race condition in which two different clients each create a
    stage for the first upload of a new project and whichever publishes first would claim the name.
@warsaw warsaw self-assigned this Jul 23, 2026
@warsaw
warsaw requested a review from dstufft as a code owner July 23, 2026 18:37
@warsaw
warsaw enabled auto-merge (squash) July 23, 2026 18:38
@warsaw
warsaw merged commit 7de605d into python:main Jul 23, 2026
4 of 5 checks passed
@warsaw
warsaw deleted the 694-name-reservation branch July 23, 2026 19:51
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.

1 participant