@@ -33,7 +33,7 @@ impl Default for UpCommandConfig {
3333 attach_lock_timeout : Self :: DEFAULT_ATTACH_LOCK_TIMEOUT ,
3434 auto_bootstrap : Self :: DEFAULT_AUTO_BOOTSTRAP ,
3535 mise_version : Self :: DEFAULT_MISE_VERSION . to_string ( ) ,
36- uv_version : "latest" . to_string ( ) ,
36+ uv_version : Self :: DEFAULT_UV_VERSION . to_string ( ) ,
3737 notify_workdir_config_updated : Self :: DEFAULT_NOTIFY_WORKDIR_CONFIG_UPDATED ,
3838 notify_workdir_config_available : Self :: DEFAULT_NOTIFY_WORKDIR_CONFIG_AVAILABLE ,
3939 operations : UpCommandOperationConfig :: default ( ) ,
@@ -50,6 +50,7 @@ impl UpCommandConfig {
5050 const DEFAULT_NOTIFY_WORKDIR_CONFIG_UPDATED : bool = true ;
5151 const DEFAULT_NOTIFY_WORKDIR_CONFIG_AVAILABLE : bool = true ;
5252 const DEFAULT_MISE_VERSION : & str = "latest" ;
53+ const DEFAULT_UV_VERSION : & str = "latest" ;
5354 const DEFAULT_UPGRADE : bool = false ;
5455
5556 pub ( super ) fn from_config_value (
@@ -109,7 +110,7 @@ impl UpCommandConfig {
109110
110111 let uv_version = config_value_global. get_as_str_or_default (
111112 "uv_version" ,
112- "latest" ,
113+ Self :: DEFAULT_UV_VERSION ,
113114 & error_handler. with_key ( "uv_version" ) ,
114115 ) ;
115116
0 commit comments