Add missing platform entries to subcommands (#2507)

Fixup for #2493
This commit is contained in:
konsti
2024-03-18 13:33:43 +01:00
committed by GitHub
parent 060a2fb80b
commit 4c59aefdb7
3 changed files with 3 additions and 0 deletions
+1
View File
@@ -193,6 +193,7 @@ pub(crate) async fn pip_install(
.index_urls(index_locations.index_urls())
.keyring_provider(keyring_provider)
.markers(markers)
.platform(interpreter.platform())
.build();
// Resolve the flat indexes from `--find-links`.
+1
View File
@@ -127,6 +127,7 @@ pub(crate) async fn pip_sync(
.index_urls(index_locations.index_urls())
.keyring_provider(keyring_provider)
.markers(venv.interpreter().markers())
.platform(venv.interpreter().platform())
.build();
// Resolve the flat indexes from `--find-links`.
+1
View File
@@ -152,6 +152,7 @@ async fn venv_impl(
.keyring_provider(keyring_provider)
.connectivity(connectivity)
.markers(interpreter.markers())
.platform(interpreter.platform())
.build();
// Resolve the flat indexes from `--find-links`.