mirror of
https://github.com/astral-sh/uv.git
synced 2025-11-24 13:20:53 +00:00
Refactor development dependency configuration (#8309)
Part of #8090 Unblocks https://github.com/astral-sh/uv/pull/8274 Refactors `DevMode` and `DevSpecification` into a shared type `DevGroupsSpecification` that allows us to track if `--dev` was implicitly or explicitly provided.
This commit is contained in:
parent
fc2e79c6ce
commit
d2e1f180ef
11 changed files with 166 additions and 110 deletions
|
|
@ -15,7 +15,7 @@ use toml_edit::{value, Array, ArrayOfTables, InlineTable, Item, Table, Value};
|
|||
use url::Url;
|
||||
|
||||
use uv_cache_key::RepositoryUrl;
|
||||
use uv_configuration::{BuildOptions, DevSpecification, ExtrasSpecification, InstallOptions};
|
||||
use uv_configuration::{BuildOptions, DevGroupsSpecification, ExtrasSpecification, InstallOptions};
|
||||
use uv_distribution::DistributionDatabase;
|
||||
use uv_distribution_filename::{DistExtension, ExtensionError, SourceDistExtension, WheelFilename};
|
||||
use uv_distribution_types::{
|
||||
|
|
@ -580,7 +580,7 @@ impl Lock {
|
|||
marker_env: &ResolverMarkerEnvironment,
|
||||
tags: &Tags,
|
||||
extras: &ExtrasSpecification,
|
||||
dev: &DevSpecification,
|
||||
dev: &DevGroupsSpecification,
|
||||
build_options: &BuildOptions,
|
||||
install_options: &InstallOptions,
|
||||
) -> Result<Resolution, LockError> {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue