mirror of
https://github.com/astral-sh/uv.git
synced 2025-08-04 19:08:04 +00:00
Rename uv-interpreter
crate to uv-toolchain
(#4120)
In preparation for managed toolchains #2607, just renames the crate to something broader. See #4121 and https://github.com/astral-sh/uv/pull/4138 to see the final intent.
This commit is contained in:
parent
2803a8c475
commit
325982c418
78 changed files with 117 additions and 117 deletions
|
@ -20,7 +20,7 @@ workspace = true
|
|||
platform-tags = { workspace = true }
|
||||
pypi-types = { workspace = true }
|
||||
uv-fs = { workspace = true }
|
||||
uv-interpreter = { workspace = true }
|
||||
uv-toolchain = { workspace = true }
|
||||
uv-version = { workspace = true }
|
||||
|
||||
fs-err = { workspace = true }
|
||||
|
|
|
@ -13,7 +13,7 @@ use tracing::info;
|
|||
|
||||
use pypi_types::Scheme;
|
||||
use uv_fs::{cachedir, Simplified};
|
||||
use uv_interpreter::{Interpreter, VirtualEnvironment};
|
||||
use uv_toolchain::{Interpreter, VirtualEnvironment};
|
||||
use uv_version::version;
|
||||
|
||||
use crate::{Error, Prompt};
|
||||
|
|
|
@ -4,7 +4,7 @@ use std::path::Path;
|
|||
use thiserror::Error;
|
||||
|
||||
use platform_tags::PlatformError;
|
||||
use uv_interpreter::{Interpreter, PythonEnvironment};
|
||||
use uv_toolchain::{Interpreter, PythonEnvironment};
|
||||
|
||||
pub use crate::bare::create_bare_venv;
|
||||
|
||||
|
@ -15,9 +15,9 @@ pub enum Error {
|
|||
#[error(transparent)]
|
||||
IO(#[from] io::Error),
|
||||
#[error("Failed to determine Python interpreter to use")]
|
||||
Discovery(#[from] uv_interpreter::DiscoveryError),
|
||||
Discovery(#[from] uv_toolchain::DiscoveryError),
|
||||
#[error("Failed to determine Python interpreter to use")]
|
||||
InterpreterNotFound(#[from] uv_interpreter::InterpreterNotFound),
|
||||
InterpreterNotFound(#[from] uv_toolchain::InterpreterNotFound),
|
||||
#[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