Skip to content

Commit abc62e6

Browse files
authored
Force numpy to 2.3.x due to illegal instruction errors. (#1230)
* Force numpy to 2.3.x due to illegal instruction errors. * Need to force explicit numpy version. * Add PR #1230 to changelog.
1 parent 259c481 commit abc62e6

File tree

4 files changed

+5
-3
lines changed

4 files changed

+5
-3
lines changed

USER_MANUAL.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -882,6 +882,7 @@ LDPC | Low Density Parity Check Codes - a family of powerful FEC codes
882882
* FreeDV Reporter: Fix display issues on non-English systems. (PR #1217)
883883
* Update audio device list in Easy Setup after opening advanced audio setup. (PR #1223)
884884
* Easy Setup: Fix crash while displaying Hamlib error. (PR #1224)
885+
* Force numpy to 2.3.x due to illegal instruction errors. (PR #1230)
885886
2. Enhancements:
886887
* FreeDV Reporter: Use ItemsAdded/ItemsDeleted instead of Cleared() for performance. (PR #1212)
887888
3. Build system:

appimage/make-appimage.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ source rade-venv/bin/activate # || { echo "ERROR: activate venv failed"; exit 1;
6262
# Clear cache in venv
6363
pip3 cache purge
6464
pip3 install --upgrade pip || echo "WARNING: pip upgrade failed"
65-
pip3 install numpy
65+
pip3 install numpy==2.3.5
6666
pip3 install torch==2.9.1 --index-url https://download.pytorch.org/whl/cpu
6767
pip3 install matplotlib
6868
cd -

cmake/rade-requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
torch==2.9.1
2+
numpy==2.3.5
23
matplotlib

generate-univ-pkgs.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,12 @@ cp ../delocating.py.patched pkg-venv/lib/python3.12/site-packages/delocate/deloc
3636
# Download RADE dependencies appropriate for both architectures (x86_64 and arm64)
3737

3838
mkdir arm64
39-
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
39+
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
4040
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
4141
mv *arm64.whl arm64
4242

4343
mkdir x86_64
44-
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
44+
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
4545
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
4646
#rm numpy*
4747
#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

0 commit comments

Comments
 (0)