Skip to content
Closed
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: 2 additions & 0 deletions src/install_pypi/plan/planner.rs
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ impl InstallPlanner {
let installer = dist
.installer()
.map_or(String::new(), |f| f.unwrap_or_default());
tracing::error!("{}:{}", dist.name(), installer);

match pkg {
// Apparently we need this packages
Expand All @@ -129,6 +130,7 @@ impl InstallPlanner {
}
// Uninstall unneeded packages
None => {
tracing::error!("Pushing: {}", dist.name());
extraneous.push(dist.clone());
}
}
Expand Down
2 changes: 2 additions & 0 deletions tests/data/installation-order/.gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# SCM syntax highlighting & preventing 3-way merges
pixi.lock merge=binary linguist-language=YAML linguist-generated=true
4 changes: 4 additions & 0 deletions tests/data/installation-order/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@

# pixi environments
.pixi
*.egg-info
2 changes: 2 additions & 0 deletions tests/data/installation-order/foobar/.gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# SCM syntax highlighting & preventing 3-way merges
pixi.lock merge=binary linguist-language=YAML linguist-generated=true
4 changes: 4 additions & 0 deletions tests/data/installation-order/foobar/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@

# pixi environments
.pixi
*.egg-info
Binary file not shown.
185 changes: 185 additions & 0 deletions tests/data/installation-order/foobar/pixi.lock

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

26 changes: 26 additions & 0 deletions tests/data/installation-order/foobar/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Run `pixi build` to regenerate the conda file if needed
[project]
authors = [{ name = "Tim de Jager", email = "tim@prefix.dev" }]
dependencies = []
name = "foobar"
requires-python = ">= 3.11"
version = "0.1.0"

[build-system]
build-backend = "hatchling.build"
requires = ["hatchling"]

[tool.pixi.workspace]
channels = ["https://prefix.dev/conda-forge"]
platforms = ["osx-arm64"]
preview = ["pixi-build"]

[tool.pixi.package]
name = "foobar"
version = "0.1.0"

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

[tool.pixi.package.host-dependencies]
hatchling = "==1.26.3"
Empty file.
Empty file.
Empty file.
2 changes: 2 additions & 0 deletions tests/data/installation-order/foobar_whl/.gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# SCM syntax highlighting & preventing 3-way merges
pixi.lock merge=binary linguist-language=YAML linguist-generated=true
4 changes: 4 additions & 0 deletions tests/data/installation-order/foobar_whl/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@

# pixi environments
.pixi
*.egg-info
Binary file not shown.
Loading
Loading