Skip to content

Require fs-err 3.2.2 (for File::set_modified)#17718

Merged
konstin merged 1 commit intoastral-sh:mainfrom
musicinmybrain:fs-err-3.2.2
Jan 27, 2026
Merged

Require fs-err 3.2.2 (for File::set_modified)#17718
konstin merged 1 commit intoastral-sh:mainfrom
musicinmybrain:fs-err-3.2.2

Conversation

@musicinmybrain
Copy link
Contributor

Summary

Update the fs-err dependency to 3.2.2, because uv uses File::set_modified in

if let Err(err) = dir.set_modified(now) {

and this API was added in 3.2.2.

Version 3.2.2 was already in Cargo.lock, but I ran cargo update fs-error and it made two small changes anyway.

Test Plan

There’s not much to test, as this just increases the minimum version. You can verify the original problem by checking out main and running

$ cargo update fs-err --precise 3.2.1
$ cargo build

to see the error

error[E0599]: no method named `set_modified` found for struct `fs_err::File` in the current scope
   --> crates/uv-install-wheel/src/linker.rs:337:35
    |
337 |             if let Err(err) = dir.set_modified(now) {
    |                                   ^^^^^^^^^^^^ method not found in `fs_err::File`

@konstin konstin added the internal A refactor or improvement that is not user-facing label Jan 27, 2026
@konstin konstin enabled auto-merge (squash) January 27, 2026 12:22
@konstin konstin merged commit e007d3f into astral-sh:main Jan 27, 2026
76 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

internal A refactor or improvement that is not user-facing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants