Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`.
Expand Down
11 changes: 11 additions & 0 deletions docs/developer_guide/releasing.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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.
2 changes: 1 addition & 1 deletion pyremap/version.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
__version_info__ = (2, 7, 0)
__version_info__ = (2, 8, 0, 'dev0')
__version__ = '.'.join(str(vi) for vi in __version_info__)
2 changes: 1 addition & 1 deletion recipe/recipe.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ schema_version: 1

context:
name: pyremap
version: "2.7.0"
version: "2.8.0.dev0"
python_min: "3.11"

package:
Expand Down
Loading