From 2412a4640d7f2ff1f95468e15e6a371d4677b5ee Mon Sep 17 00:00:00 2001 From: Florian Spreckelsen <f.spreckelsen@indiscale.com> Date: Sun, 14 Apr 2024 11:42:26 +0200 Subject: [PATCH] MAINT: Add support for Python 3.12 and experimental support for 3.13 --- .gitlab-ci.yml | 14 ++++++++++++++ CHANGELOG.md | 1 + tox.ini | 2 +- 3 files changed, 16 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 817f0819..89df9fa7 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -156,6 +156,20 @@ unittest_py311: image: python:3.11 script: *python_test_script +unittest_py312: + tags: [docker] + stage: unittest + image: python:3.12 + script: *python_test_script + +unittest_py313: + allow_failure: true + tags: [docker] + stage: unittest + image: python:3.13-rc + script: *python_test_script + + # Build the sphinx documentation and make it ready for deployment by Gitlab Pages # Special job for serving a static website. See https://docs.gitlab.com/ee/ci/yaml/README.html#pages pages_prepare: &pages_prepare diff --git a/CHANGELOG.md b/CHANGELOG.md index da90043e..6ecccea9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Json schema exporter: - has new parameter `use_rt_pool` - propagates more properties in the `make_array` function +- Support for Python 3.12 and experimental support for 3.13 ### Changed ### diff --git a/tox.ini b/tox.ini index 15a968f4..a7e06bf5 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist=py38, py39, py310, py311 +envlist=py38, py39, py310, py311, py312, py313 skip_missing_interpreters = true [testenv] -- GitLab