Fix numpy binary incompatibility on Python 3.10
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 <noreply@anthropic.com>
This commit is contained in:
@@ -45,6 +45,7 @@ dependencies = [
|
|||||||
[project.optional-dependencies]
|
[project.optional-dependencies]
|
||||||
# DCT steganography support (v3.0+)
|
# DCT steganography support (v3.0+)
|
||||||
dct = [
|
dct = [
|
||||||
|
"numpy>=2.0.0",
|
||||||
"scipy>=1.10.0",
|
"scipy>=1.10.0",
|
||||||
"jpegio>=0.2.0",
|
"jpegio>=0.2.0",
|
||||||
]
|
]
|
||||||
@@ -61,6 +62,7 @@ web = [
|
|||||||
"qrcode>=7.3.0",
|
"qrcode>=7.3.0",
|
||||||
"pyzbar>=0.1.9",
|
"pyzbar>=0.1.9",
|
||||||
# Include DCT support for web UI
|
# Include DCT support for web UI
|
||||||
|
"numpy>=2.0.0",
|
||||||
"scipy>=1.10.0",
|
"scipy>=1.10.0",
|
||||||
"jpegio>=0.2.0",
|
"jpegio>=0.2.0",
|
||||||
]
|
]
|
||||||
@@ -71,6 +73,7 @@ api = [
|
|||||||
"qrcode>=7.30",
|
"qrcode>=7.30",
|
||||||
"pyzbar>=0.1.9",
|
"pyzbar>=0.1.9",
|
||||||
# Include DCT support for API
|
# Include DCT support for API
|
||||||
|
"numpy>=2.0.0",
|
||||||
"scipy>=1.10.0",
|
"scipy>=1.10.0",
|
||||||
"jpegio>=0.2.0",
|
"jpegio>=0.2.0",
|
||||||
]
|
]
|
||||||
|
|||||||
Reference in New Issue
Block a user