Skip to content

v0.4.0

Compare
Choose a tag to compare
@baszalmstra baszalmstra released this 23 Jun 12:57
· 703 commits to main since this release

Highlights

A new algorithm was introduced to sort PackageRecords in a topological order based on their dependencies.
Sorting in this way provides a deterministic way of sorting packages in the order in which they should be installed to avoid clobbering.
The original algorithm was extracted from rattler-server.

Experimental extensions to the conda lock file format have also been introduced to make it possible to completely reproduce the original RepoDataRecords from a lock file.

Fixes were made to the MatchSpec and Version implementation to catch some corner cases and detecting the current shell has become more robust.

Details

Added

  • PackageRecord::sort_topologically to perform a topological sort of PackageRecords (#218)
  • Experimental fields to be able to reconstruct RepoDataRecord from conda lock files. (#221)
  • Methods to manipulate Versions (#229)

Changed

  • Refactored shell detection code using $SHELL or parent process name (#219)
  • The error message that is thrown when parsing a Platform now includes possible options (#222)
  • Completely refactored Version implementation to reduce memory footprint and increase readability (#227)

Fixed

  • Issue with parsing matchspecs that contain epochs (#220)
  • Zsh activation scripts invoke .sh scripts (#223)
  • Detect the proper powershell parent process (#224)