Skip to content

Commit 9663c63

Browse files
committed
Pin conda-build to most recent working version
Works around issues with lief that cause failures after build completes with the message ``` AttributeError: module 'lief._lief.ELF' has no attribute 'ELF_CLASS' ```
1 parent a86da4b commit 9663c63

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/conda-package.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,8 @@ jobs:
4747
- name: Add conda to system path
4848
run: echo $CONDA/bin >> $GITHUB_PATH
4949
- name: Install conda-build
50-
run: conda install conda-build -c conda-forge --override-channels
50+
# FIXME: unpin when conda-build fixes issues with lief
51+
run: conda install conda-build"<=24.11.2" -c conda-forge --override-channels
5152
- name: Store conda paths as envs
5253
shell: bash -l {0}
5354
run: |
@@ -96,9 +97,10 @@ jobs:
9697
python-version: ${{ matrix.python }}
9798

9899
- name: Install conda build
100+
# FIXME: unpin when conda-build fixes issues with lief
99101
run: |
100102
conda activate
101-
conda install -y conda-build
103+
conda install -y conda-build"<=24.11.2"
102104
conda list -n base
103105
104106
- name: Cache conda packages

0 commit comments

Comments
 (0)