Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
1973dda
wip: support requesting all dependencies of an output
baszalmstra Oct 10, 2025
490601a
test: add an in-memory integration test
baszalmstra Oct 10, 2025
9c18379
wip: return pixi specs
baszalmstra Oct 10, 2025
7718c26
test: add missing test files
baszalmstra Oct 10, 2025
34da2b9
wip: expand dev sources
baszalmstra Oct 10, 2025
ac81140
wip: extend dependencymap
baszalmstra Oct 10, 2025
79db792
test: add test for expand_dev_sources
baszalmstra Oct 10, 2025
48ecd0b
wip: parsing of the develop section
baszalmstra Oct 10, 2025
d7ab551
wip: initial integration in pixi
baszalmstra Oct 10, 2025
4546f40
wip: fix early outs
baszalmstra Oct 11, 2025
bfd4c74
fix: relative source packages
baszalmstra Oct 13, 2025
e9ee5e9
test: develop feature
baszalmstra Oct 13, 2025
9b61804
test: develop feature
baszalmstra Oct 13, 2025
f0c40a9
update schema and add example
baszalmstra Oct 13, 2025
126c753
fmt: model.py
baszalmstra Oct 13, 2025
5851916
perf: run expand_dev_sources concurrently
baszalmstra Oct 14, 2025
bee167d
fix: tests and cleanup code
baszalmstra Oct 14, 2025
b660f5e
Add dev dependencies
Hofer-Julian Oct 15, 2025
c312f5f
Reverse feature order
Hofer-Julian Oct 16, 2025
c6efec5
Revert "Add dev dependencies"
Hofer-Julian Oct 16, 2025
b494101
wip: add dev-source-metadata
baszalmstra Oct 16, 2025
997e386
wip: resolve dev sources
baszalmstra Oct 16, 2025
766555b
wip: support outputs for develop feature
baszalmstra Oct 16, 2025
fb35784
wip: also works with variants
baszalmstra Oct 16, 2025
f8ca9bb
Merge remote-tracking branch 'upstream/main' into
baszalmstra Oct 17, 2025
b5b951f
fix: add missing variant_files field in dev source metadata test
baszalmstra Oct 17, 2025
3cc78ec
fix: add missing variant_files field in variant test
baszalmstra Oct 17, 2025
923e3fb
fix: resolve pre-existing clippy warnings
baszalmstra Oct 17, 2025
fb9999d
add pixi package to pixi itself
ruben-arts Oct 17, 2025
96e6f8c
Merge branch 'main' into bas/wip/develop-dependencies
ruben-arts Oct 21, 2025
6277aaa
fix: pixi build pixi
ruben-arts Oct 21, 2025
674033f
fix: self build
ruben-arts Oct 21, 2025
a294b7e
Merge branch 'main' into bas/wip/develop-dependencies
ruben-arts Oct 22, 2025
00cb692
Rename "develop" to "dev" everywhere
remimimimimi Oct 22, 2025
20a30c4
Bump lockfile
remimimimimi Oct 22, 2025
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 Cargo.lock

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

59 changes: 59 additions & 0 deletions crates/pixi/tests/integration_rust/build_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -340,3 +340,62 @@ my-package = {{ path = "./my-package" }}
"my-package",
));
}

/// Test that verifies the build command can accept a path to a recipe.yaml file
/// via the --build-manifest argument
#[tokio::test]
async fn test_build_command_with_recipe_yaml_path() {
setup_tracing();

let pixi = PixiControl::new().unwrap();

// Create a separate directory with a recipe.yaml
let recipe_dir = pixi.workspace_path().join("my-recipe");
fs::create_dir_all(&recipe_dir).unwrap();

let recipe_content = r#"
package:
name: test-package-from-recipe
version: 0.1.0

build:
number: 0
noarch: generic

about:
summary: Test package built from recipe.yaml
"#;
let recipe_path = recipe_dir.join("recipe.yaml");
fs::write(&recipe_path, recipe_content).unwrap();

// Create a workspace manifest (pixi.toml) for workspace configuration
let manifest_content = format!(
r#"
[workspace]
channels = ["conda-forge"]
platforms = ["{}"]
preview = ["pixi-build"]
"#,
Platform::current()
);

fs::write(pixi.manifest_path(), manifest_content).unwrap();

// Verify that the recipe.yaml file exists and is readable
assert!(
recipe_path.exists(),
"recipe.yaml should exist at the expected path"
);

assert!(
recipe_path.is_file(),
"recipe.yaml should be a file, not a directory"
);

// Verify the content can be read
let content = fs::read_to_string(&recipe_path).unwrap();
assert!(
content.contains("test-package-from-recipe"),
"recipe.yaml should contain the package name"
);
}
4 changes: 2 additions & 2 deletions crates/pixi/tests/integration_rust/common/package_database.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ use itertools::Itertools;
use miette::IntoDiagnostic;
use rattler_conda_types::{
ChannelInfo, PackageName, PackageRecord, PackageUrl, Platform, RepoData, VersionWithSource,
package::ArchiveType,
package::{ArchiveType, RunExportsJson},
};
use std::{collections::HashSet, path::Path};
use tempfile::TempDir;
Expand Down Expand Up @@ -294,7 +294,7 @@ impl PackageBuilder {
track_features: vec![],
version: self.version,
purls: self.purls,
run_exports: None,
run_exports: Some(RunExportsJson::default()),
python_site_packages_path: None,
experimental_extra_depends: Default::default(),
},
Expand Down
Loading
Loading