From 1a1a364af7332771eb4bbab28ab5f1f32737a3e8 Mon Sep 17 00:00:00 2001 From: Daniel Stoops Date: Fri, 28 Jun 2024 13:52:45 +0300 Subject: [PATCH] Support python 3.12 --- .github/workflows/workflow.yml | 2 +- pyproject.toml | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index f04a1b6..bb23c9f 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -7,7 +7,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ['3.7', '3.8', '3.9', '3.10', '3.11'] + python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12'] steps: - uses: actions/checkout@v3 - name: Set up Python ${{ matrix.python-version }} diff --git a/pyproject.toml b/pyproject.toml index 3eb4a55..8868181 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -13,7 +13,7 @@ select = [ [tool.tox] legacy_tox_ini = """ [tox] - envlist = quality, test, pypy, pypy3, py{37,38,39,310,311} + envlist = quality, test, pypy, pypy3, py{37,38,39,310,311,312} [gh-actions] python = @@ -22,6 +22,7 @@ legacy_tox_ini = """ 3.9: py39 3.10: py310 3.11: py311, quality, test, pypy, pypy3 + 3.12: py312 [testenv] basepython = @@ -32,6 +33,7 @@ legacy_tox_ini = """ py39: {env:PYTHON:python3.9} py310: {env:PYTHON:python3.10} py311: {env:PYTHON:python3.11} + py312: {env:PYTHON:python3.12} {quality,reformat,test,coverage}: {env:PYTHON:python3} setenv = PYTHONUNBUFFERED = yes @@ -92,6 +94,7 @@ classifiers = [ "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 :: Scientific/Engineering", "Topic :: Scientific/Engineering :: Physics",