From 36c9d9e68b1fc1489c82ce8e5df6a2cf4f3260b5 Mon Sep 17 00:00:00 2001 From: Xylar Asay-Davis Date: Wed, 2 Dec 2026 08:47:58 +0100 Subject: [PATCH 1/2] Document the dev version that main carries between releases Between releases, main now reports the next minor version with a .dev0 suffix, so an install from main is never mistaken for the last release and downstream packages can require features that are not yet released. Describe when the suffix is added and dropped in the release guide and in AGENTS.md. Co-Authored-By: Claude Opus 5.5 --- AGENTS.md | 3 +++ docs/developer_guide/releasing.md | 11 +++++++++++ 2 files changed, 14 insertions(+) diff --git a/AGENTS.md b/AGENTS.md index 0dc40016..a1781bde 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -159,6 +159,9 @@ Name the agent, not the vendor: `Claude Code`, `Codex`, and so on. - The version is set in `pyremap/version.py` and `recipe/recipe.yaml`. Change both, in a commit of its own. +- Between releases, `main` carries the next minor version with a `.dev0` + suffix, such as `2.8.0.dev0`. The release pull request drops the suffix, + and a pull request after the release starts the next one. - Keep dependencies consistent across `pyproject.toml`, `pixi.toml` and `recipe/recipe.yaml`. After changing any of them in `pyproject.toml` or `pixi.toml`, run `pixi lock` and commit the updated `pixi.lock`. diff --git a/docs/developer_guide/releasing.md b/docs/developer_guide/releasing.md index 227d7d7d..6593c7ff 100644 --- a/docs/developer_guide/releasing.md +++ b/docs/developer_guide/releasing.md @@ -15,6 +15,10 @@ version of `pyremap`, and to update the conda-forge feedstock. - Make sure the version follows [semantic versioning](https://semver.org/). For release candidates, use versions like `2.1.0rc1`. + - Between releases, `main` carries the next minor version with a `.dev0` + suffix (e.g. `2.8.0.dev0`). For the release, drop the suffix, or set + the patch version instead for a bug-fix release (e.g. `2.7.1`). + 2. **Check and Update Dependencies** - Ensure that dependencies and their constraints are up-to-date and @@ -158,3 +162,10 @@ version of `pyremap`, and to update the conda-forge feedstock. - Optionally announce the release on relevant communication channels - Update any documentation or release notes as needed + +9. **Start the Next Development Version** + + - Open a PR that sets the version in `pyremap/version.py` and + `recipe/recipe.yaml` to the next minor version with a `.dev0` suffix + (e.g. `2.8.0.dev0` after `2.7.0`), so `main` is never mistaken for the + release. From 337f5066e1e3312d631acf439705c1fdd175ac90 Mon Sep 17 00:00:00 2001 From: Xylar Asay-Davis Date: Wed, 2 Dec 2026 08:47:58 +0100 Subject: [PATCH 2/2] Update to v2.8.0.dev0 Co-Authored-By: Claude Opus 5.5 --- pyremap/version.py | 2 +- recipe/recipe.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pyremap/version.py b/pyremap/version.py index b693140d..d473db5b 100644 --- a/pyremap/version.py +++ b/pyremap/version.py @@ -1,2 +1,2 @@ -__version_info__ = (2, 7, 0) +__version_info__ = (2, 8, 0, 'dev0') __version__ = '.'.join(str(vi) for vi in __version_info__) diff --git a/recipe/recipe.yaml b/recipe/recipe.yaml index bb882cf0..51347395 100644 --- a/recipe/recipe.yaml +++ b/recipe/recipe.yaml @@ -2,7 +2,7 @@ schema_version: 1 context: name: pyremap - version: "2.7.0" + version: "2.8.0.dev0" python_min: "3.11" package: