From 9a8aa0523bce2fd26b3c02b088fd2d953f261cb8 Mon Sep 17 00:00:00 2001
From: Moul <moul@moul.re>
Date: Fri, 19 May 2023 18:10:05 +0200
Subject: [PATCH] Introduce Py3.12 test job (#448)

Bump pendulum to v3 alpha which provides a wheel for Py3.11
---
 .gitlab-ci.yml | 5 +++++
 pyproject.toml | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index e363e34a..cb989a1a 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -127,6 +127,11 @@ tests:3.11:cov:
         coverage_format: cobertura
         path: coverage.xml
 
+tests:3.12:
+  extends: .tests
+  variables:
+    PYTHON_VERSION: "3.12"
+
 .image:
   stage: package
   tags: [docker]
diff --git a/pyproject.toml b/pyproject.toml
index 8700e99c..f8e5183e 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -18,7 +18,7 @@ python = "^3.8.0"
 duniterpy = "1.1.0"
 click = "^8.1.3"
 texttable = "^1.6.7"
-pendulum = "^2.1.2"
+pendulum = "^3.0.0a1"
 
 [tool.poetry.group.test.dependencies]
 pytest = "^7.3.1"
-- 
GitLab