From 1a7b54848c67c5852fc3a6bcae9ed107a9a57230 Mon Sep 17 00:00:00 2001 From: Gabriel Dugny Date: Tue, 29 Oct 2024 17:42:06 +0100 Subject: [PATCH] feat: test and support for Python 3.13 --- .github/workflows/ci.yml | 2 +- CHANGELOG.md | 4 ++++ pyproject.toml | 1 + tox.ini | 2 +- 4 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4e7570b..1f787bd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,7 +19,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["3.9", "3.10", "3.11", "3.12"] + python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"] # Empty is latest, head is latest from GitHub pdm-version: [""] diff --git a/CHANGELOG.md b/CHANGELOG.md index 3954b41..1fa58cc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,10 @@ For a list of planned features, see [the roadmap](ROADMAP.md). ## Unreleased +- Test using Python 3.13 + +## 0.3.1 - 2024-04-03 + - *CHANGED* `LOGGIA_SUB_LEVEL` and [set_logger_level][loggia.conf.LoggerConfiguration.set_logger_level] now accept a lowercase strings and ints as well as uppercase strings. - *FIXED* `ddtrace` was imported even with `DD_TRACE_ENABLED=false` diff --git a/pyproject.toml b/pyproject.toml index 968adf0..ae3d7ba 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -28,6 +28,7 @@ classifiers = [ "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", "Typing :: Typed", "Topic :: Software Development :: Libraries :: Python Modules", "Topic :: System :: Logging", diff --git a/tox.ini b/tox.ini index 3a43cb0..508f7ef 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = py3{9,10,11,12}-loguru{0,1}-ddtrace{0,1} +envlist = py3{9,10,11,12,13}-loguru{0,1}-ddtrace{0,1} isolated_build = True ; This is required for a pyproject.toml based project. [testenv]