From a60027742b2668a71ad9c0955e7a3381e2f90dfd Mon Sep 17 00:00:00 2001 From: Alex Barnsley <8069294+alexbarnsley@users.noreply.github.com> Date: Mon, 30 Nov 2026 20:18:44 +0000 Subject: [PATCH] chore: update dependencies mainsail --- .github/workflows/test.yml | 6 ++--- README.md | 10 ++------ requirements.txt | 50 +++++++++++++++++++------------------- setup.cfg | 3 --- setup.py | 28 +++++++++------------ 5 files changed, 42 insertions(+), 55 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 45a2d13..c937bb1 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -14,12 +14,12 @@ jobs: strategy: max-parallel: 4 matrix: - python-version: ["3.10", "3.11", "3.12", "3.13"] + python-version: ["3.11", "3.12", "3.13", "3.14"] steps: - - uses: actions/checkout@v1 + - uses: actions/checkout@v7 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v1 + uses: actions/setup-python@v7 with: python-version: ${{ matrix.python-version }} - name: install dependencies diff --git a/README.md b/README.md index 2622cab..692b001 100644 --- a/README.md +++ b/README.md @@ -27,7 +27,7 @@ If you have any questions, requests or ideas open an issue or ask us in #python ### Prerequisites -- Python >= 3.8 +- Python >= 3.11 ### Setup @@ -74,19 +74,13 @@ pip install -r requirements.txt Run the following command to install the package in development mode: ```bash -python setup.py develop +pip install -e . ``` 6. Run the tests Use pytest to run the tests and ensure everything is working correctly: -```bash -python setup.py test -``` - -Or directly with pytest: - ```bash pytest ``` diff --git a/requirements.txt b/requirements.txt index c7f3ce8..3cd220e 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,26 +1,26 @@ backoff==2.2.1 -certifi==2024.6.2 -chardet==3.0.4 -charset-normalizer==3.3.2 -coverage==7.5.3 -flake8==3.5.0 -flake8-import-order==0.17.1 -flake8-print==3.1.0 -flake8-quotes==1.0.0 -flatten-dict==0.4.2 -idna==2.7 -iniconfig==2.0.0 -mccabe==0.6.1 -packaging==24.1 -pluggy==1.5.0 -pycodestyle==2.3.1 -pyflakes==1.6.0 -pytest==8.2.2 -pytest-cov==2.5.1 -pytest-mock==1.10.0 -pytest-responses==0.5.1 -requests==2.32.3 -responses==0.10.15 -setuptools==70.1.0 -six==1.16.0 -urllib3==2.2.2 +certifi==2026.11.20 +charset-normalizer==3.5.3 +coverage==7.18.0 +flake8==7.5.0 +flake8-import-order==0.19.2 +flake8-print==5.0.0 +flake8-quotes==3.4.0 +flatten-dict==0.6.0 +idna==3.20 +iniconfig==2.3.1 +mccabe==0.7.0 +packaging==26.4 +pluggy==1.7.0 +pycodestyle==2.15.0 +pyflakes==4.1.0 +pygments==2.21.0 +pytest==9.2.0 +pytest-cov==7.1.0 +pytest-mock==3.17.0 +pytest-responses==0.6.0 +pyyaml==6.0.4 +requests==2.34.2 +responses==0.26.3 +setuptools==84.2.1 +urllib3==2.8.0 diff --git a/setup.cfg b/setup.cfg index 36dfa98..dded69d 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,6 +1,3 @@ -[aliases] -test=pytest - [flake8] max-line-length = 100 application-import-names = client diff --git a/setup.py b/setup.py index 46100de..0f2c100 100644 --- a/setup.py +++ b/setup.py @@ -1,22 +1,21 @@ -import sys - import setuptools requires = [ - 'requests==2.32.3', 'backoff==2.2.1', - 'flatten-dict==0.4.2', + 'flatten-dict==0.6.0', + 'requests==2.34.2', ] tests_require = [ - 'pytest==8.2.2', - 'pytest-cov==2.5.1', - 'pytest-mock==1.10.0', - 'pytest-responses==0.5.1', - 'flake8==3.5.0', - 'flake8-import-order==0.17.1', - 'flake8-print==3.1.0', - 'flake8-quotes==1.0.0', + 'flake8==7.5.0', + 'flake8-import-order==0.19.2', + 'flake8-print==5.0.0', + 'flake8-quotes==3.4.0', + 'pytest==9.2.0', + 'pytest-cov==7.1.0', + 'pytest-mock==3.17.0', + 'pytest-responses==0.6.0', + 'responses==0.26.3', ] extras_require = { @@ -24,8 +23,6 @@ 'dev': requires + tests_require } -setup_requires = ['pytest-runner'] if {'pytest', 'test', 'ptr'}.intersection(sys.argv) else [] - setuptools.setup( name='arkecosystem-client', description='A simple Python API client for the ARK Blockchain.', @@ -34,8 +31,7 @@ author_email='info@client.io', url='https://github.com/ArkEcosystem/python-client', packages=setuptools.find_packages(exclude=['tests', 'tests.*']), + python_requires='>=3.11', install_requires=requires, extras_require=extras_require, - tests_require=tests_require, - setup_requires=setup_requires, )