From 7d696510a3408be3effbb244d8f7ee1f553d129d Mon Sep 17 00:00:00 2001 From: Rotzbua Date: Mon, 1 Apr 2024 21:42:35 +0200 Subject: [PATCH] feat: allow python 3.12 --- .github/workflows/checks.yml | 2 +- setup.cfg | 3 ++- tox.ini | 3 ++- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index f185c69..a37c33a 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -38,7 +38,7 @@ jobs: strategy: matrix: platform: [ubuntu-latest, macos-latest, windows-latest] - 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: - name: Checkout repository diff --git a/setup.cfg b/setup.cfg index e55345c..d1bbac6 100644 --- a/setup.cfg +++ b/setup.cfg @@ -20,10 +20,11 @@ classifiers = Programming Language :: Python :: 3.9 Programming Language :: Python :: 3.10 Programming Language :: Python :: 3.11 + Programming Language :: Python :: 3.12 [options] packages = svgcheck, svgcheck.Results, svgcheck.Tests, svgcheck.Tests.cache_saved -python_requires = >=3.7, <3.12 +python_requires = >=3.7, <3.13 install_requires = lxml>=4.1.1 xml2rfc>=3.16.0 diff --git a/tox.ini b/tox.ini index 1f5bd3d..7c1be87 100644 --- a/tox.ini +++ b/tox.ini @@ -4,7 +4,7 @@ # and then run "tox" from this directory. [tox] -envlist = py{37,38,39,310,311}-{linux,macos,windows} +envlist = py{37,38,39,310,311,312}-{linux,macos,windows} [gh-actions] python = @@ -13,6 +13,7 @@ python = 3.9: py39 3.10: py310 3.11: py311 + 3.12: py312 [gh-actions:env] PLATFORM =