Skip to content

Commit

Permalink
Pin conda-build to most recent working version
Browse files Browse the repository at this point in the history
Works around issues with lief that cause failures after build completes with the message
```
AttributeError: module 'lief._lief.ELF' has no attribute 'ELF_CLASS'
```
  • Loading branch information
ndgrigorian committed Jan 16, 2025
1 parent a86da4b commit 9663c63
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/conda-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@ jobs:
- name: Add conda to system path
run: echo $CONDA/bin >> $GITHUB_PATH
- name: Install conda-build
run: conda install conda-build -c conda-forge --override-channels
# FIXME: unpin when conda-build fixes issues with lief
run: conda install conda-build"<=24.11.2" -c conda-forge --override-channels
- name: Store conda paths as envs
shell: bash -l {0}
run: |
Expand Down Expand Up @@ -96,9 +97,10 @@ jobs:
python-version: ${{ matrix.python }}

- name: Install conda build
# FIXME: unpin when conda-build fixes issues with lief
run: |
conda activate
conda install -y conda-build
conda install -y conda-build"<=24.11.2"
conda list -n base
- name: Cache conda packages
Expand Down

0 comments on commit 9663c63

Please sign in to comment.