From 54d6aadf73805557cf2794e70955ed70c0d9e28b Mon Sep 17 00:00:00 2001 From: Stevie Date: Mon, 23 Jan 2023 13:54:58 +0100 Subject: [PATCH 1/3] chore(tests): add Python 3.10/3.11 in CI runs/tox/trove classifier --- .github/workflows/test.yml | 8 ++++---- setup.py | 2 ++ tox.ini | 2 +- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index de13472..412af03 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -11,16 +11,16 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["2.7", "3.5", "3.6", "3.7", "3.8", "3.9", "3.10-dev", "pypy3"] + python-version: ["2.7", "3.5", "3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "pypy3"] os: [ubuntu-latest] include: - { python-version: "3.7", os: macos-latest } steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 with: python-version: ${{ matrix.python-version }} @@ -30,7 +30,7 @@ jobs: echo "::set-output name=dir::$(pip cache dir)" - name: Cache - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: ${{ steps.pip-cache.outputs.dir }} key: diff --git a/setup.py b/setup.py index 859ba49..6ca8d10 100755 --- a/setup.py +++ b/setup.py @@ -126,6 +126,8 @@ def have_environment_marker_support(): '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 :: Implementation :: CPython', 'Programming Language :: Python :: Implementation :: PyPy', 'Topic :: Communications', diff --git a/tox.ini b/tox.ini index e799cb4..f47b45c 100644 --- a/tox.ini +++ b/tox.ini @@ -4,7 +4,7 @@ # directory. [tox] -envlist = py27, py35, py36, py37, py38, py39, pypy +envlist = py27, py35, py36, py37, py38, py39, py310, py311, pypy [testenv] deps = -rrequirements-tests.txt From 11d62fbb1548cd4280cb4bdecae5d70910f8910d Mon Sep 17 00:00:00 2001 From: Stevie Date: Mon, 23 Jan 2023 14:03:54 +0100 Subject: [PATCH 2/3] chore(tests): add Python 3.12 in test matrix --- .github/workflows/test.yml | 2 +- tox.ini | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 412af03..fbf2da6 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -11,7 +11,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["2.7", "3.5", "3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "pypy3"] + python-version: ["2.7", "3.5", "3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12-dev", "pypy3"] os: [ubuntu-latest] include: - { python-version: "3.7", os: macos-latest } diff --git a/tox.ini b/tox.ini index f47b45c..ac11b17 100644 --- a/tox.ini +++ b/tox.ini @@ -4,7 +4,7 @@ # directory. [tox] -envlist = py27, py35, py36, py37, py38, py39, py310, py311, pypy +envlist = py{27, 35, 36, 37, 38, 39, 310, 311, 312, py} [testenv] deps = -rrequirements-tests.txt From 0ce390f2805c4d6506890eb7b1cbc8f28357a6bc Mon Sep 17 00:00:00 2001 From: Stevie Date: Mon, 23 Jan 2023 14:04:31 +0100 Subject: [PATCH 3/3] chore(actions): upgrade codecov/codecov-action to v3 --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index fbf2da6..80fd25f 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -52,6 +52,6 @@ jobs: make test - name: Upload coverage - uses: codecov/codecov-action@v1 + uses: codecov/codecov-action@v3 with: name: ${{ matrix.os }} Python ${{ matrix.python-version }}