|
@@ -4,6 +4,7 @@ on:
|
|
push:
|
|
push:
|
|
paths:
|
|
paths:
|
|
- '.github/workflows/pylint.yaml'
|
|
- '.github/workflows/pylint.yaml'
|
|
|
|
+ - '.github/build-requirements.txt'
|
|
- 'pyproject.toml'
|
|
- 'pyproject.toml'
|
|
- 'setup.cfg'
|
|
- 'setup.cfg'
|
|
- 'test/ref/**'
|
|
- 'test/ref/**'
|
|
@@ -17,7 +18,16 @@ jobs:
|
|
|
|
|
|
strategy:
|
|
strategy:
|
|
matrix:
|
|
matrix:
|
|
- python-version: ["3.9","3.10","3.11"]
|
|
|
|
|
|
+ python-version: ["3.9","3.10","3.11","3.12"]
|
|
|
|
+ include:
|
|
|
|
+ - python-version: "3.9"
|
|
|
|
+ pylint_ver: "3.1.1"
|
|
|
|
+ - python-version: "3.10"
|
|
|
|
+ pylint_ver: "3.1.1"
|
|
|
|
+ - python-version: "3.11"
|
|
|
|
+ pylint_ver: "3.1.1"
|
|
|
|
+ - python-version: "3.12"
|
|
|
|
+ pylint_ver: "3.1.1"
|
|
|
|
|
|
steps:
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: actions/checkout@v4
|
|
@@ -32,12 +42,14 @@ jobs:
|
|
python-version: ${{ matrix.python-version }}
|
|
python-version: ${{ matrix.python-version }}
|
|
cache: 'pip'
|
|
cache: 'pip'
|
|
cache-dependency-path: |
|
|
cache-dependency-path: |
|
|
|
|
+ .github/build-requirements.txt
|
|
setup.cfg
|
|
setup.cfg
|
|
|
|
|
|
- name: Install Python dependencies
|
|
- name: Install Python dependencies
|
|
run: |
|
|
run: |
|
|
|
|
+ python3 -m pip install pip setuptools build wheel
|
|
python3 -m pip install gmpy2 cryptography pynacl ecdsa aiohttp requests pexpect scrypt semantic-version
|
|
python3 -m pip install gmpy2 cryptography pynacl ecdsa aiohttp requests pexpect scrypt semantic-version
|
|
- python3 -m pip install pycryptodomex pysocks pycoin ipaddress varint pylint==3.1.1
|
|
|
|
|
|
+ python3 -m pip install pycryptodomex pysocks pycoin ipaddress varint pylint==${{ matrix.pylint_ver }}
|
|
python3 -m pip install --no-deps py_ecc==1.6.0 mypy_extensions==0.4.1 monero
|
|
python3 -m pip install --no-deps py_ecc==1.6.0 mypy_extensions==0.4.1 monero
|
|
python3 setup.py build_ext --inplace
|
|
python3 setup.py build_ext --inplace
|
|
|
|
|