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 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" },