From e9ca9e0b24b9922a1b78d96e1514e442ca60f8db Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 14 Jan 2026 20:26:07 +0000 Subject: [PATCH 1/4] Initial plan From a7854ce2f9dcdb6bb95d085b8728d7d19d5523de Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 14 Jan 2026 20:30:32 +0000 Subject: [PATCH 2/4] Prepare release 0.26.5 with changelog and instructions Co-authored-by: timosachsenberg <5803621+timosachsenberg@users.noreply.github.com> --- CHANGELOG.md | 6 +++ RELEASE_INSTRUCTIONS.md | 101 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 107 insertions(+) create mode 100644 RELEASE_INSTRUCTIONS.md diff --git a/CHANGELOG.md b/CHANGELOG.md index dbe920c..b6bc984 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1 +1,7 @@ autowrap 0.26.5 + +Internal Improvements: + +- Refactored conversion provider delegation system for better maintainability +- Improved code architecture and type safety +- Enhanced CI/CD pipeline with GitHub Actions workflows for testing and releases diff --git a/RELEASE_INSTRUCTIONS.md b/RELEASE_INSTRUCTIONS.md new file mode 100644 index 0000000..88118e4 --- /dev/null +++ b/RELEASE_INSTRUCTIONS.md @@ -0,0 +1,101 @@ +# Release Instructions for autowrap 0.26.5 + +This document describes how to create a new release of autowrap version 0.26.5. + +## Prerequisites + +- You must have write access to the OpenMS/autowrap repository +- The repository has GitHub Actions workflows configured for releases +- PyPI Trusted Publishing is configured for this repository + +## Release Process + +The release process is fully automated using GitHub Actions. Follow these steps: + +### 1. Verify the Release is Ready + +Before triggering the release, ensure: + +- [x] `autowrap/version.py` contains the correct version: `0.26.5` +- [x] `CHANGELOG.md` contains the release notes for version 0.26.5 +- [x] All tests pass on the main branch +- [x] The package builds successfully (verified locally with `python -m build`) + +### 2. Trigger the Release Workflow + +1. Go to the GitHub Actions tab: https://github.com/OpenMS/autowrap/actions +2. Select the "release autowrap" workflow from the left sidebar +3. Click "Run workflow" button on the right +4. In the dialog: + - **version**: Leave empty (it will use 0.26.5 from `autowrap/version.py`) + - **next_version**: Leave empty (it will auto-increment to 0.26.6) + - Or specify custom values if needed +5. Click "Run workflow" to start the release + +### 3. What Happens Automatically + +The workflow will: + +1. **Build the package**: Creates wheel and source distributions +2. **Publish to PyPI**: Uploads the package using Trusted Publishing (OIDC) +3. **Create GitHub Release**: Creates a release with tag `release/0.26.5` + - Release notes from CHANGELOG.md will be included +4. **Prepare for next release**: + - Appends CHANGELOG.md content to HISTORY.md + - Resets CHANGELOG.md to `autowrap 0.26.6` (or custom next version) + - Updates `autowrap/version.py` to 0.26.6 + - Commits these changes with message "New release cycle" + +### 4. Verify the Release + +After the workflow completes: + +1. Check PyPI: https://pypi.org/project/autowrap/0.26.5/ +2. Check GitHub Releases: https://github.com/OpenMS/autowrap/releases/tag/release/0.26.5 +3. Verify the new commit "New release cycle" was created +4. Test installation: `pip install autowrap==0.26.5` + +## Manual Release (Alternative) + +If you need to release manually without the workflow: + +```bash +# Ensure you're on the correct branch +git checkout master +git pull + +# Verify version +python -c 'from autowrap.version import __version__; print(__version__)' + +# Build the package +python -m pip install -U pip build +python -m build + +# Upload to PyPI (requires API token or credentials) +python -m pip install twine +python -m twine upload dist/autowrap-0.26.5* + +# Create git tag +git tag -a release/0.26.5 -m "Release 0.26.5" +git push origin release/0.26.5 + +# Prepare for next cycle (update version, CHANGELOG, HISTORY) +# ... (manual steps) +``` + +## Troubleshooting + +- If the PyPI upload fails, check the Trusted Publishing configuration +- If the workflow fails, check the GitHub Actions logs for details +- For version conflicts, ensure `autowrap/version.py` has the correct version + +## Version Information + +- **Current Release**: 0.26.5 +- **Next Version**: 0.26.6 (auto-incremented) +- **Tag Format**: `release/X.Y.Z` + +## Files Modified for This Release + +- `CHANGELOG.md`: Added release notes for 0.26.5 +- `autowrap/version.py`: Already set to 0.26.5 From 07f89e46a0aba83c5812a6f95bdc2b70931ca75b Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 14 Jan 2026 20:31:52 +0000 Subject: [PATCH 3/4] Clarify branch name in release instructions Co-authored-by: timosachsenberg <5803621+timosachsenberg@users.noreply.github.com> --- RELEASE_INSTRUCTIONS.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RELEASE_INSTRUCTIONS.md b/RELEASE_INSTRUCTIONS.md index 88118e4..be43d25 100644 --- a/RELEASE_INSTRUCTIONS.md +++ b/RELEASE_INSTRUCTIONS.md @@ -60,7 +60,7 @@ After the workflow completes: If you need to release manually without the workflow: ```bash -# Ensure you're on the correct branch +# Ensure you're on the main branch (master) git checkout master git pull From d7ad00dc999e06c716c9602af902c8f01cc39c72 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 14 Jan 2026 20:36:49 +0000 Subject: [PATCH 4/4] Remove release instructions and bump version to 0.27.0 Co-authored-by: timosachsenberg <5803621+timosachsenberg@users.noreply.github.com> --- CHANGELOG.md | 8 +--- RELEASE_INSTRUCTIONS.md | 101 ---------------------------------------- autowrap/version.py | 4 +- 3 files changed, 3 insertions(+), 110 deletions(-) delete mode 100644 RELEASE_INSTRUCTIONS.md diff --git a/CHANGELOG.md b/CHANGELOG.md index b6bc984..0fd22b8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1 @@ -autowrap 0.26.5 - -Internal Improvements: - -- Refactored conversion provider delegation system for better maintainability -- Improved code architecture and type safety -- Enhanced CI/CD pipeline with GitHub Actions workflows for testing and releases +autowrap 0.27.0 diff --git a/RELEASE_INSTRUCTIONS.md b/RELEASE_INSTRUCTIONS.md deleted file mode 100644 index be43d25..0000000 --- a/RELEASE_INSTRUCTIONS.md +++ /dev/null @@ -1,101 +0,0 @@ -# Release Instructions for autowrap 0.26.5 - -This document describes how to create a new release of autowrap version 0.26.5. - -## Prerequisites - -- You must have write access to the OpenMS/autowrap repository -- The repository has GitHub Actions workflows configured for releases -- PyPI Trusted Publishing is configured for this repository - -## Release Process - -The release process is fully automated using GitHub Actions. Follow these steps: - -### 1. Verify the Release is Ready - -Before triggering the release, ensure: - -- [x] `autowrap/version.py` contains the correct version: `0.26.5` -- [x] `CHANGELOG.md` contains the release notes for version 0.26.5 -- [x] All tests pass on the main branch -- [x] The package builds successfully (verified locally with `python -m build`) - -### 2. Trigger the Release Workflow - -1. Go to the GitHub Actions tab: https://github.com/OpenMS/autowrap/actions -2. Select the "release autowrap" workflow from the left sidebar -3. Click "Run workflow" button on the right -4. In the dialog: - - **version**: Leave empty (it will use 0.26.5 from `autowrap/version.py`) - - **next_version**: Leave empty (it will auto-increment to 0.26.6) - - Or specify custom values if needed -5. Click "Run workflow" to start the release - -### 3. What Happens Automatically - -The workflow will: - -1. **Build the package**: Creates wheel and source distributions -2. **Publish to PyPI**: Uploads the package using Trusted Publishing (OIDC) -3. **Create GitHub Release**: Creates a release with tag `release/0.26.5` - - Release notes from CHANGELOG.md will be included -4. **Prepare for next release**: - - Appends CHANGELOG.md content to HISTORY.md - - Resets CHANGELOG.md to `autowrap 0.26.6` (or custom next version) - - Updates `autowrap/version.py` to 0.26.6 - - Commits these changes with message "New release cycle" - -### 4. Verify the Release - -After the workflow completes: - -1. Check PyPI: https://pypi.org/project/autowrap/0.26.5/ -2. Check GitHub Releases: https://github.com/OpenMS/autowrap/releases/tag/release/0.26.5 -3. Verify the new commit "New release cycle" was created -4. Test installation: `pip install autowrap==0.26.5` - -## Manual Release (Alternative) - -If you need to release manually without the workflow: - -```bash -# Ensure you're on the main branch (master) -git checkout master -git pull - -# Verify version -python -c 'from autowrap.version import __version__; print(__version__)' - -# Build the package -python -m pip install -U pip build -python -m build - -# Upload to PyPI (requires API token or credentials) -python -m pip install twine -python -m twine upload dist/autowrap-0.26.5* - -# Create git tag -git tag -a release/0.26.5 -m "Release 0.26.5" -git push origin release/0.26.5 - -# Prepare for next cycle (update version, CHANGELOG, HISTORY) -# ... (manual steps) -``` - -## Troubleshooting - -- If the PyPI upload fails, check the Trusted Publishing configuration -- If the workflow fails, check the GitHub Actions logs for details -- For version conflicts, ensure `autowrap/version.py` has the correct version - -## Version Information - -- **Current Release**: 0.26.5 -- **Next Version**: 0.26.6 (auto-incremented) -- **Tag Format**: `release/X.Y.Z` - -## Files Modified for This Release - -- `CHANGELOG.md`: Added release notes for 0.26.5 -- `autowrap/version.py`: Already set to 0.26.5 diff --git a/autowrap/version.py b/autowrap/version.py index 48a0489..6c8a8cf 100644 --- a/autowrap/version.py +++ b/autowrap/version.py @@ -30,10 +30,10 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. """ -__version__ = "0.26.5" +__version__ = "0.27.0" # For backward compatibility with older code expecting tuple format -__version_tuple__ = (0, 26, 5) +__version_tuple__ = (0, 27, 0) # for compatibility with older version: version = __version_tuple__