From 30bdc4bfb64af0a1f2f786d46e9a854eb76b1bd0 Mon Sep 17 00:00:00 2001 From: Alessio Buccino Date: Mon, 5 May 2025 11:33:09 +0200 Subject: [PATCH 1/2] prepare 0.2.28 --- .github/workflows/publish-to-pypi.yml | 11 ++++++++--- doc/releases/0.2.28.rst | 9 +++++++++ 2 files changed, 17 insertions(+), 3 deletions(-) create mode 100644 doc/releases/0.2.28.rst diff --git a/.github/workflows/publish-to-pypi.yml b/.github/workflows/publish-to-pypi.yml index d68b4c1..2ac2c25 100644 --- a/.github/workflows/publish-to-pypi.yml +++ b/.github/workflows/publish-to-pypi.yml @@ -19,12 +19,17 @@ jobs: run: | python -m pip install --upgrade pip pip install twine build - - name: Package and Upload + - name: Package the code + run: | + # python -m build is backend-independent + python -m build + # test the new wheel + pip install dist/probeinterface*.whl + python -c "import probeinterface; print(probeinterface.__version__)" + - name: Upload to PyPI env: STACKMANAGER_VERSION: ${{ github.event.release.tag_name }} TWINE_USERNAME: __token__ TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }} run: | - # python -m build is backend-independent - python -m build twine upload dist/* diff --git a/doc/releases/0.2.28.rst b/doc/releases/0.2.28.rst new file mode 100644 index 0000000..f685bbe --- /dev/null +++ b/doc/releases/0.2.28.rst @@ -0,0 +1,9 @@ +probeinterface 0.2.28 +--------------------- + +May, 5th 2025 + + +Packaging +^^^^^^^^^ +* Fix hatchling packaging From 0290553652c2ccb01a94788cce0dc14b873b8b6f Mon Sep 17 00:00:00 2001 From: Alessio Buccino Date: Mon, 5 May 2025 11:34:55 +0200 Subject: [PATCH 2/2] bump up version --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index d54567f..aae28fa 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "probeinterface" -version = "0.2.27" +version = "0.2.28" authors = [ { name="Samuel Garcia", email="sam.garcia.die@gmail.com" }, { name="Alessio Buccino", email="alessiop.buccino@gmail.com" },