From 4d67b13459396d92cb73bbfc0c2502a84ce0e0a4 Mon Sep 17 00:00:00 2001 From: Josafat-Mattias Burmeister Date: Wed, 1 Apr 2026 10:51:04 +0200 Subject: [PATCH 1/3] ci: fix release pipeline --- .github/workflows/release-package.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release-package.yml b/.github/workflows/release-package.yml index 77e6a47..98971ae 100644 --- a/.github/workflows/release-package.yml +++ b/.github/workflows/release-package.yml @@ -73,7 +73,7 @@ jobs: python -m pip install --no-build-isolation --no-binary=torch-scatter torch-scatter -f https://data.pyg.org/whl/torch-2.10.0+cpu.html && python -m pip install --no-build-isolation --no-binary=torch-cluster torch-cluster -f https://data.pyg.org/whl/torch-2.10.0+cpu.html; else - python -m pip install --upgrade pip setuptools wheel build; + python -m pip install --upgrade pip setuptools wheel build && python -m pip install torch==2.10.0 && python -m pip install --no-build-isolation --no-binary=torch-scatter torch-scatter -f https://data.pyg.org/whl/torch-2.10.0+cpu.html && python -m pip install --no-build-isolation --no-binary=torch-cluster torch-cluster -f https://data.pyg.org/whl/torch-2.10.0+cpu.html; @@ -173,6 +173,10 @@ jobs: password: ${{ secrets.TEST_PYPI_API_TOKEN }} - name: Test install from TestPyPI run: | + python -m pip install --upgrade pip setuptools wheel build && \ + python -m pip install torch==2.10.0 && \ + python -m pip install --no-build-isolation --no-binary=torch-scatter torch-scatter -f https://data.pyg.org/whl/torch-2.10.0+cpu.html && \ + python -m pip install --no-build-isolation --no-binary=torch-cluster torch-cluster -f https://data.pyg.org/whl/torch-2.10.0+cpu.html && \ python -m pip install \ --index-url https://test.pypi.org/simple/ \ --extra-index-url https://pypi.org/simple \ From fe142cefbd501d26991dfc940ab20afdb46bedea Mon Sep 17 00:00:00 2001 From: Josafat-Mattias Burmeister Date: Wed, 1 Apr 2026 14:01:25 +0200 Subject: [PATCH 2/3] adapt pipeline --- .github/workflows/release-package.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/release-package.yml b/.github/workflows/release-package.yml index 98971ae..497f625 100644 --- a/.github/workflows/release-package.yml +++ b/.github/workflows/release-package.yml @@ -166,7 +166,7 @@ jobs: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Publish package to TestPyPI uses: pypa/gh-action-pypi-publish@release/v1 - if: steps.release.outputs.released == 'true' + # if: steps.release.outputs.released == 'true' with: repository-url: https://test.pypi.org/legacy/ user: __token__ @@ -181,9 +181,9 @@ jobs: --index-url https://test.pypi.org/simple/ \ --extra-index-url https://pypi.org/simple \ pointtree - - name: Publish to PyPI - uses: pypa/gh-action-pypi-publish@release/v1 - if: steps.release.outputs.released == 'true' - with: - user: __token__ - password: ${{ secrets.PYPI_API_TOKEN }} + # - name: Publish to PyPI + # uses: pypa/gh-action-pypi-publish@release/v1 + # if: steps.release.outputs.released == 'true' + # with: + # user: __token__ + # password: ${{ secrets.PYPI_API_TOKEN }} From 0a1e82cb4dba1e20a3451d7ea05146cc8282d2bb Mon Sep 17 00:00:00 2001 From: Josafat-Mattias Burmeister Date: Wed, 1 Apr 2026 15:29:22 +0200 Subject: [PATCH 3/3] add sections that were commented out --- .github/workflows/release-package.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/release-package.yml b/.github/workflows/release-package.yml index 497f625..98971ae 100644 --- a/.github/workflows/release-package.yml +++ b/.github/workflows/release-package.yml @@ -166,7 +166,7 @@ jobs: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Publish package to TestPyPI uses: pypa/gh-action-pypi-publish@release/v1 - # if: steps.release.outputs.released == 'true' + if: steps.release.outputs.released == 'true' with: repository-url: https://test.pypi.org/legacy/ user: __token__ @@ -181,9 +181,9 @@ jobs: --index-url https://test.pypi.org/simple/ \ --extra-index-url https://pypi.org/simple \ pointtree - # - name: Publish to PyPI - # uses: pypa/gh-action-pypi-publish@release/v1 - # if: steps.release.outputs.released == 'true' - # with: - # user: __token__ - # password: ${{ secrets.PYPI_API_TOKEN }} + - name: Publish to PyPI + uses: pypa/gh-action-pypi-publish@release/v1 + if: steps.release.outputs.released == 'true' + with: + user: __token__ + password: ${{ secrets.PYPI_API_TOKEN }}