File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3030 strategy :
3131 fail-fast : false
3232 matrix :
33- os : [ubuntu-latest, macos-latest, windows-latest]
34- python-version : ["3.9", "3.13"]
33+ include :
34+ - os : ubuntu-latest
35+ python-version : " 3.9"
36+ - os : ubuntu-latest
37+ python-version : " 3.13"
38+ - os : windows-latest
39+ python-version : " 3.9"
40+ - os : windows-latest
41+ python-version : " 3.13"
42+
43+ # on macOS, we test with 3.10 and 3.12 because pre-built wheels are only available for these Python versions
44+ # and installing from source might fail due to missing dependencies (CMake fails with "OpenMP not found")
45+ - os : macos-latest
46+ python-version : " 3.10"
47+ - os : macos-latest
48+ python-version : " 3.12"
3549
3650 steps :
3751 - name : Support longpaths
Original file line number Diff line number Diff line change @@ -28,6 +28,14 @@ classifiers = [
2828]
2929dependencies = [" haystack-ai>=2.16.1" , " llama-cpp-python>=0.2.87" ]
3030
31+ # On macOS GitHub runners, we use a custom index to download pre-built wheels.
32+ # Installing from source might fail due to missing dependencies (CMake fails with "OpenMP not found")
33+ [tool .uv ]
34+ index-strategy = " unsafe-best-match" # this ensures that packages are not only searched in the below index but also in PyPI
35+ [[tool .uv .index ]]
36+ name = " llama-cpp-python-macos"
37+ url = " https://abetlen.github.io/llama-cpp-python/whl/metal/"
38+
3139[project .urls ]
3240Documentation = " https://github.com/deepset-ai/haystack-core-integrations/tree/main/integrations/llama_cpp#readme"
3341Issues = " https://github.com/deepset-ai/haystack-core-integrations/issues"
You can’t perform that action at this time.
0 commit comments