From 10ca2f8b5aa1f8abd4c963724d2c0c931070ed43 Mon Sep 17 00:00:00 2001 From: NimaSarajpoor Date: Wed, 28 Jan 2026 23:53:45 -0500 Subject: [PATCH 01/17] Add yml file to test STUMPY via pixi --- .github/workflows/pixi-support-actions.yml | 53 ++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 .github/workflows/pixi-support-actions.yml diff --git a/.github/workflows/pixi-support-actions.yml b/.github/workflows/pixi-support-actions.yml new file mode 100644 index 0000000..3e473fc --- /dev/null +++ b/.github/workflows/pixi-support-actions.yml @@ -0,0 +1,53 @@ +name: Check URL Links +on: + workflow_dispatch: + schedule: + - cron: '0 14 1,15 * *' # 2pm UTC == 9am EST, 1st and 15th of every month +jobs: + test_with_pixi: + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: [ubuntu-latest, macos-latest, windows-latest] + steps: + - name: Checkout STUMPY + uses: actions/checkout@v4 + with: + repository: stumpy-dev/stumpy + + - name: Determine Safe Python Version + id: get_safe_python + run: | + echo "safe_python=$(python ./versions.py -mode safe)" >> $GITHUB_OUTPUT + + - name: Set Up Python + uses: actions/setup-python@v5 + with: + python-version: ${{ steps.get_safe_python.outputs.safe_python }} + + - name: Display Python Version + run: python -c "import sys; print(sys.version)" + shell: bash + + - name: Checkout STUMPY + if: "startsWith(steps.python.outputs.version, env.req-python-version)" + uses: actions/checkout@v4 + with: + repository: stumpy-dev/stumpy + + - name: Set Up Pixi + uses: prefix-dev/setup-pixi@v0.9.4 + with: + pixi-version: v0.62.2 + + cache: true + auth-host: prefix.dev + auth-token: ${{ secrets.PREFIX_DEV_TOKEN }} + + - name: Install STUMPY And Other Dependencies + run: pixi install + shell: bash + + - name: Unit Tests + run: ./test.sh + shell: bash From c2d1c36850dc2d65c01ea405823daeca4ff34679 Mon Sep 17 00:00:00 2001 From: NimaSarajpoor Date: Wed, 28 Jan 2026 23:54:27 -0500 Subject: [PATCH 02/17] minor change --- .github/workflows/pixi-support-actions.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/pixi-support-actions.yml b/.github/workflows/pixi-support-actions.yml index 3e473fc..1dac4b2 100644 --- a/.github/workflows/pixi-support-actions.yml +++ b/.github/workflows/pixi-support-actions.yml @@ -1,8 +1,6 @@ name: Check URL Links on: - workflow_dispatch: - schedule: - - cron: '0 14 1,15 * *' # 2pm UTC == 9am EST, 1st and 15th of every month + workflow_dispatch jobs: test_with_pixi: runs-on: ${{ matrix.os }} From 3e2f21f11aef6329f7964f5b10166b7a1efec96e Mon Sep 17 00:00:00 2001 From: NimaSarajpoor Date: Thu, 29 Jan 2026 00:24:12 -0500 Subject: [PATCH 03/17] minor change --- .github/workflows/pixi-support-actions.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pixi-support-actions.yml b/.github/workflows/pixi-support-actions.yml index 1dac4b2..9da76fc 100644 --- a/.github/workflows/pixi-support-actions.yml +++ b/.github/workflows/pixi-support-actions.yml @@ -1,6 +1,6 @@ name: Check URL Links on: - workflow_dispatch + workflow_dispatch: jobs: test_with_pixi: runs-on: ${{ matrix.os }} From b0713aa653c55e495f6f2880c0e22ae55a15d56b Mon Sep 17 00:00:00 2001 From: NimaSarajpoor Date: Thu, 29 Jan 2026 00:30:52 -0500 Subject: [PATCH 04/17] fix name --- .github/workflows/pixi-support-actions.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pixi-support-actions.yml b/.github/workflows/pixi-support-actions.yml index 9da76fc..b8da3ae 100644 --- a/.github/workflows/pixi-support-actions.yml +++ b/.github/workflows/pixi-support-actions.yml @@ -1,4 +1,4 @@ -name: Check URL Links +name: Run STUMPY Tests with Pixi on: workflow_dispatch: jobs: From 57b5c9f1cc53702552602e26f00fd43b08be21e6 Mon Sep 17 00:00:00 2001 From: NimaSarajpoor Date: Thu, 29 Jan 2026 00:48:15 -0500 Subject: [PATCH 05/17] add my own secret and enable environment in Github Actions --- .github/workflows/pixi-support-actions.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/pixi-support-actions.yml b/.github/workflows/pixi-support-actions.yml index b8da3ae..a06cb94 100644 --- a/.github/workflows/pixi-support-actions.yml +++ b/.github/workflows/pixi-support-actions.yml @@ -7,6 +7,9 @@ jobs: strategy: matrix: os: [ubuntu-latest, macos-latest, windows-latest] + + environment: API_Access + steps: - name: Checkout STUMPY uses: actions/checkout@v4 From 7e59319b5df89fc5b7d943947b94a005c68105dd Mon Sep 17 00:00:00 2001 From: NimaSarajpoor Date: Thu, 29 Jan 2026 01:07:44 -0500 Subject: [PATCH 06/17] add log level --- .github/workflows/pixi-support-actions.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/pixi-support-actions.yml b/.github/workflows/pixi-support-actions.yml index a06cb94..d874268 100644 --- a/.github/workflows/pixi-support-actions.yml +++ b/.github/workflows/pixi-support-actions.yml @@ -39,6 +39,7 @@ jobs: - name: Set Up Pixi uses: prefix-dev/setup-pixi@v0.9.4 with: + log-level: vvv pixi-version: v0.62.2 cache: true From e6f4380a1f306d94edd3bd706398fa2023c6b365 Mon Sep 17 00:00:00 2001 From: NimaSarajpoor Date: Thu, 29 Jan 2026 01:32:47 -0500 Subject: [PATCH 07/17] add check token --- .github/workflows/pixi-support-actions.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/pixi-support-actions.yml b/.github/workflows/pixi-support-actions.yml index d874268..d7b999a 100644 --- a/.github/workflows/pixi-support-actions.yml +++ b/.github/workflows/pixi-support-actions.yml @@ -35,6 +35,17 @@ jobs: uses: actions/checkout@v4 with: repository: stumpy-dev/stumpy + + - name: Check token + run: | + if [ -z "$TOKEN" ]; then + echo "ERROR--PREFIX_DEV_TOKEN is empty or not accessible!" + exit 1 + else + echo "Token is available (length: ${#TOKEN})" + fi + env: + TOKEN: ${{ secrets.PREFIX_DEV_TOKEN }} - name: Set Up Pixi uses: prefix-dev/setup-pixi@v0.9.4 From 5b3907b3948ee491518273bf18cccec003d85e97 Mon Sep 17 00:00:00 2001 From: NimaSarajpoor Date: Thu, 29 Jan 2026 01:47:23 -0500 Subject: [PATCH 08/17] attemp2 in token authentication --- .github/workflows/pixi-support-actions.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pixi-support-actions.yml b/.github/workflows/pixi-support-actions.yml index d7b999a..e51ac44 100644 --- a/.github/workflows/pixi-support-actions.yml +++ b/.github/workflows/pixi-support-actions.yml @@ -8,7 +8,7 @@ jobs: matrix: os: [ubuntu-latest, macos-latest, windows-latest] - environment: API_Access + environment: PIXI_API_ACCESS steps: - name: Checkout STUMPY From 6ed5a40c1879bb5ffa628094800491107158c3d9 Mon Sep 17 00:00:00 2001 From: NimaSarajpoor Date: Thu, 29 Jan 2026 02:10:50 -0500 Subject: [PATCH 09/17] set cache to false --- .github/workflows/pixi-support-actions.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pixi-support-actions.yml b/.github/workflows/pixi-support-actions.yml index e51ac44..d98cc3b 100644 --- a/.github/workflows/pixi-support-actions.yml +++ b/.github/workflows/pixi-support-actions.yml @@ -53,7 +53,7 @@ jobs: log-level: vvv pixi-version: v0.62.2 - cache: true + cache: false auth-host: prefix.dev auth-token: ${{ secrets.PREFIX_DEV_TOKEN }} From 0976d6571487b0bd35935620b6b595a9165c7c89 Mon Sep 17 00:00:00 2001 From: NimaSarajpoor Date: Thu, 29 Jan 2026 02:49:16 -0500 Subject: [PATCH 10/17] keep core stuff --- .github/workflows/pixi-support-actions.yml | 39 +++------------------- 1 file changed, 5 insertions(+), 34 deletions(-) diff --git a/.github/workflows/pixi-support-actions.yml b/.github/workflows/pixi-support-actions.yml index d98cc3b..df11d5a 100644 --- a/.github/workflows/pixi-support-actions.yml +++ b/.github/workflows/pixi-support-actions.yml @@ -7,45 +7,12 @@ jobs: strategy: matrix: os: [ubuntu-latest, macos-latest, windows-latest] - - environment: PIXI_API_ACCESS - + steps: - name: Checkout STUMPY uses: actions/checkout@v4 with: repository: stumpy-dev/stumpy - - - name: Determine Safe Python Version - id: get_safe_python - run: | - echo "safe_python=$(python ./versions.py -mode safe)" >> $GITHUB_OUTPUT - - - name: Set Up Python - uses: actions/setup-python@v5 - with: - python-version: ${{ steps.get_safe_python.outputs.safe_python }} - - - name: Display Python Version - run: python -c "import sys; print(sys.version)" - shell: bash - - - name: Checkout STUMPY - if: "startsWith(steps.python.outputs.version, env.req-python-version)" - uses: actions/checkout@v4 - with: - repository: stumpy-dev/stumpy - - - name: Check token - run: | - if [ -z "$TOKEN" ]; then - echo "ERROR--PREFIX_DEV_TOKEN is empty or not accessible!" - exit 1 - else - echo "Token is available (length: ${#TOKEN})" - fi - env: - TOKEN: ${{ secrets.PREFIX_DEV_TOKEN }} - name: Set Up Pixi uses: prefix-dev/setup-pixi@v0.9.4 @@ -60,6 +27,10 @@ jobs: - name: Install STUMPY And Other Dependencies run: pixi install shell: bash + + - name: Show Full Numba Environment + run: python -m numba -s + shell: bash - name: Unit Tests run: ./test.sh From f8698608fd5b954e995a222c7226a10a1af957d6 Mon Sep 17 00:00:00 2001 From: NimaSarajpoor Date: Thu, 29 Jan 2026 02:53:46 -0500 Subject: [PATCH 11/17] reverted some of the changes --- .github/workflows/pixi-support-actions.yml | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/.github/workflows/pixi-support-actions.yml b/.github/workflows/pixi-support-actions.yml index d98cc3b..69fef9a 100644 --- a/.github/workflows/pixi-support-actions.yml +++ b/.github/workflows/pixi-support-actions.yml @@ -16,22 +16,7 @@ jobs: with: repository: stumpy-dev/stumpy - - name: Determine Safe Python Version - id: get_safe_python - run: | - echo "safe_python=$(python ./versions.py -mode safe)" >> $GITHUB_OUTPUT - - - name: Set Up Python - uses: actions/setup-python@v5 - with: - python-version: ${{ steps.get_safe_python.outputs.safe_python }} - - - name: Display Python Version - run: python -c "import sys; print(sys.version)" - shell: bash - - name: Checkout STUMPY - if: "startsWith(steps.python.outputs.version, env.req-python-version)" uses: actions/checkout@v4 with: repository: stumpy-dev/stumpy From 97304ea8b81715d66ec45a35e5ffb0e4170424da Mon Sep 17 00:00:00 2001 From: NimaSarajpoor Date: Thu, 29 Jan 2026 02:59:23 -0500 Subject: [PATCH 12/17] minor change --- .github/workflows/pixi-support-actions.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/pixi-support-actions.yml b/.github/workflows/pixi-support-actions.yml index 69fef9a..31515a5 100644 --- a/.github/workflows/pixi-support-actions.yml +++ b/.github/workflows/pixi-support-actions.yml @@ -7,7 +7,6 @@ jobs: strategy: matrix: os: [ubuntu-latest, macos-latest, windows-latest] - environment: PIXI_API_ACCESS steps: From 2c56e0428a2123bd51f6ad8bdace376a29347caa Mon Sep 17 00:00:00 2001 From: NimaSarajpoor Date: Thu, 29 Jan 2026 03:03:12 -0500 Subject: [PATCH 13/17] Removed check token --- .github/workflows/pixi-support-actions.yml | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/.github/workflows/pixi-support-actions.yml b/.github/workflows/pixi-support-actions.yml index 31515a5..0092f0b 100644 --- a/.github/workflows/pixi-support-actions.yml +++ b/.github/workflows/pixi-support-actions.yml @@ -19,17 +19,6 @@ jobs: uses: actions/checkout@v4 with: repository: stumpy-dev/stumpy - - - name: Check token - run: | - if [ -z "$TOKEN" ]; then - echo "ERROR--PREFIX_DEV_TOKEN is empty or not accessible!" - exit 1 - else - echo "Token is available (length: ${#TOKEN})" - fi - env: - TOKEN: ${{ secrets.PREFIX_DEV_TOKEN }} - name: Set Up Pixi uses: prefix-dev/setup-pixi@v0.9.4 From b0c848d7779ecfcbfa1f78644d0992b0fe406a84 Mon Sep 17 00:00:00 2001 From: NimaSarajpoor Date: Thu, 29 Jan 2026 03:03:56 -0500 Subject: [PATCH 14/17] minor change --- .github/workflows/pixi-support-actions.yml | 5 ----- 1 file changed, 5 deletions(-) diff --git a/.github/workflows/pixi-support-actions.yml b/.github/workflows/pixi-support-actions.yml index 0092f0b..a83f7b3 100644 --- a/.github/workflows/pixi-support-actions.yml +++ b/.github/workflows/pixi-support-actions.yml @@ -15,11 +15,6 @@ jobs: with: repository: stumpy-dev/stumpy - - name: Checkout STUMPY - uses: actions/checkout@v4 - with: - repository: stumpy-dev/stumpy - - name: Set Up Pixi uses: prefix-dev/setup-pixi@v0.9.4 with: From 0b62779c5c7ee27a95e1fc1905544c60faee1f8c Mon Sep 17 00:00:00 2001 From: NimaSarajpoor Date: Thu, 29 Jan 2026 03:16:10 -0500 Subject: [PATCH 15/17] potential fix for missing env --- .github/workflows/pixi-support-actions.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pixi-support-actions.yml b/.github/workflows/pixi-support-actions.yml index a83f7b3..86467b4 100644 --- a/.github/workflows/pixi-support-actions.yml +++ b/.github/workflows/pixi-support-actions.yml @@ -25,10 +25,10 @@ jobs: auth-host: prefix.dev auth-token: ${{ secrets.PREFIX_DEV_TOKEN }} - - name: Install STUMPY And Other Dependencies + - name: Install STUMPY And Other Dependencies with Pixi run: pixi install shell: bash - name: Unit Tests - run: ./test.sh + run: pixi run ./test.sh shell: bash From ef4c2a08939cf2321fb14020f8b8207c07608fec Mon Sep 17 00:00:00 2001 From: NimaSarajpoor Date: Thu, 29 Jan 2026 03:23:59 -0500 Subject: [PATCH 16/17] use pixi to run commands --- .github/workflows/pixi-support-actions.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pixi-support-actions.yml b/.github/workflows/pixi-support-actions.yml index b45744a..37e6446 100644 --- a/.github/workflows/pixi-support-actions.yml +++ b/.github/workflows/pixi-support-actions.yml @@ -30,7 +30,7 @@ jobs: shell: bash - name: Show Full Numba Environment - run: python -m numba -s + run: pixi run numba -s shell: bash - name: Unit Tests From 6e6cdd92572897a8e635a8b967766ae18b4f6b2e Mon Sep 17 00:00:00 2001 From: NimaSarajpoor Date: Thu, 29 Jan 2026 03:32:23 -0500 Subject: [PATCH 17/17] explicit bash command --- .github/workflows/pixi-support-actions.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pixi-support-actions.yml b/.github/workflows/pixi-support-actions.yml index 37e6446..942ae02 100644 --- a/.github/workflows/pixi-support-actions.yml +++ b/.github/workflows/pixi-support-actions.yml @@ -34,5 +34,5 @@ jobs: shell: bash - name: Unit Tests - run: pixi run ./test.sh + run: pixi run bash ./test.sh shell: bash