Skip to content

Commit 4fc4b2a

Browse files
committed
remove platforms
1 parent c56d667 commit 4fc4b2a

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

python/private/pypi/parse_requirements.bzl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,6 @@ def parse_requirements(
227227
sdist = sdist,
228228
platforms = [],
229229
)
230-
sdists_by_sha[sha].platforms.extend(target_platforms)
231230

232231
if len(whls) == 0:
233232
continue

tests/pypi/extension/extension_tests.bzl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -709,7 +709,7 @@ pip_fallback==0.0.1
709709
struct(
710710
config_setting = None,
711711
filename = "simple-0.0.1.tar.gz",
712-
target_platforms = ("cp315_linux_aarch64", "cp315_linux_arm", "cp315_linux_ppc", "cp315_linux_s390x", "cp315_linux_x86_64", "cp315_osx_aarch64", "cp315_osx_x86_64", "cp315_windows_x86_64"),
712+
target_platforms = None,
713713
version = "3.15",
714714
),
715715
],
@@ -766,7 +766,7 @@ pip_fallback==0.0.1
766766
},
767767
"pypi_315_simple_sdist_deadbeef": {
768768
"dep_template": "@pypi//{name}:{target}",
769-
"experimental_target_platforms": ["cp315_linux_aarch64", "cp315_linux_arm", "cp315_linux_ppc", "cp315_linux_s390x", "cp315_linux_x86_64", "cp315_osx_aarch64", "cp315_osx_x86_64", "cp315_windows_x86_64"],
769+
"experimental_target_platforms": [],
770770
"extra_pip_args": ["--extra-args-for-sdist-building"],
771771
"filename": "simple-0.0.1.tar.gz",
772772
"python_interpreter_target": "unit_test_interpreter_target",

tests/pypi/parse_requirements/parse_requirements_tests.bzl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ def _test_direct_urls(env):
234234
version = "",
235235
url = "https://example.org/qux-1.0.tar.gz",
236236
),
237-
target_platforms = ["linux_x86_64"],
237+
target_platforms = [],
238238
whls = [],
239239
),
240240
],
@@ -733,7 +733,7 @@ def _test_sdist_different_hashes(env):
733733
url = "",
734734
version = "0.0.1",
735735
),
736-
target_platforms = ["cp315_linux_x86_64", "cp315_windows_x86_64"],
736+
target_platforms = [],
737737
whls = [],
738738
),
739739
],

0 commit comments

Comments
 (0)