Skip to content

Commit 250ac17

Browse files
committed
add a better test
1 parent 1a0950d commit 250ac17

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/pypi/hub_builder/hub_builder_tests.bzl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -566,6 +566,8 @@ def _test_torch_experimental_index_url(env):
566566
for (os, cpu), whl_platform_tags in {
567567
("linux", "x86_64"): ["linux_x86_64", "manylinux_*_x86_64"],
568568
("linux", "aarch64"): ["linux_aarch64", "manylinux_*_aarch64"],
569+
# this should be ignored as well because there is no sdist
570+
("osx", "x86_64"): ["macosx_*_x86_64"],
569571
("osx", "aarch64"): ["macosx_*_arm64"],
570572
("windows", "x86_64"): ["win_amd64"],
571573
("windows", "aarch64"): ["win_arm64"], # this should be ignored
@@ -612,7 +614,6 @@ torch==2.4.1+cpu ; platform_machine == 'x86_64' \
612614
_parse(
613615
hub_name = "pypi",
614616
python_version = "3.12",
615-
download_only = True,
616617
experimental_index_url = "https://torch.index",
617618
requirements_lock = "universal.txt",
618619
),

0 commit comments

Comments
 (0)