Release checklist
PyPI Release Checklist¶
For Every Release¶
- 
Check out release branch, merge all changes from master/main to release
 - 
Run the tests:
1tox - 
Update HISTORY.md
Be noticed that github workflow will generate a changelog for you automatically.
 - 
Commit the changes:
1 2
git add HISTORY.md git commit -m "Changelog for upcoming release 0.1.1." - 
Update version number. The following are an example of executing and the contents of the
push-version.ps1script at the root of the repository.1.\push-version.ps1 0.1.1 "documentation updates"1 2 3 4 5 6 7 8 9 10 11 12 13 14
param( [Parameter(Mandatory, HelpMessage="Enter a valid version number #.#.#")] [ValidatePattern("\d+\.\d+\.\d+")] [string]$version, [Parameter(Mandatory)] [string]$message ) poetry version $version # update the version in pyproject.toml git add -A # add the updated pyproject.toml git commit -m "v$version" git tag v$version -m $message git push --atomic origin master v$version - 
Check the CodeArtifact listing page to make sure that the README, release notes, and roadmap display properly. If tox test passed, this should be ok, since we have already run twine check during tox test.