From c41373f9ba71342e5c60b12c0774466cd7051766 Mon Sep 17 00:00:00 2001 From: Asankhaya Sharma Date: Thu, 19 Mar 2026 07:56:06 +0800 Subject: [PATCH 1/2] 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) --- pyproject.toml | 5 ++--- requirements.txt | 3 +-- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index b697021..f86f18f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "optillm" -version = "0.3.13" +version = "0.3.14" description = "An optimizing inference proxy for LLMs." readme = "README.md" license = "Apache-2.0" @@ -42,8 +42,7 @@ dependencies = [ "peft", "bitsandbytes", "gradio<5.16.0", - # Constrain spacy version to avoid blis build issues on ARM64 - "spacy<3.8.0", + "spacy>=3.7.0", "cerebras_cloud_sdk", "outlines[transformers]", "sentencepiece", diff --git a/requirements.txt b/requirements.txt index a320f62..ceab41e 100644 --- a/requirements.txt +++ b/requirements.txt @@ -25,8 +25,7 @@ ipykernel peft bitsandbytes gradio<5.16.0 -# Constrain spacy version to avoid blis build issues on ARM64 -spacy<3.8.0 +spacy>=3.7.0 cerebras_cloud_sdk outlines[transformers]>=1.2.3 sentencepiece From 812bfb4c3731dce13c165ed78b4f4d1b5218072a Mon Sep 17 00:00:00 2001 From: Asankhaya Sharma Date: Thu, 19 Mar 2026 08:00:11 +0800 Subject: [PATCH 2/2] Bump version to 0.3.14 Co-Authored-By: Claude Opus 4.6 (1M context) --- optillm/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/optillm/__init__.py b/optillm/__init__.py index 76134bd..1350db0 100644 --- a/optillm/__init__.py +++ b/optillm/__init__.py @@ -1,5 +1,5 @@ # Version information -__version__ = "0.3.13" +__version__ = "0.3.14" # Import from server module from .server import (