From b6752e91895e5173b6ee3d7821c5e3e58cda8eac Mon Sep 17 00:00:00 2001 From: Faiss OSS Autofix Date: Fri, 25 Sep 2026 12:31:11 -0700 Subject: [PATCH] Apply Faiss OSS autofix patch --- conda/faiss/meta.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/conda/faiss/meta.yaml b/conda/faiss/meta.yaml index ace4d5e22..93ef6a361 100644 --- a/conda/faiss/meta.yaml +++ b/conda/faiss/meta.yaml @@ -160,6 +160,7 @@ outputs: - scipy - pytorch-cpu >=2.7 # [not win] - pytorch >=2.7 # [win] + - pytest # [osx and arm64] {% if PY_VER == '3.10' or PY_VER == '3.11' %} - mkl >=2024.2.2,<2026 # [x86_64] - python_abi <3.12 @@ -169,7 +170,8 @@ outputs: - python_abi =3.12 {% endif %} commands: - - python -X faulthandler -m unittest discover -v -s tests/ -p "test_*" + - python -X faulthandler -m unittest discover -v -s tests/ -p "test_*" # [not (osx and arm64)] + - python -X faulthandler -m pytest tests/ -v -q -k "not test_update_codebooks_with_double and not (TestProductLocalSearchQuantizer and test_lut)" # [osx and arm64] - python -X faulthandler -m unittest discover -v -s tests/ -p "torch_*" - sh test_cpu_dispatch.sh # [linux64] files: