From 50ca118f9ca59f577c0c2469063da0e3f24eb636 Mon Sep 17 00:00:00 2001 From: Glass Date: Mon, 29 Jun 2026 12:49:13 -0400 Subject: [PATCH 1/2] Update pixi conda-build task --- .github/workflows/test_and_deploy.yaml | 12 +++++------- pyproject.toml | 2 +- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/.github/workflows/test_and_deploy.yaml b/.github/workflows/test_and_deploy.yaml index 042cf53..35271f1 100644 --- a/.github/workflows/test_and_deploy.yaml +++ b/.github/workflows/test_and_deploy.yaml @@ -28,7 +28,7 @@ jobs: fetch-tags: true - name: Setup pixi - uses: prefix-dev/setup-pixi@5185adfbffb4bd703da3010310260805d89ebb11 # v0.9.6 + uses: prefix-dev/setup-pixi@v0.10.0 with: manifest-path: pyproject.toml # Workaround: Dynamic versioning (versioningit) causes lock file version mismatch. @@ -70,7 +70,7 @@ jobs: fetch-tags: true - name: Setup pixi - uses: prefix-dev/setup-pixi@5185adfbffb4bd703da3010310260805d89ebb11 # v0.9.6 + uses: prefix-dev/setup-pixi@v0.10.0 with: manifest-path: pyproject.toml # Workaround: Dynamic versioning (versioningit) causes lock file version mismatch. @@ -87,8 +87,6 @@ jobs: - name: Build conda package run: | pixi run conda-build - mkdir -p /tmp/local-channel/linux-64 - cp *.conda /tmp/local-channel/linux-64 # pkg-verify requires a conda env that already has the package # installed (and micromamba on PATH); pkg-install sets both up. @@ -97,7 +95,7 @@ jobs: uses: neutrons/conda-actions/pkg-install@bba9ca89d48d9ae846db9650cc63fde736340b3d # v2 with: package-name: ${{ env.PKG_NAME }} - local-channel: /tmp/local-channel + local-channel: ./local-channel - name: Verify conda package uses: neutrons/conda-actions/pkg-verify@bba9ca89d48d9ae846db9650cc63fde736340b3d # v2 @@ -132,7 +130,7 @@ jobs: fetch-tags: true - name: Setup Pixi - uses: prefix-dev/setup-pixi@5185adfbffb4bd703da3010310260805d89ebb11 # v0.9.6 + uses: prefix-dev/setup-pixi@v0.10.0 with: manifest-path: pyproject.toml # Workaround: Dynamic versioning (versioningit) causes lock file version mismatch. @@ -180,7 +178,7 @@ jobs: fetch-tags: true - name: Setup pixi - uses: prefix-dev/setup-pixi@5185adfbffb4bd703da3010310260805d89ebb11 # v0.9.6 + uses: prefix-dev/setup-pixi@v0.10.0 with: manifest-path: pyproject.toml # Workaround: Dynamic versioning (versioningit) causes lock file version mismatch. diff --git a/pyproject.toml b/pyproject.toml index 7c2156e..6b3dd19 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -204,7 +204,7 @@ pypi-publish = { cmd = "twine upload dist/*", description = "Publish the package pypi-publish-test = { cmd = "twine upload --repository testpypi dist/*", description = "Publish the package to TestPyPI", depends-on = [ "pypi-build", ] } -conda-build-command = { cmd = "pixi build", description = "Build the conda package command" } +conda-build-command = { cmd = "pixi publish --target-channel ./local-channel", description = "Build the conda package command" } conda-build = { description = "Build the conda package", depends-on = [ "backup-toml", "sync-version", From e1203405948b659315a4a9be0063ffccdad9d322 Mon Sep 17 00:00:00 2001 From: Glass Date: Mon, 29 Jun 2026 13:37:54 -0400 Subject: [PATCH 2/2] pin to hash --- .github/workflows/test_and_deploy.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test_and_deploy.yaml b/.github/workflows/test_and_deploy.yaml index 35271f1..cdf5ab3 100644 --- a/.github/workflows/test_and_deploy.yaml +++ b/.github/workflows/test_and_deploy.yaml @@ -28,7 +28,7 @@ jobs: fetch-tags: true - name: Setup pixi - uses: prefix-dev/setup-pixi@v0.10.0 + uses: prefix-dev/setup-pixi@a09b6247153796b190642a2b53fac4241043cf6f # v0.10.0 with: manifest-path: pyproject.toml # Workaround: Dynamic versioning (versioningit) causes lock file version mismatch. @@ -70,7 +70,7 @@ jobs: fetch-tags: true - name: Setup pixi - uses: prefix-dev/setup-pixi@v0.10.0 + uses: prefix-dev/setup-pixi@a09b6247153796b190642a2b53fac4241043cf6f # v0.10.0 with: manifest-path: pyproject.toml # Workaround: Dynamic versioning (versioningit) causes lock file version mismatch. @@ -130,7 +130,7 @@ jobs: fetch-tags: true - name: Setup Pixi - uses: prefix-dev/setup-pixi@v0.10.0 + uses: prefix-dev/setup-pixi@a09b6247153796b190642a2b53fac4241043cf6f # v0.10.0 with: manifest-path: pyproject.toml # Workaround: Dynamic versioning (versioningit) causes lock file version mismatch. @@ -178,7 +178,7 @@ jobs: fetch-tags: true - name: Setup pixi - uses: prefix-dev/setup-pixi@v0.10.0 + uses: prefix-dev/setup-pixi@a09b6247153796b190642a2b53fac4241043cf6f # v0.10.0 with: manifest-path: pyproject.toml # Workaround: Dynamic versioning (versioningit) causes lock file version mismatch.