diff --git a/crates/uv/src/lib.rs b/crates/uv/src/lib.rs index b1c93744c..c12923123 100644 --- a/crates/uv/src/lib.rs +++ b/crates/uv/src/lib.rs @@ -28,7 +28,7 @@ use uv_cli::{ ProjectCommand, PythonCommand, PythonNamespace, SelfCommand, SelfNamespace, ToolCommand, ToolNamespace, TopLevelArgs, compat::CompatArgs, }; -use uv_configuration::{PreviewFeatures, min_stack_size}; +use uv_configuration::min_stack_size; use uv_fs::{CWD, Simplified}; #[cfg(feature = "self-update")] use uv_pep440::release_specifiers_to_ranges; @@ -443,16 +443,6 @@ async fn run(mut cli: Cli) -> Result { // Resolve the settings from the command-line arguments and workspace configuration. let args = PipCompileSettings::resolve(args, filesystem); show_settings!(args); - if !args.settings.extra_build_dependencies.is_empty() - && !globals - .preview - .is_enabled(PreviewFeatures::EXTRA_BUILD_DEPENDENCIES) - { - warn_user_once!( - "The `extra-build-dependencies` setting is experimental and may change without warning. Pass `--preview-features {}` to disable this warning.", - PreviewFeatures::EXTRA_BUILD_DEPENDENCIES - ); - } // Initialize the cache. let cache = cache.init()?.with_refresh( @@ -554,16 +544,6 @@ async fn run(mut cli: Cli) -> Result { // Resolve the settings from the command-line arguments and workspace configuration. let args = PipSyncSettings::resolve(args, filesystem); show_settings!(args); - if !args.settings.extra_build_dependencies.is_empty() - && !globals - .preview - .is_enabled(PreviewFeatures::EXTRA_BUILD_DEPENDENCIES) - { - warn_user_once!( - "The `extra-build-dependencies` setting is experimental and may change without warning. Pass `--preview-features {}` to disable this warning.", - PreviewFeatures::EXTRA_BUILD_DEPENDENCIES - ); - } // Initialize the cache. let cache = cache.init()?.with_refresh( @@ -643,16 +623,6 @@ async fn run(mut cli: Cli) -> Result { // Resolve the settings from the command-line arguments and workspace configuration. let mut args = PipInstallSettings::resolve(args, filesystem); show_settings!(args); - if !args.settings.extra_build_dependencies.is_empty() - && !globals - .preview - .is_enabled(PreviewFeatures::EXTRA_BUILD_DEPENDENCIES) - { - warn_user_once!( - "The `extra-build-dependencies` setting is experimental and may change without warning. Pass `--preview-features {}` to disable this warning.", - PreviewFeatures::EXTRA_BUILD_DEPENDENCIES - ); - } let mut requirements = Vec::with_capacity( args.package.len() + args.editables.len() + args.requirements.len(),