From 70e933be88ae491417bf64bc511f4de7bd9df087 Mon Sep 17 00:00:00 2001 From: Trenton H <797416+stumpylog@users.noreply.github.com> Date: Wed, 9 Oct 2024 10:35:44 -0700 Subject: [PATCH] Chore: Python 3.13 testing and support (#37) --- .github/workflows/ci.yml | 2 +- CHANGELOG.md | 4 ++++ pyproject.toml | 6 +++++- 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9261394..7e071b1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -59,7 +59,7 @@ jobs: fail-fast: false matrix: # No pikepdf wheels for pypy3.8 - python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', 'pypy3.9', 'pypy3.10'] + python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13', 'pypy3.9', 'pypy3.10'] steps: - diff --git a/CHANGELOG.md b/CHANGELOG.md index 74ce323..1459995 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Added + +- Official support and testing for Python 3.13 ([#25](https://github.com/stumpylog/tika-client/pull/25)) + ### Changed - Use `pytest-docker` to manage Docker image services ([#36](https://github.com/stumpylog/gotenberg-client/pull/36)) diff --git a/pyproject.toml b/pyproject.toml index faeef77..82fafc9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -30,6 +30,7 @@ classifiers = [ "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy", ] @@ -110,7 +111,7 @@ cov-report = [ ] [[tool.hatch.envs.hatch-test.matrix]] -python = [ "3.8", "3.9", "3.10", "3.11", "3.12", "pypy3.9", "pypy3.10" ] +python = [ "3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "pypy3.9", "pypy3.10" ] # # Custom Environments @@ -252,6 +253,9 @@ lint.isort.force-single-line = true # Recognize us please lint.isort.known-first-party = [ "gotenberg_client" ] +[tool.pyproject-fmt] +max_supported_python = "3.13" + [tool.pytest.ini_options] minversion = "7.0" testpaths = [ "tests" ]