Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork7.9k
Commit7cd2d5b
committed
BLD: Ensure meson.build has the right version of Python
If `python3` is in the path, it might be picked up instead of the oneused to build. This is the case on GitHub actions, where cibuildwheelseems to explicitly call the Python (3.11+) it wants, but `python3` isin the hosted tool cache as an older version (3.9) that gets picked byMeson. This matters because we need to run `setuptools_scm` to producethe version, and it may not be installed in the `PATH`-based copy.By specifying the version, Meson should skip the `PATH` option, andchoose its final fallback, the interpreter that it is itself running on.While still not guaranteed to be correct everywhere, this should atleast work for CI.1 parentfa3e9da commit7cd2d5b
2 files changed
+5
-1
lines changedLines changed: 4 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
2 | 2 |
| |
3 | 3 |
| |
4 |
| - | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
5 | 8 |
| |
6 | 9 |
| |
7 | 10 |
| |
|
Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
40 | 40 |
| |
41 | 41 |
| |
42 | 42 |
| |
| 43 | + | |
43 | 44 |
| |
44 | 45 |
| |
45 | 46 |
| |
|
0 commit comments
Comments
(0)