Repository navigation
pyincore: Release Notes for Maintainers
Repo-specific companion to Release Process, which has the branch model, squash rules, CHANGELOG format, semver guide and tagging convention. Read that first; this page only records what is different here.
| Branches |
develop (default), main
|
| Release branch form |
release-<version> — e.g. release-1.22.0
|
| Tag form |
v1.22.0, RC v1.23.0rc1
|
| Latest release | v1.22.0 (RCs up to v1.23.0rc2 published) |
| Version source of truth |
pyincore/globals.py → PACKAGE_VERSION
|
| Published as | conda (IN-CORE channel) + PyPI |
| CI publish trigger | GitHub release published (on: release: types: [published]) |
./version.sh 1.23.0Rewrites pyincore/globals.py, setup.py, recipes/meta.yaml, docs/source/conf.py,
scripts/release-packages.yml, and converts the ## Unreleased CHANGELOG heading to
## 1.23.0 - <today>.
Note: CI runs version.sh against the tag at publish time and does not commit the
result, so committed values in recipes/meta.yaml can look stale (it currently reads
1.9.0). That is expected — the git tag is authoritative.
Tag v1.23.0rc1 on the release branch. The workflows strip digits and dots from the version; a non-empty remainder routes the build to Test PyPI and the conda rc label. v1.23.0 (nothing left over) routes to PyPI and the conda main label.
conda install -c in-core/label/rc pyincore
pip install -i https://test.pypi.org/simple/ --pre pyincore- Tests need
tests/pyincore/.incorepwpresent; CI writes it fromPYTEST_USER_TOKEN. Runpython -m pytest --ignore=tests/test_format.py --ignore=tests/pyincore/analyses. - If dependencies changed: edit
requirements.min, run./requirements.sh, then rebuild the conda env before re-running tests. Commit every regenerated file. - A pyincore release usually forces matching releases of pyincore-viz, pyincore-data, pyincore-incubator, incore-lab and plotting-service: all pin a minimum pyincore. Coordinate before tagging.
- Raising the minimum Python or NumPy is a breaking change for downstream consumers; discuss whether it warrants MAJOR.
-
.github/workflows/requirements.yamlruns nightly onmainand opens an automated "Updated requirements" PR when resolved versions drift. Land or close those before cutting a release so you are not releasing a surprise dependency set. - CI skips
tests/test_format.pyandtests/pyincore/analyses. The analysis tests are the ones most likely to catch a scientific regression; run them locally before a release.