Skip to content

Commit c41373f

Browse files
codelionclaude
andcommitted
Relax spacy version constraint to fix installation failures
The spacy<3.8.0 upper bound forced pip to install spacy 3.7.x, which depends on thinc<8.3.0 and numpy<2.0.0. This caused build failures (thinc/blis compilation from source) and numpy 2.x incompatibility. Newer spacy (3.8+) ships proper wheels for all platforms including ARM64, resolving the original blis build issue the constraint was added for. Fixes #296 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 9cddd15 commit c41373f

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

pyproject.toml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "optillm"
7-
version = "0.3.13"
7+
version = "0.3.14"
88
description = "An optimizing inference proxy for LLMs."
99
readme = "README.md"
1010
license = "Apache-2.0"
@@ -42,8 +42,7 @@ dependencies = [
4242
"peft",
4343
"bitsandbytes",
4444
"gradio<5.16.0",
45-
# Constrain spacy version to avoid blis build issues on ARM64
46-
"spacy<3.8.0",
45+
"spacy>=3.7.0",
4746
"cerebras_cloud_sdk",
4847
"outlines[transformers]",
4948
"sentencepiece",

requirements.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,7 @@ ipykernel
2525
peft
2626
bitsandbytes
2727
gradio<5.16.0
28-
# Constrain spacy version to avoid blis build issues on ARM64
29-
spacy<3.8.0
28+
spacy>=3.7.0
3029
cerebras_cloud_sdk
3130
outlines[transformers]>=1.2.3
3231
sentencepiece

0 commit comments

Comments
 (0)