From fcbc4130e5fc08dd1d12bad9c7ea1ae1d6c72f31 Mon Sep 17 00:00:00 2001 From: Aaron Shaw Date: Thu, 5 Jan 2023 05:01:16 +0000 Subject: [PATCH 1/3] feat: bump flake8 and python version - update requirements.txt to bump flake8 - update python version to 3.8 - bump package requires in setup.py --- .github/workflows/publish-to-pypi-test.yml | 4 ++-- .github/workflows/publish-to-pypi.yml | 4 ++-- .github/workflows/unit-tests.yml | 4 ++-- requirements.txt | 2 +- setup.py | 4 ++-- test-requirements.txt | 2 +- 6 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/publish-to-pypi-test.yml b/.github/workflows/publish-to-pypi-test.yml index a549d52..92ba651 100644 --- a/.github/workflows/publish-to-pypi-test.yml +++ b/.github/workflows/publish-to-pypi-test.yml @@ -10,10 +10,10 @@ jobs: steps: - uses: actions/checkout@v3 - - name: Set up Python 3.7 + - name: Set up Python 3.8 uses: actions/setup-python@v4 with: - python-version: 3.7 + python-version: 3.8 - name: Fetch gateway-mfr-rs env: diff --git a/.github/workflows/publish-to-pypi.yml b/.github/workflows/publish-to-pypi.yml index adc18c3..9f65843 100644 --- a/.github/workflows/publish-to-pypi.yml +++ b/.github/workflows/publish-to-pypi.yml @@ -13,10 +13,10 @@ jobs: steps: - uses: actions/checkout@v3 - - name: Set up Python 3.7 + - name: Set up Python 3.8 uses: actions/setup-python@v4 with: - python-version: 3.7 + python-version: 3.8 - name: Fetch gateway-mfr-rs env: diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml index 408200a..f462259 100644 --- a/.github/workflows/unit-tests.yml +++ b/.github/workflows/unit-tests.yml @@ -10,10 +10,10 @@ jobs: steps: - uses: actions/checkout@v3 - - name: Set up Python 3.7 + - name: Set up Python 3.8 uses: actions/setup-python@v4 with: - python-version: 3.7 + python-version: 3.8 - name: Install requirements run: | diff --git a/requirements.txt b/requirements.txt index 497dca0..66e9d22 100644 --- a/requirements.txt +++ b/requirements.txt @@ -2,4 +2,4 @@ requests==2.28.1 retry==0.9.2 base58==2.1.1 protobuf==3.20.3 -packaging>=21.3 +packaging>=22.0 diff --git a/setup.py b/setup.py index 02196d9..27619bf 100644 --- a/setup.py +++ b/setup.py @@ -11,11 +11,11 @@ long_description_content_type="text/markdown", url="https://github.com/NebraLtd/hm-pyhelper", install_requires=[ - 'requests>=2.26.0', + 'requests>=2.28.1', 'retry==0.9.2', 'base58==2.1.1', 'protobuf==3.20.3', - 'packaging>=21.3' + 'packaging>=22.0' ], project_urls={ "Bug Tracker": "https://github.com/NebraLtd/hm-pyhelper/issues", diff --git a/test-requirements.txt b/test-requirements.txt index cf861a3..0188096 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -1,4 +1,4 @@ mock==5.0.0 pytest==7.2.0 -flake8==5.0.4 +flake8==6.0.0 responses==0.22.0 From 2df9a2561c9db0348de7f069536d463ceb1d8342 Mon Sep 17 00:00:00 2001 From: Aaron Shaw Date: Thu, 5 Jan 2023 17:05:07 +0000 Subject: [PATCH 2/3] Update setup.py --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 27619bf..07c48a7 100644 --- a/setup.py +++ b/setup.py @@ -3,7 +3,7 @@ setup( name='hm_pyhelper', - version='0.13.45', + version='0.13.46', author="Nebra Ltd", author_email="support@nebra.com", description="Helium Python Helper", From 8d29a1d6b04552b75c8e0681ee70ed38fb0b8ce3 Mon Sep 17 00:00:00 2001 From: Aaron Shaw Date: Thu, 5 Jan 2023 17:06:45 +0000 Subject: [PATCH 3/3] Update setup.py --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 07c48a7..1fb7487 100644 --- a/setup.py +++ b/setup.py @@ -14,7 +14,7 @@ 'requests>=2.28.1', 'retry==0.9.2', 'base58==2.1.1', - 'protobuf==3.20.3', + 'protobuf==4.21.12', 'packaging>=22.0' ], project_urls={