Preparing a pyproj release is a two-phase process.
In this phase, we want to ensure all the builds work on all platforms and methods of distribution for the next release.
The first step in this phase is to update the version number __version__
in __init__.py
to the next release <major>.<minor>.<patch>
. Then, add the rc
style posfix following the PEP-440 conventions.
The next step is to create a tag with the same name as the version just added. This can be done using the git command line or from https://github.com/pyproj4/pyproj/tags.
- Create a draft PR at https://github.com/pyproj4/pyproj-wheels and verify tests pass.
- Create a draft PR at https://github.com/conda-forge/pyproj-feedstock and verify tests pass.
- Check the wheels built at https://github.com/pyproj4/pyproj using GitHub Actions.
- Verify Debian builds were successful.
- Verify Fedora builds were successful.
- Verify the docs build successfully.
After the candidate has proven itself, it will be promoted to a final release.
Remove the rc
postfix from the the version number __version__
in __init__.py
.
The next step is to create a tag with the name <major>.<minor>.<patch>
. This can be done using the git command line or from https://github.com/pyproj4/pyproj/tags.
Next, go through the history and add release notes (see: automatically generated release notes). Make sure to acknowledge contributions made by others in the release.
Most of the wheels are tested with each merge to main and uploaded to pypi on release in GitHub Actions. However, the arm64 wheels are built separately. This provides instructions for those wheels:
- linux arm64: Update the PR at https://github.com/pyproj4/pyproj-wheels with the release tag & merge. The wheels will automatically upload to pypi when the CI runs succeed.
- macos arm64: Download the release wheel artifacts from the Cirrus CI build and upload manually to pypi.
A PR for pyproj
will be generated automatically after you push to pypi.
Verify all is correct on the PR at https://github.com/conda-forge/pyproj-feedstock.
On the gh-pages
branch, update the stable symlink to point to the next version.