mirror of
https://github.com/astral-sh/uv.git
synced 2025-07-07 21:35:00 +00:00
Refactor uv-toolchain
types (#4121)
Extends #4120 Part of #2607 There should be no behavior changes here. Restructures the discovery API to be focused on a toolchain first perspective in preparation for exposing a `find_or_fetch` method for toolchains in https://github.com/astral-sh/uv/pull/4138.
This commit is contained in:
parent
325982c418
commit
53035d65a1
23 changed files with 777 additions and 746 deletions
|
@ -17,7 +17,7 @@ pub enum Error {
|
|||
#[error("Failed to determine Python interpreter to use")]
|
||||
Discovery(#[from] uv_toolchain::DiscoveryError),
|
||||
#[error("Failed to determine Python interpreter to use")]
|
||||
InterpreterNotFound(#[from] uv_toolchain::InterpreterNotFound),
|
||||
InterpreterNotFound(#[from] uv_toolchain::ToolchainNotFound),
|
||||
#[error(transparent)]
|
||||
Platform(#[from] PlatformError),
|
||||
#[error("Could not find a suitable Python executable for the virtual environment based on the interpreter: {0}")]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue