From de0fae81821a78ed6b508d3570b56edb35293309 Mon Sep 17 00:00:00 2001 From: Lioman Date: Tue, 3 Oct 2023 16:59:57 +0200 Subject: [PATCH] Add python 3.12 to test matrix --- .github/workflows/main.yml | 17 ++++++++--------- setup.py | 2 ++ tox.ini | 3 ++- 3 files changed, 12 insertions(+), 10 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index b80d8926..58333075 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -25,6 +25,8 @@ jobs: python: "3.10" - os: ubuntu python: "3.11" + - os: ubuntu + python: "3.12" - os: macos python: "3.7" - os: windows @@ -36,8 +38,8 @@ jobs: uses: actions/setup-python@v4 with: python-version: ${{ matrix.config.python }} - cache: 'pip' - cache-dependency-path: '**/requirements/*' + cache: "pip" + cache-dependency-path: "**/requirements/*" - name: Install locale (Linux) if: startsWith(runner.os, 'Linux') run: sudo locale-gen fr_FR.UTF-8 tr_TR.UTF-8 @@ -56,7 +58,6 @@ jobs: - name: Run tests run: tox -e py${{ matrix.config.python }} - lint: name: Lint runs-on: ubuntu-latest @@ -67,14 +68,13 @@ jobs: uses: actions/setup-python@v4 with: python-version: "3.9" - cache: 'pip' - cache-dependency-path: '**/requirements/*' + cache: "pip" + cache-dependency-path: "**/requirements/*" - name: Install tox run: python -m pip install -U pip tox - name: Check run: tox -e flake8 - docs: name: Build docs runs-on: ubuntu-latest @@ -85,14 +85,13 @@ jobs: uses: actions/setup-python@v4 with: python-version: "3.9" - cache: 'pip' - cache-dependency-path: '**/requirements/*' + cache: "pip" + cache-dependency-path: "**/requirements/*" - name: Install tox run: python -m pip install -U pip tox - name: Check run: tox -e docs - deploy: name: Deploy environment: Deployment diff --git a/setup.py b/setup.py index 5d2023c6..18eedb00 100755 --- a/setup.py +++ b/setup.py @@ -77,6 +77,8 @@ setup( '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', 'Programming Language :: Python :: Implementation :: CPython', 'Topic :: Internet :: WWW/HTTP', 'Topic :: Software Development :: Libraries :: Python Modules', diff --git a/tox.ini b/tox.ini index 93819218..8f43fbc5 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = py{3.7,3.8,3.9,3.10,3.11},docs,flake8 +envlist = py{3.7,3.8,3.9,3.10,3.11.3.12},docs,flake8 [testenv] basepython = @@ -8,6 +8,7 @@ basepython = py3.9: python3.9 py3.10: python3.10 py3.11: python3.11 + py3.12: python3.12 passenv = * usedevelop=True deps =