The recommended way to make a release is to use jupyter_releaser
.
- First check that the CHANGELOG.md is up to date for the next release version
- Install packaging requirements:
pip install jupyter_releaser
export version=<NEW_VERSION>
tbump ${version} --no-push
rm -rf dist/*
rm -rf build/*
python -m build .
twine upload dist/*
- Bump the patch version and add the 'dev' tag back to the end of the version tuple using
tbump <DEV_VERSION> --no-push
git push upstream && git push upstream --tags