From 9663c633e019465ed416615f41862c3b85ce94fc Mon Sep 17 00:00:00 2001 From: Nikita Grigorian Date: Thu, 16 Jan 2025 14:08:37 -0800 Subject: [PATCH] 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' ``` --- .github/workflows/conda-package.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/conda-package.yml b/.github/workflows/conda-package.yml index d6b9c8ef2b..ba8d892b5a 100644 --- a/.github/workflows/conda-package.yml +++ b/.github/workflows/conda-package.yml @@ -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: | @@ -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