From 27d40d19b9b369a9fa411219dbb1e9ef9f473f79 Mon Sep 17 00:00:00 2001 From: rejbasket <39080670+rejbasket@users.noreply.github.com> Date: Tue, 20 Jun 2023 17:07:15 +0200 Subject: Windows numpy fix (#2377) * added Gio and wx to hidden imports changed numpy and scipy version for compatibility * update versions numpy and scipy --------- Co-authored-by: rejbasket --- .github/workflows/build.yml | 5 +++-- bin/build-python | 2 ++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 378c4c18..3d78875d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -110,8 +110,9 @@ jobs: git config --system core.longpaths true python -m pip install --upgrade pip python -m pip install wheel - # scipy 1.9.1 is the last version to support 32-bit windows - python -m pip install scipy==1.9.1 + # Numpy and Scipy version for older cpu compatibility + python -m pip install numpy==1.23.1 + python -m pip install scipy==1.9.0 python -m pip install -r requirements.txt python -m pip install pyinstaller diff --git a/bin/build-python b/bin/build-python index d0d20670..2a8cda7c 100755 --- a/bin/build-python +++ b/bin/build-python @@ -25,6 +25,8 @@ fi if [ "$BUILD" = "linux" ]; then pyinstaller_args+="--hidden-import gi.repository.Gtk " + pyinstaller_args+="--hidden-import gi.repository.Gio " + pyinstaller_args+="--hidden-import wx " fi -- cgit v1.2.3