mirror of
https://github.com/astral-sh/uv.git
synced 2025-08-04 19:08:04 +00:00
Remove warnings for missing lower bounds (#11195)
These are noisy relative to the effect they have on the user. It seems better to prioritize hints on poor resolutions. Notably, it seems hard to make these "not noisy" ref #11091. Does not include the "lowest" resolution mode, in which lower bounds are critical.
This commit is contained in:
parent
efbc77bc37
commit
dd7cd2e86a
30 changed files with 49 additions and 185 deletions
|
@ -7,9 +7,7 @@ use anyhow::Result;
|
|||
use rustc_hash::FxHashSet;
|
||||
|
||||
use uv_cache::Cache;
|
||||
use uv_configuration::{
|
||||
BuildKind, BuildOptions, BuildOutput, ConfigSettings, LowerBound, SourceStrategy,
|
||||
};
|
||||
use uv_configuration::{BuildKind, BuildOptions, BuildOutput, ConfigSettings, SourceStrategy};
|
||||
use uv_distribution_filename::DistFilename;
|
||||
use uv_distribution_types::{
|
||||
CachedDist, DependencyMetadata, DistributionId, IndexCapabilities, IndexLocations,
|
||||
|
@ -84,9 +82,6 @@ pub trait BuildContext {
|
|||
/// The [`ConfigSettings`] used to build distributions.
|
||||
fn config_settings(&self) -> &ConfigSettings;
|
||||
|
||||
/// Whether to warn on missing lower bounds.
|
||||
fn bounds(&self) -> LowerBound;
|
||||
|
||||
/// Whether to incorporate `tool.uv.sources` when resolving requirements.
|
||||
fn sources(&self) -> SourceStrategy;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue