From 87e124ae5ff019433e40789718ae436d87f6af5a Mon Sep 17 00:00:00 2001 From: Jelmer Draaijer Date: Wed, 20 Sep 2023 08:39:11 +0200 Subject: [PATCH] Add Python 3.12 to pipelines --- .github/workflows/test.yml | 3 ++- requirements/test.pip | 3 ++- tox.ini | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index f86e6922..9b225c21 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -14,12 +14,13 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ["3.8", "3.9", "3.10", "3.11", "pypy3.8"] + python-version: ["3.8", "3.9", "3.10", "3.11", "pypy3.8", "3.12"] steps: - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v4 with: python-version: ${{ matrix.python-version }} + allow-prereleases: true - name: Checkout code uses: actions/checkout@v3 - name: Install dependencies diff --git a/requirements/test.pip b/requirements/test.pip index f093d4b9..eab08942 100644 --- a/requirements/test.pip +++ b/requirements/test.pip @@ -8,5 +8,6 @@ pytest-flask==1.2.0 pytest-mock==3.6.1 pytest-profiling==1.7.0 tzlocal -invoke==2.0.0 +invoke==2.2.0 twine==3.8.0 +setuptools diff --git a/tox.ini b/tox.ini index 37785b49..59bed6cd 100644 --- a/tox.ini +++ b/tox.ini @@ -4,7 +4,7 @@ # and then run "tox" from this directory. [tox] -envlist = py{38, 39, 310, 311}, pypy3.8, doc +envlist = py{38, 39, 310, 311, 312}, pypy3.8, doc [testenv] commands = {posargs:inv test qa}