Skip to content

Commit dab8d1d

Browse files
committed
Pin py-lief<0.17 on Windows
1 parent 1677402 commit dab8d1d

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

‎.github/workflows/conda-package.yml‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,13 @@ jobs:
7979
environment-file: ${{ env.build-conda-pkg-env }}
8080
activate-environment: ${{ env.build-env-name }}
8181

82+
# Workaround for a conda-build crash during overlinking checks on Windows
83+
# with py-lief 0.17: "AttributeError: 'Binary' object has no attribute
84+
# 'exported_functions'". Pin py-lief back to 0.16 only on Windows.
85+
- name: Pin py-lief on Windows
86+
if: runner.os == 'Windows'
87+
run: mamba install -y "py-lief<0.17"
88+
8289
- name: List installed packages
8390
run: mamba list
8491

0 commit comments

Comments
 (0)