refactor: conda build command on GHA workflows#1420
Conversation
conda-build instead of conda build
…da builder workflows
6c47931 to
e0d46cd
Compare
conda-build instead of conda build|
Windows seems to be failing because: Looking at the build job, I believe it seems to be getting the wrong |
The build on defaults has a higher build number, try using `--channel-priority strict` to fix this. ``` esc@artemis [base] [llvmlite:refactor_conda_build_command:★★★] ~/git/llvmlite conda search -c numba/label/dev llvmdev --subdir win-64 | grep 20.1.8 llvmdev 20.1.8 h3aa9ab2_0 pkgs/main llvmdev 20.1.8 h48dad37_1 pkgs/main llvmdev 20.1.8 h659f713_0 numba/label/dev ```
|
I pushed an experimental commit here to try to fix this: 97bb7ca |
Oh, I was mistaken |
As title
|
Trying to use |
@swap357 many thanks for confirming, now needs a third set of eyes, since both of us have added commits here. Labelled accordingly. |
|
Note for the second reviewer: The channel priority had to be configured to be This meant that Using the config option |
stuartarchibald
left a comment
There was a problem hiding this comment.
Thanks for the patch. The changes seem reasonable to fix the described problem. Side-note: the strict channel priority should probably always have been there to prevent conda-build using an llvmdev build from anywhere other than the channel prescribed in ${LLVMDEV_CHANNEL}. The llvmlite test suite is correctly failing because it "knows" about Numba channel builds of llvmdev always having assertions enabled in contrast to packages from main that do not.
conda 26.3.1 removed use of conda executable (
conda-build) with subcommands (conda build) -https://conda.org/blog/2026-04-06-march-releases/#changes-in-conda-26302631
This PR corrects the usage on conda builder GHA workflows to use executable directly
conda-build.