Rename uv-build to uv-build-frontend (#7688)

uv will soon support both a build frontend (`uv build`) and a build
backend (`build-system = "uv"`). To avoid the name clash, I'm renaming
the `uv-build` crate to `uv-build-frontend`. In a follow-up PR, I will
add a `uv-build-backend` crate with the build backend implementation.
This commit is contained in:
konsti 2024-09-25 20:17:54 +02:00 committed by GitHub
parent 106633a5e5
commit 9004364de3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 8 additions and 8 deletions

4
Cargo.lock generated
View file

@ -4560,7 +4560,7 @@ dependencies = [
] ]
[[package]] [[package]]
name = "uv-build" name = "uv-build-frontend"
version = "0.0.1" version = "0.0.1"
dependencies = [ dependencies = [
"anstream", "anstream",
@ -4779,7 +4779,7 @@ dependencies = [
"pypi-types", "pypi-types",
"rustc-hash", "rustc-hash",
"tracing", "tracing",
"uv-build", "uv-build-frontend",
"uv-cache", "uv-cache",
"uv-client", "uv-client",
"uv-configuration", "uv-configuration",

View file

@ -32,7 +32,7 @@ platform-tags = { path = "crates/platform-tags" }
pypi-types = { path = "crates/pypi-types" } pypi-types = { path = "crates/pypi-types" }
requirements-txt = { path = "crates/requirements-txt" } requirements-txt = { path = "crates/requirements-txt" }
uv-auth = { path = "crates/uv-auth" } uv-auth = { path = "crates/uv-auth" }
uv-build = { path = "crates/uv-build" } uv-build-frontend = { path = "crates/uv-build-frontend" }
uv-cache = { path = "crates/uv-cache" } uv-cache = { path = "crates/uv-cache" }
uv-cache-info = { path = "crates/uv-cache-info" } uv-cache-info = { path = "crates/uv-cache-info" }
uv-cli = { path = "crates/uv-cli" } uv-cli = { path = "crates/uv-cli" }

View file

@ -48,7 +48,7 @@ Functionality for parsing and inferring Python platform tags as per
Command-line interface for the uv package manager. Command-line interface for the uv package manager.
## [uv-build](./uv-build) ## [uv-build-frontend](./uv-build-frontend)
A [PEP 517](https://www.python.org/dev/peps/pep-0517/)-compatible build frontend for uv. A [PEP 517](https://www.python.org/dev/peps/pep-0517/)-compatible build frontend for uv.

View file

@ -1,5 +1,5 @@
[package] [package]
name = "uv-build" name = "uv-build-frontend"
version = "0.0.1" version = "0.0.1"
description = "Build wheels from source distributions" description = "Build wheels from source distributions"
edition = { workspace = true } edition = { workspace = true }

View file

@ -17,7 +17,7 @@ workspace = true
distribution-types = { workspace = true } distribution-types = { workspace = true }
install-wheel-rs = { workspace = true } install-wheel-rs = { workspace = true }
pypi-types = { workspace = true } pypi-types = { workspace = true }
uv-build = { workspace = true } uv-build-frontend = { workspace = true }
uv-cache = { workspace = true } uv-cache = { workspace = true }
uv-client = { workspace = true } uv-client = { workspace = true }
uv-configuration = { workspace = true } uv-configuration = { workspace = true }

View file

@ -16,7 +16,7 @@ use distribution_types::{
SourceDist, VersionOrUrlRef, SourceDist, VersionOrUrlRef,
}; };
use pypi_types::Requirement; use pypi_types::Requirement;
use uv_build::{SourceBuild, SourceBuildContext}; use uv_build_frontend::{SourceBuild, SourceBuildContext};
use uv_cache::Cache; use uv_cache::Cache;
use uv_client::RegistryClient; use uv_client::RegistryClient;
use uv_configuration::{ use uv_configuration::{

View file

@ -49,7 +49,7 @@ use uv_python::PythonEnvironment;
/// ``` /// ```
/// ///
/// Put in a different way, the types here allow `uv-resolver` to depend on `uv-build` and /// Put in a different way, the types here allow `uv-resolver` to depend on `uv-build` and
/// `uv-build` to depend on `uv-resolver` without having actual crate dependencies between /// `uv-build-frontend` to depend on `uv-resolver` without having actual crate dependencies between
/// them. /// them.
pub trait BuildContext { pub trait BuildContext {
type SourceDistBuilder: SourceBuildTrait; type SourceDistBuilder: SourceBuildTrait;