From 9f83df0705ea2b7dfecfc0f0ec12f3abd6ebee48 Mon Sep 17 00:00:00 2001 From: Martijn Visser Date: Thu, 3 Oct 2024 20:59:21 +0200 Subject: [PATCH] Set pixi-version to v0.30.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Instead of latest. All PRs made since v0.31 came out seem to have pixi environment related issues. Checking if this will fix it. #1867 green with v0.30 #1868 red with v0.31 #1869 red with v0.31 This is the error, that somewhat randomly appears during `pixi run` ``` × /home/runner/work/Ribasim/Ribasim/.pixi/envs/dev/lib/gcc/x86_64-conda- │ linux-gnu/14.1.0/libhwasan.so: No such file or directory (os error 2) ``` --- .github/workflows/core_testmodels.yml | 2 +- .github/workflows/core_tests.yml | 2 +- .github/workflows/docs.yml | 2 +- .github/workflows/julia_auto_update.yml | 2 +- .github/workflows/mypy.yml | 2 +- .github/workflows/pixi_auto_update.yml | 1 + .github/workflows/python_codegen.yml | 2 +- .github/workflows/python_tests.yml | 2 +- .github/workflows/qgis.yml | 2 +- 9 files changed, 9 insertions(+), 8 deletions(-) diff --git a/.github/workflows/core_testmodels.yml b/.github/workflows/core_testmodels.yml index 523511f56..57dcdeca5 100644 --- a/.github/workflows/core_testmodels.yml +++ b/.github/workflows/core_testmodels.yml @@ -36,7 +36,7 @@ jobs: cache-registries: "true" - uses: prefix-dev/setup-pixi@v0.8.1 with: - pixi-version: "latest" + pixi-version: v0.30.0 - name: Prepare pixi run: pixi run install-ci - name: Run testmodels with Ribasim Core diff --git a/.github/workflows/core_tests.yml b/.github/workflows/core_tests.yml index e2aa34a8b..153952ccc 100644 --- a/.github/workflows/core_tests.yml +++ b/.github/workflows/core_tests.yml @@ -36,7 +36,7 @@ jobs: cache-registries: "true" - uses: prefix-dev/setup-pixi@v0.8.1 with: - pixi-version: "latest" + pixi-version: v0.30.0 - name: Test Ribasim Core run: | pixi run test-ribasim-core-cov diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 7d538cbf0..b12e78290 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -27,7 +27,7 @@ jobs: cache-registries: "true" - uses: prefix-dev/setup-pixi@v0.8.1 with: - pixi-version: "latest" + pixi-version: v0.30.0 - name: Prepare pixi run: pixi run install-ci diff --git a/.github/workflows/julia_auto_update.yml b/.github/workflows/julia_auto_update.yml index 21b1d32f3..bc723d90d 100644 --- a/.github/workflows/julia_auto_update.yml +++ b/.github/workflows/julia_auto_update.yml @@ -16,7 +16,7 @@ jobs: ssh-key: ${{ secrets.SSH_PRIVATE_KEY }} - uses: prefix-dev/setup-pixi@v0.8.1 with: - pixi-version: "latest" + pixi-version: v0.30.0 - name: Update Julia manifest file run: | pixi run install-julia diff --git a/.github/workflows/mypy.yml b/.github/workflows/mypy.yml index 3ebea3fbc..5af19f4ac 100644 --- a/.github/workflows/mypy.yml +++ b/.github/workflows/mypy.yml @@ -19,7 +19,7 @@ jobs: - uses: actions/checkout@v4 - uses: prefix-dev/setup-pixi@v0.8.1 with: - pixi-version: "latest" + pixi-version: v0.30.0 - name: Run mypy on python/ribasim run: | pixi run mypy-ribasim-python diff --git a/.github/workflows/pixi_auto_update.yml b/.github/workflows/pixi_auto_update.yml index f4b2ad775..d959b3172 100644 --- a/.github/workflows/pixi_auto_update.yml +++ b/.github/workflows/pixi_auto_update.yml @@ -19,6 +19,7 @@ jobs: - name: Set up pixi uses: prefix-dev/setup-pixi@v0.8.1 with: + pixi-version: v0.30.0 run-install: false - name: Update lockfiles run: | diff --git a/.github/workflows/python_codegen.yml b/.github/workflows/python_codegen.yml index f76927476..06170064f 100644 --- a/.github/workflows/python_codegen.yml +++ b/.github/workflows/python_codegen.yml @@ -19,7 +19,7 @@ jobs: - uses: actions/checkout@v4 - uses: prefix-dev/setup-pixi@v0.8.1 with: - pixi-version: "latest" + pixi-version: v0.30.0 - name: Test if codegen runs without errors run: pixi run codegen - name: Ensure that no code has been generated diff --git a/.github/workflows/python_tests.yml b/.github/workflows/python_tests.yml index 1a1ebbf95..293602dd3 100644 --- a/.github/workflows/python_tests.yml +++ b/.github/workflows/python_tests.yml @@ -29,7 +29,7 @@ jobs: - uses: actions/checkout@v4 - uses: prefix-dev/setup-pixi@v0.8.1 with: - pixi-version: "latest" + pixi-version: v0.30.0 - name: Test Ribasim Python run: pixi run --environment ${{ matrix.pixi-environment }} test-ribasim-python-cov - name: Upload coverage to Codecov diff --git a/.github/workflows/qgis.yml b/.github/workflows/qgis.yml index 3275c8db4..eb97bfa0d 100644 --- a/.github/workflows/qgis.yml +++ b/.github/workflows/qgis.yml @@ -19,7 +19,7 @@ jobs: - uses: actions/checkout@v4 - uses: prefix-dev/setup-pixi@v0.8.1 with: - pixi-version: "latest" + pixi-version: v0.30.0 - name: Run tests run: pixi run test-ribasim-qgis-docker - name: Upload coverage to Codecov