Skip to content
Discussion options

You must be logged in to vote

@Hofer-Julian very kindly helped me in the Discord 🙇

The answer is variants. You can check out this tutorial: https://pixi.prefix.dev/latest/build/variants/

So the working Pixi manifest is

[workspace]
channels = ["conda-forge"]
name = "example_pkg"
platforms = ["linux-64", "osx-arm64"]
version = "0.1.0"
preview = ["pixi-build"]

[workspace.build-variants]
python = ["3.10.*", "3.11.*", "3.12.*", "3.13.*", "3.14.*"]

[tasks]

[dependencies]
example_pkg = { path = "." }

[package]
name = "example_pkg"
version = "0.1.0"

[package.build]
backend = { name = "pixi-build-python", version = "0.4.*" }

# c.f. https://pixi.prefix.dev/latest/build/backends/pixi-build-python/#compilers
[package.build.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by matthewfeickert
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant