Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: pin backend versions #2963

Merged
merged 13 commits into from
Jan 22, 2025
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
2 changes: 0 additions & 2 deletions crates/pixi_build_frontend/tests/basic/.gitattributes

This file was deleted.

3 changes: 0 additions & 3 deletions crates/pixi_build_frontend/tests/basic/.gitignore

This file was deleted.

1 change: 0 additions & 1 deletion crates/pixi_build_frontend/tests/basic/pyproject.toml

This file was deleted.

8 changes: 4 additions & 4 deletions docs/source_files/pixi_projects/pixi_build_cpp/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 docs/source_files/pixi_projects/pixi_build_cpp/pixi.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ name = "python_bindings"
version = "0.1.0"

[package.build]
backend = { name = "pixi-build-cmake", version = "*" } # (5)!
backend = { name = "pixi-build-cmake", version = "0.1.*" } # (5)!

[package.host-dependencies]
cmake = "3.20.*" # (8)!
Expand Down

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

Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ name = "rich_example"
version = "0.1.0"

[package.build] # (5)!
backend = { name = "pixi-build-python", version = "*" }
backend = { name = "pixi-build-python", version = "0.1.*" }

[package.host-dependencies] # (6)!
hatchling = "==1.26.3"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ name = "python_bindings"
version = "0.1.0"

[package.build]
backend = { name = "pixi-build-cmake", version = "*" } # (5)!
backend = { name = "pixi-build-cmake", version = "0.1.*" } # (5)!

[package.host-dependencies]
cmake = "3.20.*" # (8)!
Expand Down
10 changes: 5 additions & 5 deletions docs/source_files/pixi_projects/pixi_build_workspace/pixi.lock

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

Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ name = "rich_example"
version = "0.1.0"

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

[package.host-dependencies]
hatchling = "==1.26.3"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ name = "python_bindings"
version = "0.1.0"

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

# --8<-- [start:host-dependencies]
[package.host-dependencies]
Expand Down

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

Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ name = "rich_example"
version = "0.1.0"

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

[package.host-dependencies]
hatchling = "==1.26.3"
Expand Down
2 changes: 1 addition & 1 deletion docs/source_files/pixi_tomls/dependency_types.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ name = "simple_cpp"
version = "0.1.0"

[package.build]
backend = { name = "pixi-build-cmake", version = "*" }
backend = { name = "pixi-build-cmake", version = "0.1.*" }
channels = [
"https://prefix.dev/pixi-build-backends",
"https://prefix.dev/conda-forge",
Expand Down
2 changes: 1 addition & 1 deletion docs/source_files/pixi_tomls/simple_pixi_build.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ version = "0.1.0"
# We are using `pixi-build-python` in order to build a Python package
# --8<-- [start:build-system]
[package.build]
backend = { name = "pixi-build-python", version = "*" }
backend = { name = "pixi-build-python", version = "0.1.*" }
channels = [
"https://prefix.dev/pixi-build-backends",
"https://prefix.dev/conda-forge",
Expand Down
2 changes: 1 addition & 1 deletion examples/pixi-build/boltons/pixi.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ version = "0.1.0"
hatchling = "*"

[package.build]
backend = { name = "pixi-build-rattler-build", version = "*" }
backend = { name = "pixi-build-rattler-build", version = "0.1.*" }
channels = [
"https://repo.prefix.dev/pixi-build-backends",
"https://fast.prefix.dev/conda-forge",
Expand Down
2 changes: 1 addition & 1 deletion examples/pixi-build/cpp-sdl/pixi.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ name = "sdl_example"
version = "0.1.0"

[package.build]
backend = { name = "pixi-build-cmake", version = "*" }
backend = { name = "pixi-build-cmake", version = "0.1.*" }
channels = [
"https://prefix.dev/pixi-build-backends",
"https://prefix.dev/conda-forge",
Expand Down
2 changes: 1 addition & 1 deletion schema/examples/valid/full.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ version = "0.1.0"

[package.build]
additional-dependencies = { git = "*" }
backend = { name = "pixi-build-python", version = "*" }
backend = { name = "pixi-build-python", version = "0.1.*" }
channels = [
"https://prefix.dev/pixi-build-backends",
"https://prefix.dev/conda-forge",
Expand Down
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 @@ -32,7 +32,7 @@ hatchling = "==1.26.3"
#
# The `build-backend` key also functions as a dependency declaration. At least
# a version specifier must be added.
backend = { name = "pixi-build-python", version = "*" }
backend = { name = "pixi-build-python", version = "0.1.*" }
# These are the conda channels that are used to resolve the dependencies of the
# build backend package.
channels = [
Expand Down
2 changes: 1 addition & 1 deletion tests/data/pixi_build/rattler-build-backend/pixi/pixi.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ smokey = { path = "." }
[package]

[package.build]
backend = { name = "pixi-build-rattler-build", version = "*" }
backend = { name = "pixi-build-rattler-build", version = "0.1.*" }
channels = [
"https://prefix.dev/pixi-build-backends",
"https://prefix.dev/conda-forge",
Expand Down
2 changes: 1 addition & 1 deletion tests/data/pixi_build/rich_example/pixi.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ name = "rich_example"
version = "0.1.0"

[package.build] # (5)!
backend = { name = "pixi-build-python", version = "*" }
backend = { name = "pixi-build-python", version = "0.1.*" }
channels = [
"https://prefix.dev/pixi-build-backends",
"https://prefix.dev/conda-forge",
Expand Down
2 changes: 1 addition & 1 deletion tests/data/pixi_build/simple-pyproject/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ hatchling = "==1.26.3"
#
# The `backend` key also functions as a dependency declaration. At least
# a version specifier must be added.
backend = { name = "pixi-build-python", version = "*" }
backend = { name = "pixi-build-python", version = "0.1.*" }
# These are the conda channels that are used to resolve the dependencies of the
# build backend package.
channels = [
Expand Down
Loading