Tools to assist with RDFlib releases, like extracting all merged PRs from GitHub since last release.
- merge all PRs for the release
- pass all tests
python run_tests.py
- black everything
- use the config, e.g.
black --config black.toml .
in main dir
- use the config, e.g.
- build docs - check for errors/warnings there
python setup.py build_sphinx
- alter version & date in rdflib/init.py
- update:
- CHANGELOG.md
- CONTRIBUTORS
- use scripts here to generate "PRs since last release"
- LICENSE (the date)
- setup.py (the long description)
- update admin steps (here)
- push to PyPI
pip3 install twine wheel
python3 setup.py bdist_wheel sdist
twine upload ./dist/*
- Make GitHub release
git tag <new-version>
git push --tags
- go to the tagged version, e.g. https://github.com/RDFLib/rdflib/releases/tag/6.0.0
- edit the release' notes there (likely copy from CHANGELOG)
- Build readthedocs docco
latest
andstable
need to be built at least- best to make sure the previous (outgoing) release has a number-pegged version, e.g. 5.0.0
- update the rdflib.dev website page
- Update the GitHub master version
- e.g. for release 6.0.2, change version to 6.0.3a and push to GitHub