From 135e784cb99a6e740934bc5e94471afdc6385a05 Mon Sep 17 00:00:00 2001 From: Chris Mutel Date: Wed, 15 Apr 2026 10:47:04 +0200 Subject: [PATCH 1/2] 4.6.2 --- CHANGES.md | 4 ++++ bw2data/__init__.py | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGES.md b/CHANGES.md index 7ae8a5e..5ab81d1 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,5 +1,9 @@ # `bw2data` Changelog +## 4.6.2 (2026-04-15) + +* Version bump; 4.6.1 was not published to PyPI + ## 4.6.1 (2026-04-15) * [#259: Fix Windows file handle leaks in `delete_project` and `change_path`](https://github.com/brightway-lca/brightway2-data/pull/259) diff --git a/bw2data/__init__.py b/bw2data/__init__.py index 4184393..98446b4 100644 --- a/bw2data/__init__.py +++ b/bw2data/__init__.py @@ -33,7 +33,7 @@ "weightings", ] -__version__ = "4.6.1" +__version__ = "4.6.2" from bw2data.configuration import config, labels from bw2data.project import projects From 0956aa4042ffbc39127d600ac485163c966c5135 Mon Sep 17 00:00:00 2001 From: Chris Mutel Date: Wed, 15 Apr 2026 10:57:47 +0200 Subject: [PATCH 2/2] Document release process in README --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index f7390d1..a44a301 100644 --- a/README.md +++ b/README.md @@ -37,6 +37,16 @@ $ pip install bw2data Contributions are very welcome. To learn more, see the [Contributor Guide][Contributor Guide]. +## Releasing a new version + +1. Create a release branch: `git checkout -b release/X.Y.Z` +2. Update `__version__` in `bw2data/__init__.py` +3. Update `CHANGES.md` with the release date and links to merged PRs +4. Commit, push the branch, and open a PR +5. Push the tag to trigger PyPI publication: `git tag X.Y.Z && git push origin X.Y.Z` + +The tag push triggers the GitHub Actions deploy workflow, which builds and publishes the package to PyPI using trusted publishing. + ## License Distributed under the terms of the [BSD 3 Clause license][License],