From ce1de48c9cf8e014a1cd0383ece1ee9691a77d9a Mon Sep 17 00:00:00 2001 From: Kesara Rathnayake Date: Wed, 30 Oct 2024 14:18:58 +1300 Subject: [PATCH] feat: Add support for Python 3.13 Fixes #58 --- .github/workflows/checks.yml | 2 +- requirements.txt | 4 ++-- setup.cfg | 6 +++--- tox.ini | 3 ++- 4 files changed, 8 insertions(+), 7 deletions(-) diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index cab735e..352e023 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.8', '3.9', '3.10', '3.11', '3.12'] + python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13'] steps: - name: Checkout repository diff --git a/requirements.txt b/requirements.txt index 3de2685..3c9e4c9 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,2 +1,2 @@ -lxml>=4.1.1 -xml2rfc>=3.16.0 +lxml>=5.3.0 +xml2rfc>=3.24.0 diff --git a/setup.cfg b/setup.cfg index ad1d41e..e45f780 100644 --- a/setup.cfg +++ b/setup.cfg @@ -14,19 +14,19 @@ classifiers = Topic :: Text Processing Topic :: Text Processing :: Markup :: XML License :: OSI Approved :: BSD License - Programming Language :: Python :: 3 Programming Language :: Python :: 3.8 Programming Language :: Python :: 3.9 Programming Language :: Python :: 3.10 Programming Language :: Python :: 3.11 Programming Language :: Python :: 3.12 + Programming Language :: Python :: 3.13 [options] packages = svgcheck, svgcheck.Results, svgcheck.Tests, svgcheck.Tests.cache_saved python_requires = >=3.8 install_requires = - lxml>=4.1.1 - xml2rfc>=3.16.0 + lxml>=5.3.0 + xml2rfc>=3.24.0 include_package_data = True tests_require = pycodestyle diff --git a/tox.ini b/tox.ini index 2da9adb..18aae13 100644 --- a/tox.ini +++ b/tox.ini @@ -4,7 +4,7 @@ # and then run "tox" from this directory. [tox] -envlist = py{38,39,310,311,312}-{linux,macos,windows} +envlist = py{38,39,310,311,313}-{linux,macos,windows} [gh-actions] python = @@ -13,6 +13,7 @@ python = 3.10: py310 3.11: py311 3.12: py312 + 3.13: py313 [gh-actions:env] PLATFORM =