diff --git a/USER_MANUAL.md b/USER_MANUAL.md index fae6f402c..01a886d9e 100644 --- a/USER_MANUAL.md +++ b/USER_MANUAL.md @@ -882,6 +882,7 @@ LDPC | Low Density Parity Check Codes - a family of powerful FEC codes * FreeDV Reporter: Fix display issues on non-English systems. (PR #1217) * Update audio device list in Easy Setup after opening advanced audio setup. (PR #1223) * Easy Setup: Fix crash while displaying Hamlib error. (PR #1224) + * Force numpy to 2.3.x due to illegal instruction errors. (PR #1230) 2. Enhancements: * FreeDV Reporter: Use ItemsAdded/ItemsDeleted instead of Cleared() for performance. (PR #1212) 3. Build system: diff --git a/appimage/make-appimage.sh b/appimage/make-appimage.sh index 7cb0bb41a..c097f7b3d 100755 --- a/appimage/make-appimage.sh +++ b/appimage/make-appimage.sh @@ -62,7 +62,7 @@ source rade-venv/bin/activate # || { echo "ERROR: activate venv failed"; exit 1; # Clear cache in venv pip3 cache purge pip3 install --upgrade pip || echo "WARNING: pip upgrade failed" -pip3 install numpy +pip3 install numpy==2.3.5 pip3 install torch==2.9.1 --index-url https://download.pytorch.org/whl/cpu pip3 install matplotlib cd - diff --git a/cmake/rade-requirements.txt b/cmake/rade-requirements.txt index 3f3144636..422794013 100644 --- a/cmake/rade-requirements.txt +++ b/cmake/rade-requirements.txt @@ -1,2 +1,3 @@ torch==2.9.1 +numpy==2.3.5 matplotlib diff --git a/generate-univ-pkgs.sh b/generate-univ-pkgs.sh index 1a5e1d8a6..43474e33d 100755 --- a/generate-univ-pkgs.sh +++ b/generate-univ-pkgs.sh @@ -36,12 +36,12 @@ cp ../delocating.py.patched pkg-venv/lib/python3.12/site-packages/delocate/deloc # Download RADE dependencies appropriate for both architectures (x86_64 and arm64) mkdir arm64 -pip3 download --platform macosx_11_0_arm64 --python-version 3.14 --only-binary=:all: filelock typing-extensions setuptools sympy networkx jinja2 fsspec optree opt-einsum numpy matplotlib +pip3 download --platform macosx_11_0_arm64 --python-version 3.14 --only-binary=:all: filelock typing-extensions setuptools sympy networkx jinja2 fsspec optree opt-einsum numpy==2.3.5 matplotlib wget -O arm64/torch-2.9.1a0+gitd38164a-cp314-cp314-macosx_11_0_arm64.whl https://github.com/tmiw/pytorch-macos-packages/releases/download/v2.9.1-20251129/torch-2.9.1a0+gitd38164a-cp314-cp314-macosx_11_0_arm64.whl mv *arm64.whl arm64 mkdir x86_64 -pip3 download --platform macosx_11_0_x86_64 --python-version 3.14 --only-binary=:all: filelock typing-extensions setuptools sympy networkx jinja2 fsspec optree opt-einsum numpy matplotlib +pip3 download --platform macosx_11_0_x86_64 --python-version 3.14 --only-binary=:all: filelock typing-extensions setuptools sympy networkx jinja2 fsspec optree opt-einsum numpy==2.3.5 matplotlib wget -O x86_64/torch-2.9.1a0+gitd38164a-cp314-cp314-macosx_11_0_x86_64.whl https://github.com/tmiw/pytorch-macos-packages/releases/download/v2.9.1-20251129/torch-2.9.1a0+gitd38164a-cp314-cp314-macosx_11_0_x86_64.whl #rm numpy* #wget -O x86_64/numpy-2.3.2-cp312-cp312-macosx_11_0_x86_64.whl https://k6aq.net/freedv-build/numpy-2.3.2-cp312-cp312-macosx_11_0_x86_64.whl