From f485e369a2bbb5b29e91fc140b263ac91fd6fb30 Mon Sep 17 00:00:00 2001 From: Egor Fedorov Date: Tue, 10 Sep 2024 20:50:30 +0700 Subject: [PATCH] Bump requirements versions, tested with actual environments --- .github/workflows/testing.yml | 2 +- README.rst | 4 ++-- requirements-tests.txt | 8 ++++---- requirements.txt | 4 ++-- setup.py | 11 ++++++----- tox.ini | 5 +---- 6 files changed, 16 insertions(+), 18 deletions(-) diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml index ada1e1e..d994c47 100644 --- a/.github/workflows/testing.yml +++ b/.github/workflows/testing.yml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: [3.5, 3.6, 3.7, 3.8] + python-version: ['3.8', '3.9', '3.10', '3.11', '3.12'] steps: - uses: actions/checkout@v2 diff --git a/README.rst b/README.rst index 9812f6d..c740a12 100644 --- a/README.rst +++ b/README.rst @@ -10,7 +10,7 @@ Lightweight library for AWS SWF. Requirements ~~~~~~~~~~~~ -- Python 3.5, 3.6, 3.7, 3.8 (tested) +- Python 3.8, 3.9, 3.10, 3.11, 3.12 (tested) - Boto3 (tested) Goal @@ -20,7 +20,7 @@ The goal of this library is to allow the creation of Amazon Simple Workflow without the need to worry about the orchestration of the different activities and building out the different workers. This framework aims to help simple workflows. If you have a more complex -case, you might want to use directly boto. +case, you might want to use directly boto3. Code sample ~~~~~~~~~~~ diff --git a/requirements-tests.txt b/requirements-tests.txt index ce57371..0ded7db 100644 --- a/requirements-tests.txt +++ b/requirements-tests.txt @@ -1,6 +1,6 @@ flake8 wheel -pytest-cov==2.5.1 -pytest==3.6.3 -tox==2.9.1 -coveralls==1.10.0 +pytest-cov==5.0.0 +pytest==8.3.2 +tox==4.18.1 +coveralls==4.0.0 diff --git a/requirements.txt b/requirements.txt index 2ab4b98..d3bd936 100755 --- a/requirements.txt +++ b/requirements.txt @@ -1,2 +1,2 @@ -backoff==1.4.3 -boto3==1.7.58 +backoff==2.2.1 +boto3==1.35.0 diff --git a/setup.py b/setup.py index 0045f7b..494a901 100755 --- a/setup.py +++ b/setup.py @@ -11,7 +11,7 @@ setup( name='Garcon', - version='1.0.2', + version='1.0.3', url='https://github.com/xethorn/garcon/', author='Michael Ortali', author_email='hello@xethorn.net', @@ -20,11 +20,12 @@ license='MIT', packages=find_packages(), include_package_data=True, - install_requires=['boto', 'backoff'], + install_requires=['boto3', 'backoff'], zip_safe=False, classifiers=[ - 'Programming Language :: Python :: 3.5', - 'Programming Language :: Python :: 3.6', - 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', + 'Programming Language :: Python :: 3.9', + 'Programming Language :: Python :: 3.10', + 'Programming Language :: Python :: 3.11', + 'Programming Language :: Python :: 3.12', ],) diff --git a/tox.ini b/tox.ini index cb40329..2c7d2b4 100644 --- a/tox.ini +++ b/tox.ini @@ -1,12 +1,9 @@ [tox] -envlist = py27,py34,py35,py36,py37 +envlist = py38,py39,py310,py311,py312 [testenv] deps = -rrequirements-tests.txt commands = py.test -[testenv:py27] -deps = -rrequirements-py2.txt - [testenv:py3] deps = -rrequirements.txt