Skip to content

Commit 58670d7

Browse files
committed
rm specific macos handling
1 parent 580f87e commit 58670d7

1 file changed

Lines changed: 0 additions & 15 deletions

File tree

integrations/llama_cpp/pyproject.toml

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -30,21 +30,6 @@ dependencies = [
3030
"haystack-ai>=2.22.0", "llama-cpp-python>=0.2.87"
3131
]
3232

33-
# On macOS, building `llama-cpp-python` from source often fails on GitHub runners (CMake: "OpenMP not found"), so we
34-
# pull pre-built Metal wheels from a custom index. Linux/Windows resolve normally from PyPI.
35-
[[tool.uv.index]]
36-
name = "llama-cpp-python-macos"
37-
url = "https://abetlen.github.io/llama-cpp-python/whl/metal/"
38-
explicit = true
39-
[tool.uv.sources]
40-
llama-cpp-python = [
41-
{ index = "llama-cpp-python-macos", marker = "sys_platform == 'darwin'" },
42-
]
43-
44-
[tool.uv]
45-
# The 0.3.20 wheel on the macOS Metal index is corrupted (truncated ZIP); skip it on macOS only.
46-
override-dependencies = ["llama-cpp-python!=0.3.20; sys_platform == 'darwin'"]
47-
4833
[project.urls]
4934
Documentation = "https://github.com/deepset-ai/haystack-core-integrations/tree/main/integrations/llama_cpp#readme"
5035
Issues = "https://github.com/deepset-ai/haystack-core-integrations/issues"

0 commit comments

Comments
 (0)