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

@ -27,10 +27,11 @@ use platform_tags::Tags;
use pypi_types::Metadata23;
pub(crate) use urls::Urls;
use uv_client::{FlatIndex, RegistryClient};
use uv_configuration::{Constraints, Overrides};
use uv_distribution::DistributionDatabase;
use uv_interpreter::Interpreter;
use uv_normalize::PackageName;
use uv_types::{BuildContext, Constraints, InstalledPackagesProvider, Overrides};
use uv_types::{BuildContext, InstalledPackagesProvider};
use crate::candidate_selector::{CandidateDist, CandidateSelector};
use crate::editables::Editables;