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:
@@ -16,8 +16,8 @@ use uv_build_frontend::{SourceBuild, SourceBuildContext};
|
||||
use uv_cache::Cache;
|
||||
use uv_client::RegistryClient;
|
||||
use uv_configuration::{
|
||||
BuildKind, BuildOptions, ConfigSettings, Constraints, IndexStrategy, LowerBound, PreviewMode,
|
||||
Reinstall, SourceStrategy,
|
||||
BuildKind, BuildOptions, ConfigSettings, Constraints, IndexStrategy, PreviewMode, Reinstall,
|
||||
SourceStrategy,
|
||||
};
|
||||
use uv_configuration::{BuildOutput, Concurrency};
|
||||
use uv_distribution::DistributionDatabase;
|
||||
@@ -93,7 +93,7 @@ pub struct BuildDispatch<'a> {
|
||||
exclude_newer: Option<ExcludeNewer>,
|
||||
source_build_context: SourceBuildContext,
|
||||
build_extra_env_vars: FxHashMap<OsString, OsString>,
|
||||
bounds: LowerBound,
|
||||
|
||||
sources: SourceStrategy,
|
||||
concurrency: Concurrency,
|
||||
preview: PreviewMode,
|
||||
@@ -116,7 +116,6 @@ impl<'a> BuildDispatch<'a> {
|
||||
build_options: &'a BuildOptions,
|
||||
hasher: &'a HashStrategy,
|
||||
exclude_newer: Option<ExcludeNewer>,
|
||||
bounds: LowerBound,
|
||||
sources: SourceStrategy,
|
||||
concurrency: Concurrency,
|
||||
preview: PreviewMode,
|
||||
@@ -139,7 +138,7 @@ impl<'a> BuildDispatch<'a> {
|
||||
exclude_newer,
|
||||
source_build_context: SourceBuildContext::default(),
|
||||
build_extra_env_vars: FxHashMap::default(),
|
||||
bounds,
|
||||
|
||||
sources,
|
||||
concurrency,
|
||||
preview,
|
||||
@@ -194,10 +193,6 @@ impl BuildContext for BuildDispatch<'_> {
|
||||
self.config_settings
|
||||
}
|
||||
|
||||
fn bounds(&self) -> LowerBound {
|
||||
self.bounds
|
||||
}
|
||||
|
||||
fn sources(&self) -> SourceStrategy {
|
||||
self.sources
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user