Skip to content

Commit 60a2f6d

Browse files
committed
Constrain setuptools to resolve installing server in ci
Error due openai-whisper depending on pkg_resource that setuptools seems to have dropped. See pypa/setuptools#5174 for reference Also bump pillow version
1 parent 9dfef3f commit 60a2f6d

File tree

2 files changed

+52
-46
lines changed

2 files changed

+52
-46
lines changed

pyproject.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ dependencies = [
4646
"tiktoken >= 0.3.2",
4747
"tenacity >= 9.0.0",
4848
"magika ~= 0.5.1",
49-
"pillow ~= 10.3.0",
49+
"pillow >= 12.1.1",
5050
"pydantic[email] >= 2.0.0",
5151
"pyyaml ~= 6.0",
5252
"rich >= 13.3.1",
@@ -177,6 +177,9 @@ indent-style = "space"
177177
[tool.ruff.lint.isort]
178178
known-first-party = ["khoj"]
179179

180+
[tool.uv]
181+
build-constraint-dependencies = ["setuptools>=61.2,<82"]
182+
180183
[tool.pytest.ini_options]
181184
addopts = "--strict-markers"
182185
markers = [

0 commit comments

Comments
 (0)