From c60850d53eb57d715281a8577087ae84a102d3e8 Mon Sep 17 00:00:00 2001 From: Nicolas Simonds Date: Tue, 27 Feb 2024 16:39:33 -0800 Subject: [PATCH] chore: update tests to run on node 20 Fix workflows, tox.ini Drop Python < 3.8 support --- .github/workflows/tests.yml | 6 +++--- setup.py | 4 ++-- tox.ini | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 54ac128..87975f0 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -9,7 +9,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ["3.6", "3.7", "3.8", "3.9", "3.10", "pypy3"] + python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] services: redis: @@ -18,10 +18,10 @@ jobs: - 6379:6379 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v2 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} diff --git a/setup.py b/setup.py index 9969832..4b4afff 100644 --- a/setup.py +++ b/setup.py @@ -34,11 +34,11 @@ 'Natural Language :: English', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3 :: Only', - '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', ], keywords='task queue jobs redis', diff --git a/tox.ini b/tox.ini index 8e83d76..2a62ff8 100644 --- a/tox.ini +++ b/tox.ini @@ -7,7 +7,7 @@ envdir = py3: {toxworkdir}/py3 pep8: {toxworkdir}/py3 usedevelop = True -whitelist_externals = +allowlist_externals = docker-compose deps = pytest