- Sponsor
-
Notifications
You must be signed in to change notification settings - Fork 278
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Loading status checks…
check the install backend version to give more informative error mess…
…ages (#2389) since version 0.4.25, `uv pip show --files` is supported and can be used to set the package installed by `maturin develop` as editable without having to fallback to using `pip`. However several users are using old versions of `uv` and it would be better if the error message was clearer if an outdated uv is used. This has caused confusion in these issues: - #2388 - PyO3/maturin-import-hook#15 before: ``` ✏️ Setting installed package as editable 💥 maturin failed Caused by: failed to list package files ``` after: ``` ✏️ Setting installed package as editable⚠️ Warning: failed to set package as editable: uv >= 0.4.25 is required for `show --files`. Version 0.4.23 was found. 🛠 Installed $PACKAGE ``` (note that installation now proceeds if setting as editable fails)
Showing
1 changed file
with
55 additions
and
7 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