From e88780b51443026f07a30b40f7e7abf0f2a509b3 Mon Sep 17 00:00:00 2001 From: Chris Jaehnen Date: Wed, 18 Mar 2026 21:25:24 -0400 Subject: [PATCH 1/7] Trigger release --- pyproject.toml | 1 - 1 file changed, 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index d31fb91..f6ceca5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -53,4 +53,3 @@ norecursedirs = [".git", ".tox", ".venv"] filterwarnings = "ignore::DeprecationWarning" log_cli = true log_cli_level = "INFO" - From b25d5d94b334453577955f4629c451f90a94158e Mon Sep 17 00:00:00 2001 From: Chris Jaehnen Date: Thu, 19 Mar 2026 14:44:44 -0400 Subject: [PATCH 2/7] Update release workflow to support pypi trusted publishing --- .github/workflows/release.yml | 32 +++++++++++++++++++++++++++++--- 1 file changed, 29 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b0e41f6..e7bc917 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -14,11 +14,37 @@ on: - README.md jobs: - release: - uses: opengood-ai/central-workflows/.github/workflows/python-py-pi-release.yml@main + release-build: + uses: opengood-ai/central-workflows/.github/workflows/python-release-build.yml@main with: git-email: ${{ vars.GIT_EMAIL }} git-user: ${{ vars.GIT_USER }} secrets: - py-pi-token: ${{ secrets.PY_PI_TOKEN }} + workflow-token: ${{ secrets.WORKFLOW_TOKEN }} + + py-pi-release: + name: Python PyPI Release + needs: [ release-build ] + runs-on: ubuntu-latest + environment: + name: pypi + url: https://pypi.org/p/${{ github.event.repository.name }} + permissions: + contents: read + id-token: write + steps: + - name: Download Distribution Packages + uses: actions/download-artifact@v8.0.1 + with: + name: python-package-distributions + path: dist/ + + - name: Publish Distribution Package + uses: pypa/gh-action-pypi-publish@v1.13.0 + with: + verbose: true + + release: + uses: opengood-ai/central-workflows/.github/workflows/python-release.yml@main + secrets: workflow-token: ${{ secrets.WORKFLOW_TOKEN }} From 2853347e68c07c11772e88361ddad208b595481c Mon Sep 17 00:00:00 2001 From: Chris Jaehnen Date: Thu, 19 Mar 2026 14:49:01 -0400 Subject: [PATCH 3/7] Rollback versions --- .bumpversion.toml | 2 +- pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.bumpversion.toml b/.bumpversion.toml index b0df89f..dca8dc8 100644 --- a/.bumpversion.toml +++ b/.bumpversion.toml @@ -1,5 +1,5 @@ [tool.bumpversion] -current_version = "2.4.0" +current_version = "2.3.0" parse = "(?P\\d+)\\.(?P\\d+)\\.(?P\\d+)" serialize = ["{major}.{minor}.{patch}"] search = "{current_version}" diff --git a/pyproject.toml b/pyproject.toml index f6ceca5..4ff95da 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "opengood.py_ml_plot" -version = "2.4.0" +version = "2.3.0" description = "Modules containing reusable functions for machine learning visualization plotting" authors = [ { name = "OpenGood", email = "ai@opengood.ai" } From 7d4c327c9531ac0d57756cfcefa3b7e7bbd1f07a Mon Sep 17 00:00:00 2001 From: Chris Jaehnen Date: Thu, 19 Mar 2026 14:59:15 -0400 Subject: [PATCH 4/7] Fix versions --- .bumpversion.toml | 2 +- .github/workflows/release.yml | 2 ++ pyproject.toml | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.bumpversion.toml b/.bumpversion.toml index dca8dc8..b0df89f 100644 --- a/.bumpversion.toml +++ b/.bumpversion.toml @@ -1,5 +1,5 @@ [tool.bumpversion] -current_version = "2.3.0" +current_version = "2.4.0" parse = "(?P\\d+)\\.(?P\\d+)\\.(?P\\d+)" serialize = ["{major}.{minor}.{patch}"] search = "{current_version}" diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e7bc917..cc56855 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -32,6 +32,7 @@ jobs: permissions: contents: read id-token: write + if: ${{ contains(github.event.pull_request.labels.*.name, 'release') && github.event.pull_request.merged == true }} steps: - name: Download Distribution Packages uses: actions/download-artifact@v8.0.1 @@ -46,5 +47,6 @@ jobs: release: uses: opengood-ai/central-workflows/.github/workflows/python-release.yml@main + needs: [ py-pi-release ] secrets: workflow-token: ${{ secrets.WORKFLOW_TOKEN }} diff --git a/pyproject.toml b/pyproject.toml index 4ff95da..f6ceca5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "opengood.py_ml_plot" -version = "2.3.0" +version = "2.4.0" description = "Modules containing reusable functions for machine learning visualization plotting" authors = [ { name = "OpenGood", email = "ai@opengood.ai" } From d71720229f33477004495198802f6fa2f26aaa2e Mon Sep 17 00:00:00 2001 From: Chris Jaehnen Date: Thu, 19 Mar 2026 15:02:37 -0400 Subject: [PATCH 5/7] Fix versions --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index f6ceca5..f6230e3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,5 +1,5 @@ [build-system] -requires = ["setuptools >= 82.0.1", "wheel"] +requires = ["setuptools >= 82.9.0", "wheel > 0.46.3"] build-backend = "setuptools.build_meta" [project] From c1e0f5ba5394f47c95821366bc4883515ca2db02 Mon Sep 17 00:00:00 2001 From: Chris Jaehnen Date: Thu, 19 Mar 2026 15:07:52 -0400 Subject: [PATCH 6/7] Fix packages --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index bc86ef1..4ff95da 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,5 +1,5 @@ [build-system] -requires = ["setuptools >= 82.9.0", "wheel > 0.46.3"] +requires = ["setuptools >= 82.0.1", "wheel"] build-backend = "setuptools.build_meta" [project] From 58ab1f17b5567136a0c0cf717910b4b4c19b47d7 Mon Sep 17 00:00:00 2001 From: Chris Jaehnen Date: Thu, 19 Mar 2026 15:11:49 -0400 Subject: [PATCH 7/7] Trigger release --- pyproject.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/pyproject.toml b/pyproject.toml index bc86ef1..d944c2d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -53,3 +53,4 @@ norecursedirs = [".git", ".tox", ".venv"] filterwarnings = "ignore::DeprecationWarning" log_cli = true log_cli_level = "INFO" +