PyPI publish blocked: PYPI_TOKEN rejected with 403 #35
Labels
No labels
NaNs
area/backup
area/data
area/diffusion
area/docs
area/dsh
area/eval
area/forgejo
area/host
area/infra
area/model
area/security
area/train
needs-operator
priority/later
priority/next
priority/now
type/bug
type/docs
type/experiment
type/feature
type/task
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
ml-lab/wink#35
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The v0.1.0 tag triggered all three release workflows. Forgejo registry and the Forgejo release page succeeded, but the PyPI leg failed:
.forgejo/workflows/publish-pypi.ymlPYPI_TOKENwinkis still 404 for 0.1.0; the name was free when checked.Action needed (operator-only): replace the repository Actions secret
PYPI_TOKENwith a valid PyPI API token scoped to thewinkproject (or an account token that may create it), then rerun the failedPublish to PyPIjob on tagv0.1.0.No code change is needed unless the new token still fails; the Forgejo registry and release assets are already good.
Token is fixed — the retry got past auth. New blocker is the PyPI name policy, not credentials:
See https://docs.pypi.org/project-management/choosing-a-name/#why-isnt-my-desired-project-name-available —
winkis prohibited/reserved/too similar, even though the JSON API 404s.Forgejo package and release page are still fine; only the public PyPI leg is blocked.
Proposal: publish to PyPI as
wink-diffusion(import stayswink, commandswtrain/wsample/wevalstay). PyPI JSON is 404 for that name; it is descriptive and avoids the barewinkpolicy. That needs a package-name change inpyproject.toml, the publish endpoints, and a version decision (0.1.1for a clean new tag is simplest;0.1.0would mean moving the existing tag/release, which I’d rather not do).Operator decision needed: accept
wink-diffusion(or another name), and whether to ship it as 0.1.1.Fixed. The name
winkis rejected by PyPI policy, so v0.1.1 publishes aswink-diffusion(import stayswink).ml-lab/pypi/wink-diffusion0.1.1 liveAll three tag workflows succeeded. Closing.