From 05c3c92b77f7e17d8e2bfb6797d1ca9131cdcde7 Mon Sep 17 00:00:00 2001 From: Erik Vroon Date: Fri, 1 Nov 2024 18:04:30 +0100 Subject: [PATCH] Support Python 3.13 --- .semaphore/semaphore.yml | 5 +++++ CHANGELOG.md | 13 +++++++++++++ pyproject.toml | 1 + src/heliclockter/__init__.py | 2 +- 4 files changed, 20 insertions(+), 1 deletion(-) diff --git a/.semaphore/semaphore.yml b/.semaphore/semaphore.yml index ff3a662..938b632 100644 --- a/.semaphore/semaphore.yml +++ b/.semaphore/semaphore.yml @@ -43,6 +43,11 @@ blocks: # Semaphore does not have python3.12, so we run the tests using a Dockerfile - "sudo docker build --build-arg PYTHON_VERSION=3.12.1 -t py312 . && sudo docker run py312" + - name: "Unit tests 3.13" + commands: + # Semaphore does not have python3.13, so we run the tests using a Dockerfile + - "sudo docker build --build-arg PYTHON_VERSION=3.13.0 -t py313 . && sudo docker run py313" + - name: "Typing" commands: - "export PUBLISH_JUNIT_REPORT=true" # Export junit report from this job diff --git a/CHANGELOG.md b/CHANGELOG.md index 12b5ce7..963e500 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,16 @@ +1.3.1 +----- + +Released 2024-11-11. + +**Breaking changes**: + +- None + +Release highlights: + +- Adds support for python 3.13. + 1.3.0 ----- diff --git a/pyproject.toml b/pyproject.toml index 4e73ad9..f5e75f4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -19,6 +19,7 @@ classifiers = [ 'Programming Language :: Python :: 3.10', 'Programming Language :: Python :: 3.11', 'Programming Language :: Python :: 3.12', + 'Programming Language :: Python :: 3.13', 'Typing :: Typed' ] dependencies = [] diff --git a/src/heliclockter/__init__.py b/src/heliclockter/__init__.py index 26ce602..54b6a4a 100644 --- a/src/heliclockter/__init__.py +++ b/src/heliclockter/__init__.py @@ -44,7 +44,7 @@ tz_local = cast(ZoneInfo, _datetime.datetime.now().astimezone().tzinfo) -__version__ = '1.3.0' +__version__ = '1.3.1' DateTimeTzT = TypeVar('DateTimeTzT', bound='datetime_tz')