Skip to content

Commit f5224b9

Browse files
committed
Explicitly support and run tests against Python 3.12 & 3.13
1 parent bf0fdcb commit f5224b9

File tree

6 files changed

+13
-5
lines changed

6 files changed

+13
-5
lines changed

.pylintrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ persistent=yes
8282

8383
# Minimum Python version to use for version dependent checks. Will default to
8484
# the version used to run pylint.
85-
py-version=3.11
85+
py-version=3.13
8686

8787
# Discover python modules and packages in the file system subtree.
8888
recursive=no

.travis.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,12 @@ jobs:
2828
- name: Python 3.11
2929
python: '3.11'
3030
env: TOXENV=py311,coverage,codecov
31+
- name: Python 3.12
32+
python: '3.12'
33+
env: TOXENV=py312,coverage,codecov
34+
- name: Python 3.13
35+
python: '3.13'
36+
env: TOXENV=py313,coverage,codecov
3137

3238
install:
3339
- pip install tox

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Requirements
3434
------------
3535

3636
- Operating system: Any maintained Linux, macOS, or Windows release
37-
- Python runtime: Any [maintained version](https://devguide.python.org/versions/#versions) (currently 3.8, 3.9, 3.10, and 3.11)
37+
- Python runtime: Any [maintained version](https://devguide.python.org/versions/#versions) (currently 3.8, 3.9, 3.10, 3.11, 3.12, and 3.13)
3838

3939
Getting started
4040
---------------

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ build-backend = "setuptools.build_meta"
44

55
[tool.black]
66
line-length = 88
7-
target-version = ['py38', 'py39', 'py310', 'py311']
7+
target-version = ['py38', 'py39', 'py310', 'py311', 'py312', 'py313']

setup.cfg

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ classifiers =
2323
Programming Language :: Python :: 3.9
2424
Programming Language :: Python :: 3.10
2525
Programming Language :: Python :: 3.11
26+
Programming Language :: Python :: 3.12
27+
Programming Language :: Python :: 3.13
2628
Topic :: Software Development :: Libraries
2729
keywords =
2830
draftable

tox.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tox]
22
# Environments to run tests against
3-
envlist = py3{8,9,10,11},coverage
3+
envlist = py3{8,9,10,11,12,13},coverage
44

55
# Minimum required tox version
66
#
@@ -18,7 +18,7 @@ passenv =
1818
DRAFTABLE_*
1919
setenv =
2020
COVERAGE_FILE = {toxworkdir}/.coverage.{envname}
21-
py3{8,9,10,11}: PYTHONDEVMODE = true
21+
py3{8,9,10,11,12,13}: PYTHONDEVMODE = true
2222
deps =
2323
check-manifest
2424
coverage

0 commit comments

Comments
 (0)