From 760156ee91c142d90ab38f8ed05b6551f20f1b93 Mon Sep 17 00:00:00 2001 From: Jean-Marie Burel Date: Wed, 20 Nov 2024 21:18:57 +0000 Subject: [PATCH 1/3] Bump pypa/gh-action-pypi-publish to v1.8.14 --- .github/workflows/publish_pypi.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish_pypi.yml b/.github/workflows/publish_pypi.yml index 436eafbf..77ac7f88 100644 --- a/.github/workflows/publish_pypi.yml +++ b/.github/workflows/publish_pypi.yml @@ -15,6 +15,6 @@ jobs: python setup.py sdist bdist_wheel - name: Publish distribution to PyPI if: startsWith(github.ref, 'refs/tags') - uses: pypa/gh-action-pypi-publish@v1.3.0 + uses: pypa/gh-action-pypi-publish@v1.8.14 with: password: ${{ secrets.PYPI_PASSWORD }} From 42e3d88e86d971ad3ab75abd642b5b5a419b9a32 Mon Sep 17 00:00:00 2001 From: Jean-Marie Burel Date: Wed, 20 Nov 2024 21:19:58 +0000 Subject: [PATCH 2/3] Use build instead of sdist --- .github/workflows/publish_pypi.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish_pypi.yml b/.github/workflows/publish_pypi.yml index 77ac7f88..03811fc4 100644 --- a/.github/workflows/publish_pypi.yml +++ b/.github/workflows/publish_pypi.yml @@ -11,8 +11,8 @@ jobs: - uses: actions/setup-python@v4 - name: Build a binary wheel and a source tarball run: | - python -mpip install wheel - python setup.py sdist bdist_wheel + python -mpip install build + python -m build - name: Publish distribution to PyPI if: startsWith(github.ref, 'refs/tags') uses: pypa/gh-action-pypi-publish@v1.8.14 From 6323e68ea1a84389291c31121b441d90d922e028 Mon Sep 17 00:00:00 2001 From: Jean-Marie Burel Date: Wed, 20 Nov 2024 21:21:01 +0000 Subject: [PATCH 3/3] Bump actions/setup-python to v5 --- .github/workflows/publish_pypi.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish_pypi.yml b/.github/workflows/publish_pypi.yml index 03811fc4..953399e1 100644 --- a/.github/workflows/publish_pypi.yml +++ b/.github/workflows/publish_pypi.yml @@ -8,7 +8,9 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - uses: actions/setup-python@v4 + - uses: actions/setup-python@v5 + with: + python-version: '3.9' - name: Build a binary wheel and a source tarball run: | python -mpip install build