this repo has no description

fix: use Docker with micromamba instead of nixery

nixery doesn't have glibc compatibility for conda packages.
Switch to mambaorg/micromamba container which has proper glibc.

+17 -42
+9 -26
.tangled/workflows/build.yml
··· 7 7 - event: ["pull_request"] 8 8 branch: ["main"] 9 9 10 - engine: "nixery" 10 + engine: "docker" 11 + image: "mambaorg/micromamba:latest" 11 12 12 13 clone: 13 14 skip: false 14 15 depth: 1 15 16 submodules: false 16 17 17 - dependencies: 18 - nixpkgs: 19 - - rattler-build 20 - - git 21 - - findutils 22 - 23 - environment: 24 - CGO_ENABLED: "0" 25 - 26 18 steps: 27 - - name: "Show environment" 19 + - name: "Install rattler-build" 28 20 command: | 29 - pwd 30 - ls -la 31 - echo "=== Checking recipe ===" 32 - cat recipe/recipe.yaml 21 + micromamba install -y -c conda-forge rattler-build 33 22 34 23 - name: "Build conda package" 35 24 command: | 36 - set -e 37 - echo "Starting build..." 38 - rattler-build build --recipe recipe/recipe.yaml --output-dir ./output 39 - echo "Build completed, checking output..." 40 - ls -la output/ 41 - ls -la output/linux-64/ || ls -la output/*/ 42 - echo "Done" 25 + micromamba run -n base rattler-build build --recipe recipe/recipe.yaml --output-dir ./output 26 + ls -la output/*/ 43 27 44 28 - name: "Verify package" 45 29 command: | 46 30 PACKAGE=$(find output -name "*.conda" -type f | head -1) 47 31 if [ -z "$PACKAGE" ]; then 48 - echo "ERROR: No package found in output/" 49 - ls -laR output/ 32 + echo "ERROR: No package found!" 50 33 exit 1 51 34 fi 52 - echo "Found package: $PACKAGE" 53 - ls -la "$PACKAGE" 35 + echo "Package: $PACKAGE" 36 + ls -la "$PACKAGE"
+8 -16
.tangled/workflows/conda-release.yml
··· 5 5 - event: ["push"] 6 6 tag: ["v*"] 7 7 8 - engine: "nixery" 8 + engine: "docker" 9 + image: "mambaorg/micromamba:latest" 9 10 10 11 clone: 11 12 skip: false 12 13 depth: 1 13 14 submodules: false 14 15 15 - dependencies: 16 - nixpkgs: 17 - - rattler-build 18 - - git 19 - 20 - environment: 21 - CGO_ENABLED: "0" 22 - # Override glibc check for nixery environment 23 - CONDA_OVERRIDE_GLIBC: "2.17" 24 - 25 16 steps: 17 + - name: "Install tools" 18 + command: | 19 + micromamba install -y -c conda-forge rattler-build git 20 + 26 21 - name: "Get version from tag" 27 22 command: | 28 - # Get tag name (remove refs/tags/ prefix) 29 23 TAG=${GITEA_REF_NAME:-${GITHUB_REF_NAME:-unknown}} 30 24 echo "Building from tag: ${TAG}" 31 - # Remove 'v' prefix if present 32 25 VERSION=${TAG#v} 33 26 echo "VERSION=${VERSION}" >> $GITEA_ENV 34 27 echo "Package version: ${VERSION}" ··· 37 30 command: | 38 31 TAG=${GITEA_REF_NAME:-${GITHUB_REF_NAME:-unknown}} 39 32 VERSION=${TAG#v} 40 - # Update version in release recipe 41 33 sed -i "s/version: \"\"/version: \"${VERSION}\"/" recipe/recipe.release.yaml 42 34 cat recipe/recipe.release.yaml 43 35 44 36 - name: "Build conda package" 45 37 command: | 46 - rattler-build build --recipe recipe/recipe.release.yaml --output-dir ./output 38 + micromamba run -n base rattler-build build --recipe recipe/recipe.release.yaml --output-dir ./output 47 39 48 40 - name: "Upload to prefix.dev" 49 41 command: | 50 - rattler-build upload prefix --channel nandi-testing output/**/*.conda 42 + micromamba run -n base rattler-build upload prefix --channel nandi-testing output/**/*.conda