From 3ef4f7309f17ed2e9dd9506ae88ba9dde4b9d3f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Holger=20M=C3=BCller?= Date: Thu, 29 Oct 2020 19:25:25 +0100 Subject: [PATCH] use older scipy on windows release pyinstaller seem to strugle with scipy > 1.4.x --- .github/workflows/release_win.yml | 6 +++--- NanoVNASaver/About.py | 2 +- requirements_win.txt | 5 +++++ 3 files changed, 9 insertions(+), 4 deletions(-) create mode 100644 requirements_win.txt diff --git a/.github/workflows/release_win.yml b/.github/workflows/release_win.yml index 5245afa..2a598ee 100644 --- a/.github/workflows/release_win.yml +++ b/.github/workflows/release_win.yml @@ -6,7 +6,7 @@ on: - v* jobs: - release: + release: runs-on: windows-latest strategy: matrix: @@ -17,12 +17,12 @@ jobs: - name: Set up Python uses: actions/setup-python@v2 with: - python-version: 3.8 + python-version: 3.8 architecture: ${{ matrix.arch }} - name: Install dependencies and pyinstall run: | python -m pip install --upgrade pip setuptools - pip install -r requirements.txt + pip install -r requirements_win.txt pip install PyInstaller==3.6 - name: Build binary run: | diff --git a/NanoVNASaver/About.py b/NanoVNASaver/About.py index 139dcde..2452f00 100644 --- a/NanoVNASaver/About.py +++ b/NanoVNASaver/About.py @@ -17,7 +17,7 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . -VERSION = "0.3.8-rc01" +VERSION = "0.3.8-rc02" VERSION_URL = ( "https://raw.githubusercontent.com/" "NanoVNA-Saver/nanovna-saver/master/NanoVNASaver/About.py") diff --git a/requirements_win.txt b/requirements_win.txt new file mode 100644 index 0000000..6c0a381 --- /dev/null +++ b/requirements_win.txt @@ -0,0 +1,5 @@ +scipy==1.4.1 +cython +pyqt5 +pyserial +numpy