-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This completely refactors the lock-file implementation in `rattler-lock` significantly changing the format. Old lock-files can still be read by the current implementation. The goal of the refactor is to allow multiple environments to be stored in the lock-file as well as significantly simplifying the format itself. See the top-level crate documentation for more information about the design and considerations. @ruben-arts I also added behavior to write packages non-alphabetic but in a more "human-readable" friendly style. > [!NOTE] > This significantly deviates from our previous implementation loosely based on conda-lock. > The code is still able to parse `conda-lock.yml` files! Its just not able to output a compatible conda-lock file. > Note that this has already been the case for a long time but the differences didn't used to be so big. > [!IMPORTANT] > This PR is still in previous because I want to first test out the API in Pixi. Nonetheless, reviews are already welcome! > > I also realize this is a huge change, Id be happy to walk anyone through the code on discord! Closes #465
- Loading branch information
1 parent
dbbd11b
commit 0e03603
Showing
51 changed files
with
252,492 additions
and
22,959 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 0 additions & 1 deletion
1
...pes/src/repo_data/snapshots/rattler_conda_types__repo_data__test__serialize_packages.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
--- | ||
source: crates/rattler_conda_types/src/repo_data/mod.rs | ||
assertion_line: 448 | ||
expression: repodata | ||
--- | ||
info: | ||
|
1 change: 0 additions & 1 deletion
1
...napshots/rattler_conda_types__prefix_record__test__requests-2_28_2-pyhd8ed1ab_0_json.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 0 additions & 1 deletion
1
...napshots/rattler_conda_types__prefix_record__test__urllib3-1_26_14-pyhd8ed1ab_0_json.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 0 additions & 1 deletion
1
...pes/src/snapshots/rattler_conda_types__prefix_record__test__xz-5_2_6-h8d14728_0_json.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.