Repository navigation
Commit 5b4ecb3
authored
The Linux jobs of the `Conda package` workflow started failing at the
wheel install step (e.g. [this
run](https://github.com/IntelPython/dpnp/actions/runs/40190014878/job/121158805605))
with:
```
ERROR: dpnp-...-3-cp313-cp313-manylinux___x86_64.whl is not a supported wheel on this platform.
```
The `ubuntu-latest` runner image switched from `ubuntu-24.04` to
`ubuntu-26.04`. The new image does not ship Miniconda, so `conda` is no
longer on `PATH`. `conda-recipe/build.sh` used `conda list
'^sysroot_linux-64$'` to get the glibc version for the `manylinux`
platform tag. Under rattler-build that call now fails with `conda:
command not found`, both version parts end up empty, and `wheel tags`
produces the invalid `manylinux___x86_64` tag.
This PR reads the `sysroot_linux-64` version from the `conda-meta`
record in `${BUILD_PREFIX}` instead. The package is a build requirement
(`stdlib('c')`) in both `rattler_recipe.yaml` and `meta.yaml`, so the
record is there under both rattler-build and conda-build. The script now
also fails early with a clear error if the version cannot be detected,
instead of silently producing a broken tag. It also skips the `conda
list` call, which took ~30 seconds per build.
1 parent 888e36a commit 5b4ecb3
2 files changed
Lines changed: 10 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
126 | 126 | | |
127 | 127 | | |
128 | 128 | | |
| 129 | + | |
129 | 130 | | |
130 | 131 | | |
131 | 132 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
16 | | - | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
17 | 24 | | |
18 | 25 | | |
19 | 26 | | |
| |||
0 commit comments