From 948a582e5d8df33d0bd46e3f56f9a7e775768eaf Mon Sep 17 00:00:00 2001 From: "Aaron D. Lee" Date: Fri, 2 Jan 2026 17:47:44 -0500 Subject: [PATCH] Fix numpy binary incompatibility on Python 3.10 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add explicit numpy>=2.0.0 constraint to dct, web, and api extras. Scipy/jpegio wheels are built against numpy 2.x, so we need to ensure numpy 2.x is installed to avoid dtype size mismatch errors. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- pyproject.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index 04d2196..515bc80 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -45,6 +45,7 @@ dependencies = [ [project.optional-dependencies] # DCT steganography support (v3.0+) dct = [ + "numpy>=2.0.0", "scipy>=1.10.0", "jpegio>=0.2.0", ] @@ -61,6 +62,7 @@ web = [ "qrcode>=7.3.0", "pyzbar>=0.1.9", # Include DCT support for web UI + "numpy>=2.0.0", "scipy>=1.10.0", "jpegio>=0.2.0", ] @@ -71,6 +73,7 @@ api = [ "qrcode>=7.30", "pyzbar>=0.1.9", # Include DCT support for API + "numpy>=2.0.0", "scipy>=1.10.0", "jpegio>=0.2.0", ]