|
1 | 1 | load("@rules_python//python:py_test.bzl", "py_test") |
2 | 2 |
|
3 | 3 | py_test( |
4 | | - name = "torch_test_old_python", |
| 4 | + name = "torch_test_py_312", |
5 | 5 | srcs = ["torch_test.py"], |
6 | 6 | main = "torch_test.py", |
7 | 7 | python_version = "3.12", |
8 | 8 | deps = ["@pip//torch"], |
9 | 9 | ) |
10 | 10 |
|
11 | 11 | py_test( |
12 | | - name = "torch_test", |
| 12 | + name = "torch_test_default", |
13 | 13 | srcs = ["torch_test.py"], |
14 | 14 | main = "torch_test.py", |
15 | 15 | deps = ["@pip//torch"], |
16 | 16 | ) |
17 | 17 |
|
18 | 18 | py_test( |
19 | | - name = "torch_test_experimental_index_url", |
| 19 | + name = "torch_test_default_downloader", |
20 | 20 | srcs = ["torch_test.py"], |
21 | 21 | main = "torch_test.py", |
22 | 22 | deps = ["@pip_next//torch"], |
23 | 23 | ) |
24 | 24 |
|
25 | 25 | py_test( |
26 | | - name = "torch_test_freethreaded", |
| 26 | + name = "torch_test_py312_downloader", |
| 27 | + srcs = ["torch_test.py"], |
| 28 | + main = "torch_test.py", |
| 29 | + python_version = "3.12", |
| 30 | + deps = ["@pip_next//torch"], |
| 31 | +) |
| 32 | + |
| 33 | +py_test( |
| 34 | + name = "torch_test_downloader_freethreaded", |
27 | 35 | srcs = ["torch_test.py"], |
28 | 36 | config_settings = { |
29 | 37 | "@rules_python//python/config_settings:py_freethreaded": "yes", |
|
0 commit comments