Release Steps:
- with no staged commits and a clean status...
- meld a summary of
git log 7a74ef7..HEAD --oneline
with whatever hash with[unreleased]
in changelog - commit, push
mkvirtualenv releasetest
- check that
pip install .
andpython -c "import pyamg; pyamg.test()"
pass (outside source directory) - remove untracked files
git clean -xdf
- the following can be done with a pre-release,
v4.2.1-alpha.6
, for testing. It will not become the default on pypi andgh release create
can be marked with--prerelease
- mark
fallback_version
inpyproject.toml
git tag -a v3.2.0 -m "version 3.2.0"
git push
git push --tags
- then release the version on Github:
gh release create v1.2.3 --notes "see changelog.md"
- This will trigger the GHA
.github/workflows/wheels.yml
which builds wheels and a source distribution, and publishes to pypi
- This will trigger the GHA
Testing notes:
- do not use seeds such as 0, 1, 42, 100
- for each needed seed, generate a "random" int
python3 -c "import numpy as np; np.random.seed(); seeds = np.random.randint(0, 2**32 - 1, 5); print(seeds)"