From 5a00e26752d8173e99d7ccee77ab3854bedc033e Mon Sep 17 00:00:00 2001 From: Hans Dembinski Date: Sat, 12 Oct 2024 15:45:53 +0200 Subject: [PATCH] update version and changelog --- .github/workflows/release.yml | 13 +++++-------- doc/changelog.rst | 7 +++++++ doc/update_changelog.py | 2 ++ pyproject.toml | 2 +- 4 files changed, 15 insertions(+), 9 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 939156f8..fd7d2f70 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -25,7 +25,7 @@ jobs: fetch-depth: 0 - uses: actions/setup-python@v5 with: - python-version: '3.12' + python-version: "3.12" - if: ${{ github.ref == 'refs/heads/main' }} run: | @@ -94,8 +94,10 @@ jobs: path: dist/*.tar.gz upload: + if: ${{ github.ref == 'refs/heads/main' }} needs: [wheels, sdist] runs-on: ubuntu-latest + environment: name: pypi url: https://pypi.org/project/iminuit/ @@ -103,7 +105,7 @@ jobs: permissions: id-token: write attestations: write - if: ${{ github.ref == 'refs/heads/main' }} + steps: - uses: actions/download-artifact@v4 with: @@ -116,15 +118,10 @@ jobs: with: subject-path: "dist/iminuit-*" - - uses: pypa/gh-action-pypi-publish@release/v1 - with: - user: __token__ - password: ${{secrets.pypi_password}} - release: + if: ${{ github.ref == 'refs/heads/main' }} needs: [release_check, upload] runs-on: ubuntu-latest - if: ${{ github.ref == 'refs/heads/main' }} steps: - uses: actions/checkout@v4 - uses: softprops/action-gh-release@v2 diff --git a/doc/changelog.rst b/doc/changelog.rst index 0501d000..b67d04d8 100644 --- a/doc/changelog.rst +++ b/doc/changelog.rst @@ -5,6 +5,13 @@ Changelog ========= +2.30.2 (October 12, 2024) +------------------------- +- Fix docs (`#1052 `_) +- Fix: use old license text (`#1050 `_) +- Chore: some minor updates (`#1051 `_) +- Ci: use official gha for uv (`#1048 `_) + 2.30.1 (October 08, 2024) ------------------------- - Ci: add 3.13 wheels (`#1047 `_) diff --git a/doc/update_changelog.py b/doc/update_changelog.py index f7ef18c3..0bb9c3bb 100644 --- a/doc/update_changelog.py +++ b/doc/update_changelog.py @@ -60,6 +60,8 @@ for x in git_log: if x.startswith("[pre-commit.ci]"): continue + if x.lower().startswith("bump actions"): + continue x = re.sub( "#([0-9]+)", r"`#\1 `_", x ) diff --git a/pyproject.toml b/pyproject.toml index f1028439..7b8aa6d9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -5,7 +5,7 @@ build-backend = "scikit_build_core.build" [project] name = "iminuit" description = "Jupyter-friendly Python frontend for MINUIT2 in C++" -version = "2.30.1" +version = "2.30.2" maintainers = [{ name = "Hans Dembinski", email = "hans.dembinski@gmail.com" }] readme = "README.rst" requires-python = ">=3.9"