From 0e837bd7d0589a8f7efdf5d3817acfd5e48ae475 Mon Sep 17 00:00:00 2001 From: JureZmzrlikar Date: Fri, 27 Oct 2023 14:28:21 +0200 Subject: [PATCH] Add support for Python 3.12 --- .github/workflows/build.yml | 4 +++- docs/changelog.rst | 9 +++++++++ pyproject.toml | 5 +++-- tox.ini | 6 +++--- 4 files changed, 18 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9d52c3a..457ba56 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -14,7 +14,7 @@ jobs: strategy: fail-fast: false matrix: - tox-env: [py38, py39, py310, py311, docs, linters, package] + tox-env: [py38, py39, py310, py311, py312, docs, linters, package] include: - tox-env: py38 python-version: 3.8 @@ -24,6 +24,8 @@ jobs: python-version: "3.10" - tox-env: py311 python-version: "3.11" + - tox-env: py312 + python-version: "3.12" - tox-env: docs python-version: "3.10" - tox-env: linters diff --git a/docs/changelog.rst b/docs/changelog.rst index 0c9e494..d1a1d90 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -5,6 +5,15 @@ Change Log All notable changes to this project are documented in this file. +========== +Unreleased +========== + +Added +----- +- Add support for Python 3.12 + + ================== 2.0.1 - 2023-09-27 ================== diff --git a/pyproject.toml b/pyproject.toml index a5d0cff..2291523 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -15,7 +15,7 @@ authors = [ dynamic = ["version"] readme = "README.rst" license = {file = "LICENSE"} -requires-python = ">=3.8, <3.12" +requires-python = ">=3.8, <3.13" keywords = [ "bio", "bioinformatics", @@ -40,6 +40,7 @@ classifiers = [ "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", ] dependencies = [ "click", @@ -78,7 +79,7 @@ rnanorm = "rnanorm.cli:main" [tool.setuptools_scm] [tool.black] -target-version = ["py38", "py39", "py310", "py311"] +target-version = ["py38", "py39", "py310", "py311", "py312"] line-length = 99 [tool.isort] diff --git a/tox.ini b/tox.ini index f0b07e6..c6b0be6 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = py{38,39,310,311},docs,linters,package +envlist = py{38,39,310,311,312},docs,linters,package skip_missing_interpreters = True minversion = 3.5.0 isolated_build = true @@ -8,11 +8,11 @@ isolated_build = true extras = docs: docs package: package - py{38,39,310,311},linters: test + py{38,39,310,311,312},linters: test ignore_errors = true commands = # Run tests. - py{38,39,310,311}: pytest --verbose --cov=rnanorm + py{38,39,310,311,312}: pytest --verbose --cov=rnanorm # Build documentation. docs: sphinx-build docs build/sphinx -a -E -W