Commit 21a7a80
committed
bazel: only test against python3.12 CI
try to use a different version version will led to the bazel test error:
```sh
bazel test -c opt --test_output=errors //ortools/... //examples/...
...
FAIL: //ortools/pdlp/python:pdlp_test (Exit 1) (see /home/runner/.cache/bazel/_bazel_runner/67ceb8c7c63f44f5a932a40cb5180139/execroot/_main/bazel-out/k8-opt/testlogs/ortools/pdlp/python/pdlp_test/test.log)
INFO: From Testing //ortools/pdlp/python:pdlp_test:
==================== Test output for //ortools/pdlp/python:pdlp_test:
Traceback (most recent call last):
File "/home/runner/.cache/bazel/_bazel_runner/67ceb8c7c63f44f5a932a40cb5180139/sandbox/processwrapper-sandbox/7369/execroot/_main/bazel-out/k8-opt/bin/ortools/pdlp/python/pdlp_test.runfiles/_main/ortools/pdlp/python/pdlp_test.py", line 23, in <module>
from ortools.pdlp.python import pdlp
ImportError: Python version mismatch: module was compiled for Python 3.12, but the interpreter version is incompatible: 3.11.10 (main, Oct 16 2024, 04:38:48) [Clang 18.1.8 ].
```1 parent 8733308 commit 21a7a80
File tree
3 files changed
+9
-9
lines changed- .github/workflows
3 files changed
+9
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
13 | | - | |
| 12 | + | |
| 13 | + | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
13 | | - | |
| 12 | + | |
| 13 | + | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
13 | | - | |
| 12 | + | |
| 13 | + | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| |||
0 commit comments