Skip to content

Use an explicit PyPI index during release preparation - #21228

Merged
zanieb merged 1 commit into
astral-sh:mainfrom
zaniebot:agent/release-default-index
Aug 19, 2026
Merged

zanieb merged 1 commit into
astral-sh:mainfrom
zaniebot:agent/release-default-index

Conversation

@zaniebot

Copy link
Copy Markdown
Contributor

scripts/release.sh uses --no-config to avoid recording Socket's registry URLs, but this also discards exclude-newer and other configuration. Set --default-index to PyPI for the lockfile update and crates.io publishing check so these commands use the public default index while retaining the remaining settings.

@zanieb
zanieb marked this pull request as ready for review August 19, 2026 18:57
@zanieb
zanieb enabled auto-merge (squash) August 19, 2026 18:57
@zanieb
zanieb disabled auto-merge August 19, 2026 19:28
@zanieb
zanieb enabled auto-merge (squash) August 19, 2026 19:28
@zanieb
zanieb disabled auto-merge August 19, 2026 19:29
@zanieb
zanieb merged commit 5c170b8 into astral-sh:main Aug 19, 2026
105 of 109 checks passed
astral-automations-bot Bot added a commit that referenced this pull request Oct 30, 2026
The negative-authentication publishing tests fail when TestPyPI returns
`503` instead of the expected `403`, as seen in #21228. Use
local `wiremock` responses for the rejected uploads and related Simple
API requests, preserving the credential, keyring, and error-message
coverage without depending on TestPyPI availability. The separate
authenticated publishing job remains unchanged.

Co-authored-by: zaniebot <[email protected]>
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.

2 participants