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.
ms-windows-readme
Mooneer Salem 2026-02-15 16:53:45 -05:00 committed by GitHub
parent 259c481975
commit abc62e6b4b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 5 additions and 3 deletions

View File

@ -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:

View File

@ -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 -

View File

@ -1,2 +1,3 @@
torch==2.9.1
numpy==2.3.5
matplotlib

View File

@ -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