Skip to content

Current feedstock render for conda_install_tool pixi results in broken state given linux-ppc64le #2393

@matthewfeickert

Description

@matthewfeickert

Solution to issue cannot be found in the documentation.

  • I checked the documentation.

Issue

Using conda-smithy v3.52.2 feedstock renders

    MNT: Re-rendered with conda-smithy 3.52.2 and conda-forge-pinning 2025.09.15.11.24.57
    
    Other tools:
    - conda-build 25.7.0
    - rattler-build 0.47.0
    - rattler-build-conda-compat 1.4.6

if conda_install_tool is Pixi

$ head conda-forge.yml 
conda_build_tool: rattler-build
conda_install_tool: pixi

then the conda-smithy generated pixi.toml

pixi.toml:
# This file was generated automatically from conda-smithy. To update this configuration,
# update the conda-forge.yml and/or the recipe/meta.yaml.
# -*- mode: toml -*-

#                             VVVVVV  minimum `pixi` version
"$schema" = "https://pixi.sh/v0.36.0/schema/manifest/schema.json"

[project]
name = "oneloop-feedstock"
version = "3.52.2"  # conda-smithy version used to generate this file
description = "Pixi configuration for conda-forge/oneloop-feedstock"
authors = ["@conda-forge/oneloop"]
channels = ["conda-forge"]
platforms = ["linux-64", "linux-aarch64", "linux-ppc64le", "osx-64", "win-64"]

[dependencies]
conda-build = ">=24.1"
conda-forge-ci-setup = "4.*"
rattler-build = "*"

[tasks]
[tasks.inspect-all]
cmd = "inspect_artifacts --all-packages"
description = "List contents of all packages found in rattler-build build directory."
[tasks.build]
cmd = "rattler-build build --recipe recipe"
description = "Build oneloop-feedstock directly (without setup scripts), no particular variant specified"
[tasks."build-linux_64_"]
cmd = "rattler-build build --recipe recipe -m .ci_support/linux_64_.yaml"
description = "Build oneloop-feedstock with variant linux_64_ directly (without setup scripts)"
[tasks."inspect-linux_64_"]
cmd = "inspect_artifacts --recipe-dir recipe -m .ci_support/linux_64_.yaml"
description = "List contents of oneloop-feedstock packages built for variant linux_64_"
[tasks."build-linux_aarch64_"]
cmd = "rattler-build build --recipe recipe -m .ci_support/linux_aarch64_.yaml"
description = "Build oneloop-feedstock with variant linux_aarch64_ directly (without setup scripts)"
[tasks."inspect-linux_aarch64_"]
cmd = "inspect_artifacts --recipe-dir recipe -m .ci_support/linux_aarch64_.yaml"
description = "List contents of oneloop-feedstock packages built for variant linux_aarch64_"
[tasks."build-linux_ppc64le_"]
cmd = "rattler-build build --recipe recipe -m .ci_support/linux_ppc64le_.yaml"
description = "Build oneloop-feedstock with variant linux_ppc64le_ directly (without setup scripts)"
[tasks."inspect-linux_ppc64le_"]
cmd = "inspect_artifacts --recipe-dir recipe -m .ci_support/linux_ppc64le_.yaml"
description = "List contents of oneloop-feedstock packages built for variant linux_ppc64le_"
[tasks."build-osx_64_"]
cmd = "rattler-build build --recipe recipe -m .ci_support/osx_64_.yaml"
description = "Build oneloop-feedstock with variant osx_64_ directly (without setup scripts)"
[tasks."inspect-osx_64_"]
cmd = "inspect_artifacts --recipe-dir recipe -m .ci_support/osx_64_.yaml"
description = "List contents of oneloop-feedstock packages built for variant osx_64_"
[tasks."build-osx_arm64_"]
cmd = "rattler-build build --recipe recipe -m .ci_support/osx_arm64_.yaml"
description = "Build oneloop-feedstock with variant osx_arm64_ directly (without setup scripts)"
[tasks."inspect-osx_arm64_"]
cmd = "inspect_artifacts --recipe-dir recipe -m .ci_support/osx_arm64_.yaml"
description = "List contents of oneloop-feedstock packages built for variant osx_arm64_"

[feature.smithy.dependencies]
conda-smithy = "*"
shellcheck = "*"
[feature.smithy.tasks.build-locally]
cmd = "python ./build-locally.py"
description = "Build packages locally using the same setup scripts used in conda-forge's CI"
[feature.smithy.tasks.smithy]
cmd = "conda-smithy"
description = "Run conda-smithy. Pass necessary arguments."
[feature.smithy.tasks.rerender]
cmd = "conda-smithy rerender"
description = "Rerender the feedstock."
[feature.smithy.tasks.lint]
cmd = "conda-smithy lint --conda-forge recipe"
description = "Lint the feedstock recipe"

[environments]
smithy = ["smithy"]
# This is a copy of default, to be enabled by build_steps.sh during Docker builds
# __PLATFORM_SPECIFIC_ENV__ = []

is invalid for linux-ppc64le as there is no shellcheck for that platform and so all Pixi tasks are broken.

$ pixi run lint
Error:   × failed to solve requirements of environment 'smithy' for platform 'linux-ppc64le'
  ├─▶   × failed to solve the environment

  ╰─▶ Cannot solve the request because of: No candidates were found for shellcheck *.
      

Installed packages

N/A as the Pixi environment can't solve

Environment info

System
------------
       Pixi version: 0.55.0
           Platform: linux-64
   Virtual packages: __unix=0=0
                   : __linux=6.8.0=0
                   : __glibc=2.39=0
                   : __cuda=12.9=0
                   : __archspec=1=skylake
          Cache dir: /home/feickert/.cache/rattler/cache
       Auth storage: /home/feickert/.rattler/credentials.json
   Config locations: No config files found

Global
------------
            Bin dir: /home/feickert/.pixi/bin
    Environment dir: /home/feickert/.pixi/envs
       Manifest dir: /home/feickert/.pixi/manifests/pixi-global.toml

Workspace
------------
               Name: oneloop-feedstock
            Version: 3.52.2
      Manifest file: /home/feickert/Code/GitHub/conda-forge/hep-packaging-coordination/oneloop-feedstock/pixi.toml
       Last updated: 17-09-2025 21:22:53

Environments
------------
        Environment: default
           Features: default
           Channels: conda-forge
   Dependency count: 3
       Dependencies: conda-build, conda-forge-ci-setup, rattler-build
   Target platforms: osx-64, linux-64, linux-ppc64le, win-64, linux-aarch64
    Prefix location: /home/feickert/Code/GitHub/conda-forge/hep-packaging-coordination/oneloop-feedstock/.pixi/envs/default
              Tasks: build-osx_64_, inspect-osx_arm64_, build-linux_64_, inspect-all, build-linux_ppc64le_, build-linux_aarch64_, inspect-linux_64_, build-osx_arm64_, inspect-linux_aarch64_, build, inspect-linux_ppc64le_, inspect-osx_64_

        Environment: smithy
           Features: smithy, default
           Channels: conda-forge
   Dependency count: 5
       Dependencies: conda-smithy, shellcheck, conda-build, conda-forge-ci-setup, rattler-build
   Target platforms: win-64, osx-64, linux-64, linux-ppc64le, linux-aarch64
    Prefix location: /home/feickert/Code/GitHub/conda-forge/hep-packaging-coordination/oneloop-feedstock/.pixi/envs/smithy
              Tasks: build-osx_64_, inspect-osx_arm64_, build-linux_64_, inspect-all, build-linux_ppc64le_, build-linux_aarch64_, inspect-linux_64_, build-osx_arm64_, inspect-linux_aarch64_, build, inspect-linux_ppc64le_, inspect-osx_64_, lint, smithy, rerender, build-locally

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions