The PyPI Release Checklist

PyPI does not let you reuse a filename once it has been uploaded, even if you delete the release. That makes every upload effectively permanent, and a broken wheel means burning a version number. This checklist is ordered the way a release actually flows: metadata, build, inspect, rehearse, publish.

1. Metadata

[project]
name = "package-a"
version = "2.1.0"
requires-python = ">=3.9"
readme = "README.md"
license = "MIT"
dependencies = ["httpx>=0.25,<1"]

[project.urls]
Source = "https://example.invalid/package-a"
Changelog = "https://example.invalid/package-a/blob/main/CHANGELOG.md"

(The URLs above are placeholders; use your real repository.)

2. Build

3. Inspect

4. Rehearse

5. Publish

The Python Packaging User Guide is the authoritative source for each step. On this site, see the Trusted Publishing setup, the requires-python mistake case study and the src layout guide.