Skip to content

Commit

Permalink
Pyinstaller and numpy version fixes for binary builds
Browse files Browse the repository at this point in the history
  • Loading branch information
zarath committed Jan 11, 2022
1 parent 3e78b49 commit 0c17938
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release_linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
run: |
python -m pip install pip==21.3.1 setuptools==60.5.0
pip install -r requirements.txt
pip install PyInstaller==4.8
pip install PyInstaller==4.7
- name: Build binary
run: |
pyinstaller --onefile -n nanovna-saver nanovna-saver.py
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release_macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.10
python-version: 3.9
- name: Install dependencies and pyinstall
run: |
python -m pip install pip==21.3.1 setuptools==60.5.0
pip install -r requirements.txt
pip install PyInstaller==4.8
pip install PyInstaller==4.7
- name: Build binary
run: |
pyinstaller --onefile -n nanovna-saver nanovna-saver.py
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release_win.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.10
python-version: 3.9
architecture: ${{ matrix.arch }}
- name: Install dependencies and pyinstall
run: |
python -m pip install pip==21.3.1 setuptools==60.5.0
pip install -r requirements.txt
pip install PyInstaller==4.8
pip install PyInstaller==4.7
- name: Build binary
run: |
pyinstaller --onefile -n nanovna-saver.exe nanovna-saver.py
Expand Down
1 change: 0 additions & 1 deletion _config.yml

This file was deleted.

2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
pyserial==3.5
PyQt5==5.15.6
numpy==1.22.0
numpy==1.21.5
scipy==1.7.3
Cython==0.29.26
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ packages = find_namespace:
install_requires=
pyserial>=3.5
PyQt5>=5.15.0
numpy>=1.21.1
numpy>=1.21.1,<1.22.0
scipy>=1.7.1
Cython>=0.29.24
python_requires = >=3.8, <4
Expand Down

0 comments on commit 0c17938

Please sign in to comment.