Skip to content

Commit

Permalink
Update deps
Browse files Browse the repository at this point in the history
Bump runners to python 3.10
Update a few more deps
Use old resolver for btchip=python bad metadata
Use on all installs
Test different setuptools
Update requirements.txt
Update requirements.txt
Remove wheel update
Update requirements.txt
Update requirements.txt
Update main.yaml
Update requirements.txt
Update main.yaml
Update requirements.txt
  • Loading branch information
Liquid369 committed Jul 23, 2024
1 parent 424ff14 commit 9dc409e
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 17 deletions.
24 changes: 13 additions & 11 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,17 @@ jobs:
- name: Initialize Python
uses: actions/setup-python@v4
with:
python-version: 3.7
python-version: '3.10'

- name: Install Dependencies
run: |
python -m pip install --upgrade wheel
pip install -r requirements.txt
pip install importlib-metadata==4.13.0
pip install flake8==3.8.4
pip install mypy==0.781
pip install vulture==2.3
pip install git+https://github.com/EchterAgo/btchip-python.git@fix_deps
pip install wheel==0.38.4 --use-deprecated=legacy-resolver
pip install -r requirements.txt --use-deprecated=legacy-resolver
pip install importlib-metadata==4.13.0 --use-deprecated=legacy-resolver
pip install flake8==3.8.4 --use-deprecated=legacy-resolver
pip install mypy==0.781 --use-deprecated=legacy-resolver
pip install vulture==2.3 --use-deprecated=legacy-resolver
- name: Lint
run: |
Expand Down Expand Up @@ -64,7 +65,7 @@ jobs:
- name: Setup Python 3.7
uses: actions/setup-python@v4
with:
python-version: 3.7
python-version: '3.10'
- name: Setup pip cache
uses: actions/cache@v3
with:
Expand All @@ -78,9 +79,10 @@ jobs:
sudo apt-get update
sudo apt-get install --no-install-recommends --no-upgrade -qq ${{ matrix.config.packages }}
fi
python -m pip install --upgrade wheel
pip install -r requirements.txt
pip install pyinstaller
pip install git+https://github.com/EchterAgo/btchip-python.git@fix_deps
pip install wheel==0.38.4 --use-deprecated=legacy-resolver
pip install -r requirements.txt --use-deprecated=legacy-resolver
pip install pyinstaller --use-deprecated=legacy-resolver
- name: Build
run: |
pyinstaller specPet4l.spec
13 changes: 7 additions & 6 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
python-bitcoinrpc==1.0
bitcoin==1.1.42
btchip-python==0.1.27
trezor==0.11.3
PyQt5>=5.9,<5.14.1
requests>=2.18.4,<=2.23
simplejson<=3.13.2
ecdsa==0.13.3
trezor==0.11.1
PyQt5>=5.15.10
requests==2.32.2
simplejson==3.19.2
ecdsa==0.19.0
wheel==0.38.1
setuptools==64

0 comments on commit 9dc409e

Please sign in to comment.