Skip to content

Commit

Permalink
Add support for Python 3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
JureZmrzlikar committed Oct 27, 2023
1 parent ada33ea commit 0e837bd
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 6 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
9 changes: 9 additions & 0 deletions docs/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
==================
Expand Down
5 changes: 3 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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",
Expand Down Expand Up @@ -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]
Expand Down
6 changes: 3 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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
Expand Down

0 comments on commit 0e837bd

Please sign in to comment.