Skip to content

Commit 08fa623

Browse files
committed
Remove pyarrow dep
- We don't need it - It's 80MB! - It doesn't work on MacOS 11 (Intel Macs latest)
1 parent a71efda commit 08fa623

File tree

3 files changed

+17
-46
lines changed

3 files changed

+17
-46
lines changed

libs/core/pyproject.toml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ dependencies = [
2929
"pytest-benchmark>=5.1.0",
3030
"pytest-cov>=6.0.0",
3131
"pyyaml>=6.0.2",
32-
"together>=1.4.6",
32+
"together",
3333
"typing-extensions>=4.12.2",
3434
]
3535

@@ -50,9 +50,13 @@ build-backend = "hatchling.build"
5050
[tool.hatch.metadata]
5151
requires-python = ">=3.10"
5252

53+
[tool.uv.sources]
54+
together = { git = "https://github.com/scosman/together-python" }
55+
5356

5457
[project.urls]
5558
Homepage = "https://getkiln.ai"
5659
Repository = "https://github.com/Kiln-AI/kiln"
5760
Documentation = "https://kiln-ai.github.io/Kiln/kiln_core_docs/kiln_ai.html"
5861
Issues = "https://github.com/Kiln-AI/kiln/issues"
62+

pyproject.toml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,13 @@ dev = [
2323
]
2424

2525

26+
27+
[tool.uv]
28+
# While Together depends on pyarrow, it doesn't need it, it's 80MB, and it doesn't work on MacOS 11
29+
override-dependencies = [
30+
"pyarrow ; sys_platform == 'never'",
31+
]
32+
2633
[tool.uv.workspace]
2734
members = ["libs/core", "libs/server", "app/desktop"]
2835

@@ -42,4 +49,3 @@ exclude = [
4249

4350
[tool.pytest.ini_options]
4451
addopts="-n auto"
45-

uv.lock

Lines changed: 5 additions & 44 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)