chore: bump rattler#6326
Open
baszalmstra wants to merge 3 commits into
Open
Conversation
Bump the rattler crates to their latest releases, taking minor/major version bumps in the workspace `Cargo.toml` and patch bumps via the lockfile, and move the pinned `rattler-build` git revision to the latest `main`. The new ecosystem crosses two breaking boundaries that require code changes across the workspace: - chrono -> jiff for all timestamps (`PackageRecord.timestamp` is now `TimestampMs`, `rattler_solve::ExcludeNewer` and rattler-build `Directories` take `jiff::Timestamp`). - digest 0.10 -> 0.11: `GenericArray` is now `hybrid_array::Array`, which no longer implements `LowerHex` or `io::Write`, so hashes are formatted with `hex::encode`, file hashing uses `HashingWriter`, and the workspace `digest` dependency is bumped to 0.11. Also adapts to renamed rattler_conda_types fields (`experimental_extra_depends` -> `extra_depends`, `experimental_v3` -> `v3`, `with_experimental_conditionals` -> `with_conditionals`) and the `ChannelInfo`/`RepoData` shape changes. Because `rattler 0.44` pins `rattler_shell =0.27.6` -> `sysinfo 0.39`, the toolchain is bumped to 1.95.0.
The ExcludeNewerMismatch error now renders timestamps via jiff (RFC 3339, e.g. 2025-11-05T00:00:00Z) instead of chrono's '2025-11-05 00:00:00 UTC' format.
da64715 to
15438c8
Compare
Converting the chrono cutoff to jiff via from_millisecond truncated sub-millisecond precision, so a relative (now-based) exclude-newer cutoff could land just before a nanosecond-precision reference timestamp, failing the 'cutoff >= before' assertions. Use Timestamp::new to keep full precision.
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Updates the
rattlerandrattler-buildcrates to their latest versions. Minor and major version bumps are applied inCargo.toml, while patch bumps are taken through the lockfile only. The pinnedrattler-buildgit revision is moved to the latestmain.Notable changes that came with the update:
jiffinstead ofchrono, matching the rattler ecosystem.digestrelease.Fixes #6308
Fixes #6310
How Has This Been Tested?
cargo check --workspace --all-targets,cargo clippy --all-targets --workspace -- -D warnings, andcargo fmtall pass. Affected snapshots were updated. The full integration test suite was not run locally and is left to CI.AI Disclosure
Tools: Claude Code
Checklist: