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

Commit
27 days ago
Require fs-err 3.2.2 (for `File::set_modified`) (#17718) <!-- Thank you for contributing to uv! To help us out with reviewing, please consider the following: - Does this pull request include a summary of the change? (See below.) - Does this pull request include a descriptive title? - Does this pull request include references to any relevant issues? --> ## Summary Update the `fs-err` dependency to 3.2.2, because `uv` uses `File::set_modified` in https://github.com/astral-sh/uv/blob/2183c3fe1b4b8e83ea284f7b8ffbdc736f40332e/crates/uv-install-wheel/src/linker.rs#L337 and this API was added [in 3.2.2](https://github.com/andrewhickman/fs-err/blob/3.2.2/CHANGELOG.md#322). <!-- What's the purpose of the change? What does it do, and why? --> 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 <!-- How was it tested? --> 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` ```
Parents
Loading