From b7b03bc754a2d299d774fb160841800166423726 Mon Sep 17 00:00:00 2001 From: Max Lindqvist Date: Wed, 22 Oct 2025 11:45:06 +0200 Subject: [PATCH 1/2] Updated tutorial --- tutorials/example_tutorial.ipynb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tutorials/example_tutorial.ipynb b/tutorials/example_tutorial.ipynb index 770bc27..fc03a2d 100644 --- a/tutorials/example_tutorial.ipynb +++ b/tutorials/example_tutorial.ipynb @@ -10,7 +10,7 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 1, "id": "68ad1562-4953-444c-96c7-9026bcc54cc7", "metadata": {}, "outputs": [ @@ -18,7 +18,7 @@ "name": "stdout", "output_type": "stream", "text": [ - "Example tutorial which will be published in the docs!\n" + "arr = array([2, 4]) type(arr) = \n" ] } ], @@ -48,7 +48,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.13.3" + "version": "3.12.3" } }, "nbformat": 4, From 75aa43c14812eeb6e72f7f695b253cda6c07915d Mon Sep 17 00:00:00 2001 From: Max Lindqvist Date: Wed, 22 Oct 2025 11:46:09 +0200 Subject: [PATCH 2/2] uncommented Publish to PyPI --- .github/workflows/publish.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index d91ffc6..eaff1cd 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -26,10 +26,9 @@ jobs: - name: Build the package run: python -m build - # Uncomment to publish on pypi - #- name: Publish to PyPI - # env: - # TWINE_USERNAME: __token__ # Use API token - # TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }} - # run: twine upload dist/* + - name: Publish to PyPI + env: + TWINE_USERNAME: __token__ # Use API token + TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }} + run: twine upload dist/*