Split configuration options out of uv-types (#2924)

Needed to prevent circular dependencies in my toolchain work (#2931). I
think this is probably a reasonable change as we move towards persistent
configuration too?

Unfortunately `BuildIsolation` needs to be in `uv-types` to avoid
circular dependencies still. We might be able to resolve that in the
future.
This commit is contained in:
Zanie Blue 2024-04-09 11:35:53 -05:00 committed by GitHub
parent 90735660cb
commit 1512e07a2e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
50 changed files with 155 additions and 89 deletions

View file

@ -15,7 +15,7 @@ uv-auth = { workspace = true }
uv-cache = { workspace = true }
uv-fs = { workspace = true, features = ["tokio"] }
uv-normalize = { workspace = true }
uv-types = { workspace = true }
uv-configuration = { workspace = true }
uv-version = { workspace = true }
uv-warnings = { workspace = true }
pypi-types = { workspace = true }

View file

@ -19,8 +19,8 @@ use pep508_rs::VerbatimUrl;
use platform_tags::Tags;
use pypi_types::Hashes;
use uv_cache::{Cache, CacheBucket};
use uv_configuration::{NoBinary, NoBuild};
use uv_normalize::PackageName;
use uv_types::{NoBinary, NoBuild};
use crate::cached_client::{CacheControl, CachedClientError};
use crate::html::SimpleHtml;

View file

@ -22,8 +22,8 @@ use platform_tags::Platform;
use pypi_types::{Metadata23, SimpleJson};
use uv_auth::KeyringProvider;
use uv_cache::{Cache, CacheBucket, WheelCache};
use uv_configuration::IndexStrategy;
use uv_normalize::PackageName;
use uv_types::IndexStrategy;
use crate::base_client::{BaseClient, BaseClientBuilder};
use crate::cached_client::CacheControl;