Skip to content

Commit

Permalink
chore: bump resolvo 0.8.0 (#857)
Browse files Browse the repository at this point in the history
  • Loading branch information
baszalmstra committed Sep 9, 2024
1 parent d54fd4f commit 200f218
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ regex = "1.10.4"
reqwest = { version = "0.12.3", default-features = false }
reqwest-middleware = "0.3.0"
reqwest-retry = "0.6.0"
resolvo = { version = "0.7.0" }
resolvo = { version = "0.8.0" }
retry-policies = { version = "0.4.0", default-features = false }
rmp-serde = { version = "1.2.0" }
rstest = { version = "0.21.0" }
Expand Down
8 changes: 3 additions & 5 deletions crates/rattler_solve/src/resolvo/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -648,11 +648,9 @@ impl super::SolverImpl for Solver {
})
.collect();

let problem = Problem {
requirements: all_requirements,
constraints: root_constraints,
..Problem::default()
};
let problem = Problem::new()
.requirements(all_requirements)
.constraints(root_constraints);

// Construct a solver and solve the problems in the queue
let mut solver = LibSolvRsSolver::new(provider);
Expand Down

0 comments on commit 200f218

Please sign in to comment.