Rename gourgeist to uv-virtualenv (#2118)

As agreed on Discord!
This commit is contained in:
Charlie Marsh 2024-03-01 14:02:40 -05:00 committed by GitHub
parent b818199403
commit 59c7a10c4b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
35 changed files with 65 additions and 184 deletions

View file

@ -15,14 +15,14 @@ workspace = true
[dependencies]
distribution-types = { path = "../distribution-types" }
gourgeist = { path = "../gourgeist" }
pep508_rs = { path = "../pep508-rs" }
platform-host = { path = "../platform-host" }
pypi-types = { path = "../pypi-types" }
uv-extract = { path = "../uv-extract" }
uv-fs = { path = "../uv-fs" }
uv-interpreter = { path = "../uv-interpreter" }
uv-traits = { path = "../uv-traits", features = ["serde"] }
pypi-types = { path = "../pypi-types" }
uv-virtualenv = { path = "../uv-virtualenv" }
anyhow = { workspace = true }
fs-err = { workspace = true }

View file

@ -75,7 +75,7 @@ pub enum Error {
#[error("Source distribution not found at: {0}")]
NotFound(PathBuf),
#[error("Failed to create temporary virtualenv")]
Gourgeist(#[from] gourgeist::Error),
Virtualenv(#[from] uv_virtualenv::Error),
#[error("Failed to run {0}")]
CommandFailed(PathBuf, #[source] io::Error),
#[error("{message}:\n--- stdout:\n{stdout}\n--- stderr:\n{stderr}\n---")]
@ -398,10 +398,10 @@ impl SourceBuild {
let pep517_backend = Self::get_pep517_backend(setup_py, &source_tree, &default_backend)
.map_err(|err| *err)?;
let venv = gourgeist::create_venv(
let venv = uv_virtualenv::create_venv(
&temp_dir.path().join(".venv"),
interpreter.clone(),
gourgeist::Prompt::None,
uv_virtualenv::Prompt::None,
false,
Vec::new(),
)?;