Skip to content
This repository was archived by the owner on Jan 20, 2026. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 16 additions & 16 deletions tests/data/pixi_build/cpp-with-path-to-source/pixi.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions tests/data/pixi_build/cpp-with-path-to-source/pixi.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,12 @@ version = "0.1.0"
source.path = "project"

[package.build.backend]
name = "pixi-build-cmake"
version = "0.3.*"
channels = [
"https://prefix.dev/pixi-build-backends",
"https://prefix.dev/conda-forge",
]
name = "pixi-build-cmake"
version = "*"

[package.host-dependencies]
# This ensures that SDL2 is available at build time.
Expand Down
7 changes: 4 additions & 3 deletions tests/data/pixi_build/editable-pyproject/pixi.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion tests/data/pixi_build/editable-pyproject/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ hatchling = "==1.26.3"
# the package that provides the build backend and the name of the executable
# inside the package that is invoked.
name = "pixi-build-python"
version = "0.1.*"
version = "*"
# These are the conda channels that are used to resolve the dependencies of the
# build backend package.
channels = [
Expand Down
14 changes: 8 additions & 6 deletions tests/data/pixi_build/env-config-cmake-test/pixi.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
[workspace]
channels = [
"https://prefix.dev/pixi-build-backends",
"https://prefix.dev/conda-forge",
]
channels = ["https://prefix.dev/conda-forge"]
platforms = ["osx-arm64", "osx-64", "linux-64", "win-64"]
preview = ["pixi-build"]

Expand All @@ -13,8 +10,13 @@ env-test-cmake-app = { path = "." }
name = "env-test-cmake-app"
version = "0.1.0"

[package.build]
backend = { name = "pixi-build-cmake", version = "*" }
[package.build.backend]
channels = [
"https://prefix.dev/pixi-build-backends",
"https://prefix.dev/conda-forge",
]
name = "pixi-build-cmake"
version = "*"

[package.build.config]
env = { CUSTOM_BUILD_VAR = "test_value", PIXI_TEST_ENV = "pixi_cmake_test", BUILD_MESSAGE = "hello_from_env" }
14 changes: 8 additions & 6 deletions tests/data/pixi_build/env-config-invalid-test/pixi.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
[workspace]
channels = [
"https://prefix.dev/pixi-build-backends",
"https://prefix.dev/conda-forge",
]
channels = ["https://prefix.dev/conda-forge"]
platforms = ["osx-arm64", "osx-64", "linux-64", "win-64"]
preview = ["pixi-build"]

Expand All @@ -13,8 +10,13 @@ env-invalid-test-cmake-app = { path = "." }
name = "env-invalid-test-cmake-app"
version = "0.1.0"

[package.build]
backend = { name = "pixi-build-cmake", version = "*" }
[package.build.backend]
channels = [
"https://prefix.dev/pixi-build-backends",
"https://prefix.dev/conda-forge",
]
name = "pixi-build-cmake"
version = "*"

[package.build.config]
invalid_config_key = "this_should_fail"
14 changes: 8 additions & 6 deletions tests/data/pixi_build/env-config-target-cmake-test/pixi.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
[workspace]
channels = [
"https://prefix.dev/pixi-build-backends",
"https://prefix.dev/conda-forge",
]
channels = ["https://prefix.dev/conda-forge"]
platforms = ["osx-arm64", "osx-64", "linux-64", "win-64"]
preview = ["pixi-build"]

Expand All @@ -13,8 +10,13 @@ env-target-test-cmake-app = { path = "." }
name = "env-target-test-cmake-app"
version = "0.1.0"

[package.build]
backend = { name = "pixi-build-cmake", version = "*" }
[package.build.backend]
channels = [
"https://prefix.dev/pixi-build-backends",
"https://prefix.dev/conda-forge",
]
name = "pixi-build-cmake"
version = "*"

[package.build.config]
env = { GLOBAL_ENV_VAR = "global_value" }
Expand Down
14 changes: 8 additions & 6 deletions tests/data/pixi_build/env-config-target-invalid-test/pixi.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
[workspace]
channels = [
"https://prefix.dev/pixi-build-backends",
"https://prefix.dev/conda-forge",
]
channels = ["https://prefix.dev/conda-forge"]
platforms = ["osx-arm64", "osx-64", "linux-64", "win-64"]
preview = ["pixi-build"]

Expand All @@ -13,8 +10,13 @@ env-target-invalid-test-cmake-app = { path = "." }
name = "env-target-invalid-test-cmake-app"
version = "0.1.0"

[package.build]
backend = { name = "pixi-build-cmake", version = "*" }
[package.build.backend]
channels = [
"https://prefix.dev/pixi-build-backends",
"https://prefix.dev/conda-forge",
]
name = "pixi-build-cmake"
version = "*"

[package.build.target.unix.config]
invalid_target_config_key = "this_should_also_fail"
17 changes: 8 additions & 9 deletions tests/data/pixi_build/log-example/failing/pixi.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 8 additions & 6 deletions tests/data/pixi_build/log-example/failing/pixi.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
[workspace]
channels = [
"https://prefix.dev/pixi-build-backends",
"https://prefix.dev/conda-forge",
]
channels = ["https://prefix.dev/conda-forge"]
platforms = ["osx-arm64", "osx-64", "linux-64", "win-64"]
preview = ["pixi-build"]

Expand All @@ -16,5 +13,10 @@ start = "simple-app"
name = "simple-app"
version = "0.1.0"

[package.build]
backend = { name = "pixi-build-rattler-build", version = "*" }
[package.build.backend]
channels = [
"https://prefix.dev/pixi-build-backends",
"https://prefix.dev/conda-forge",
]
name = "pixi-build-rattler-build"
version = "*"
17 changes: 8 additions & 9 deletions tests/data/pixi_build/log-example/working/pixi.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 8 additions & 6 deletions tests/data/pixi_build/log-example/working/pixi.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
[workspace]
channels = [
"https://prefix.dev/pixi-build-backends",
"https://prefix.dev/conda-forge",
]
channels = ["https://prefix.dev/conda-forge"]
platforms = ["osx-arm64", "osx-64", "linux-64", "win-64"]
preview = ["pixi-build"]

Expand All @@ -16,5 +13,10 @@ start = "simple-app"
name = "simple-app"
version = "0.1.0"

[package.build]
backend = { name = "pixi-build-rattler-build", version = "*" }
[package.build.backend]
channels = [
"https://prefix.dev/pixi-build-backends",
"https://prefix.dev/conda-forge",
]
name = "pixi-build-rattler-build"
version = "*"
9 changes: 5 additions & 4 deletions tests/data/pixi_build/maturin/pixi.toml
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
[workspace]
authors = ["Julian Hofer <julianhofer@gnome.org>"]
channels = [
"https://prefix.dev/pixi-build-backends",
"https://prefix.dev/conda-forge",
]
channels = ["https://prefix.dev/conda-forge"]
platforms = ["linux-64", "osx-arm64", "win-64"]
preview = ["pixi-build"]

Expand All @@ -19,6 +16,10 @@ name = "fast_math"
version = "0.1.0"

[package.build.backend]
channels = [
"https://prefix.dev/pixi-build-backends",
"https://prefix.dev/conda-forge",
]
name = "pixi-build-python"
version = "*"

Expand Down
Loading
Loading