@@ -10,7 +10,8 @@ use uv_cache::Cache;
1010use uv_client:: { Connectivity , FlatIndexClient , RegistryClientBuilder } ;
1111use uv_configuration:: {
1212 Concurrency , Constraints , DevGroupsManifest , DevGroupsSpecification , EditableMode ,
13- ExtrasSpecification , HashCheckingMode , InstallOptions , LowerBound , PreviewMode , TrustedHost ,
13+ ExtrasSpecification , HashCheckingMode , InstallOptions , LowerBound , PreviewMode , TargetTriple ,
14+ TrustedHost ,
1415} ;
1516use uv_dispatch:: { BuildDispatch , SharedState } ;
1617use uv_distribution_types:: {
@@ -31,8 +32,8 @@ use uv_workspace::pyproject::{DependencyGroupSpecifier, Source, Sources, ToolUvS
3132use uv_workspace:: { DiscoveryOptions , MemberDiscovery , VirtualProject , Workspace } ;
3233
3334use crate :: commands:: pip:: loggers:: { DefaultInstallLogger , DefaultResolveLogger , InstallLogger } ;
34- use crate :: commands:: pip:: operations;
3535use crate :: commands:: pip:: operations:: Modifications ;
36+ use crate :: commands:: pip:: { operations, resolution_tags} ;
3637use crate :: commands:: project:: lock:: { do_safe_lock, LockMode } ;
3738use crate :: commands:: project:: {
3839 default_dependency_groups, detect_conflicts, DependencyGroupsTarget , ProjectError ,
@@ -341,12 +342,16 @@ pub(super) async fn do_sync(
341342 }
342343
343344 // Determine the tags to use for resolution.
344- let tags = venv. interpreter ( ) . tags ( ) ?;
345+ let tags = resolution_tags (
346+ None ,
347+ Some ( & TargetTriple :: X8664Manylinux231 ) ,
348+ venv. interpreter ( ) ,
349+ ) ?;
345350
346351 // Read the lockfile.
347352 let resolution = target. to_resolution (
348353 & marker_env,
349- tags,
354+ & tags,
350355 extras,
351356 dev,
352357 build_options,
@@ -406,7 +411,7 @@ pub(super) async fn do_sync(
406411 let entries = client
407412 . fetch ( index_locations. flat_indexes ( ) . map ( Index :: url) )
408413 . await ?;
409- FlatIndex :: from_entries ( entries, Some ( tags) , & hasher, build_options)
414+ FlatIndex :: from_entries ( entries, Some ( & tags) , & hasher, build_options)
410415 } ;
411416
412417 // Create a build dispatch.
@@ -446,7 +451,7 @@ pub(super) async fn do_sync(
446451 index_locations,
447452 config_setting,
448453 & hasher,
449- tags,
454+ & tags,
450455 & client,
451456 state. in_flight ( ) ,
452457 concurrency,
0 commit comments