Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 3 additions & 17 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on: [push, pull_request]
jobs:
lint:
name: Lint
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
defaults:
run:
shell: bash
Expand All @@ -21,14 +21,8 @@ jobs:

- name: Install Dependencies
run: |
pip install pip==24.0
pip install wheel==0.35.0
pip install setuptools==53.0.0
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

- name: Lint
run: |
Expand All @@ -48,12 +42,12 @@ jobs:
matrix:
config:
- name: Linux
os: ubuntu-20.04
os: ubuntu-22.04
cachepath: ~/.cache/pip
packages: libusb-1.0-0-dev libudev-dev

- name: macOS
os: macos-12
os: macos-13
cachepath: ~/Library/Caches/pip

- name: Windows
Expand All @@ -80,15 +74,7 @@ jobs:
sudo apt-get update
sudo apt-get install --no-install-recommends --no-upgrade -qq ${{ matrix.config.packages }}
fi
if [[ ${{ matrix.config.os }} = windows* ]]; then
python.exe -m pip install pip==24.0
else
pip install pip==24.0
fi
pip install wheel==0.35.0
pip install setuptools==53.0.0
pip install -r requirements.txt
pip install pyinstaller
- name: Build
run: |
pyinstaller SecurePivxMasternodeTool.spec
12 changes: 9 additions & 3 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,16 @@
wheel==0.35.0
setuptools==53.0.0
wheel==0.45.1
setuptools==75.8.0
python-bitcoinrpc==1.0
bitcoin==1.1.42
btchip-python==0.1.27
trezor==0.11.5
PyQt5>=5.15.10
requests==2.32.2
simplejson==3.19.2
ecdsa==0.19.0
importlib-metadata==4.13.0
flake8==3.8.4
vulture==2.3
pyinstaller==6.12.0
# btchip-python 0.1.32 with a patch to fix a malformed dependency
# See https://github.com/LedgerHQ/btchip-python/pull/54
https://github.com/PIVX-Project/btchip-python/archive/e13eab8b0e665bdc23ac4b3890d2a5742303c421.tar.gz