From 307522ebeaa42ff7b8498517cc2b0d4ba9b29dad Mon Sep 17 00:00:00 2001 From: George Wang Date: Thu, 27 Feb 2025 13:44:04 -0800 Subject: [PATCH] Remove python_abi to fix nightly Summary: liblief seemed to be causing issues in nightly: https://github.com/facebookresearch/faiss/actions/runs/13560151536/job/37908376889 Removing the pin while pinning conda-build resolves the issue. Differential Revision: D70344910 --- conda/faiss/meta.yaml | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/conda/faiss/meta.yaml b/conda/faiss/meta.yaml index db32e14aea..81f2cc6501 100644 --- a/conda/faiss/meta.yaml +++ b/conda/faiss/meta.yaml @@ -45,24 +45,20 @@ outputs: - make =4.4 # [osx and arm64] {% if PY_VER == '3.9' or PY_VER == '3.10' or PY_VER == '3.11' %} - mkl-devel =2023.0 # [x86_64] - - liblief =0.12.3 # [not win] - python_abi <3.12 {% elif PY_VER == '3.12' %} - mkl-devel >=2023.2.0 # [x86_64 and not win] - mkl-devel =2023.1.0 # [x86_64 and win] - - liblief =0.14.1 # [not win] - python_abi =3.12 {% endif %} host: - python {{ python }} {% if PY_VER == '3.9' or PY_VER == '3.10' or PY_VER == '3.11' %} - mkl =2023.0 # [x86_64] - - liblief =0.12.3 # [not win] - python_abi <3.12 {% elif PY_VER == '3.12' %} - mkl >=2023.2.0 # [x86_64 and not win] - mkl =2023.1.0 # [x86_64 and win] - - liblief =0.14.1 # [not win] - python_abi =3.12 {% endif %} - openblas =0.3.29 # [not x86_64] @@ -70,18 +66,16 @@ outputs: - python {{ python }} {% if PY_VER == '3.9' or PY_VER == '3.10' or PY_VER == '3.11' %} - mkl =2023.0 # [x86_64] - - liblief =0.12.3 # [not win] - python_abi <3.12 {% elif PY_VER == '3.12' %} - mkl >=2023.2.0 # [x86_64 and not win] - mkl =2023.1.0 # [x86_64 and win] - - liblief =0.15.1 # [not win] - python_abi =3.12 {% endif %} - openblas =0.3.29 # [not x86_64] test: requires: - - conda-build + - conda-build =25.1.2 commands: - test -f $PREFIX/lib/libfaiss$SHLIB_EXT # [not win] - test -f $PREFIX/lib/libfaiss_avx2$SHLIB_EXT # [x86_64 and not win]