From e0b196a04d1790837e21190d095bb1ccfc2335af Mon Sep 17 00:00:00 2001
From: Moul <moul@moul.re>
Date: Thu, 10 Oct 2024 15:23:57 +0200
Subject: [PATCH] Add Py3.13 Alpine container and CI build config (#10)

Install rust/cargo for Pendulum
to be removed, once Pendulum provides 3.13 wheels
https://github.com/sdispater/pendulum/issues/844

Based on Alpine, since Pendulum has Rust syntax
requiring an up-to-date Rust version, thing that
Debian 12 does not have (#11)
---
 .gitlab-ci.yml  | 6 ++++++
 3.13/Dockerfile | 4 ++++
 2 files changed, 10 insertions(+)
 create mode 100644 3.13/Dockerfile

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index bccc7a5..7631c2a 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -9,6 +9,7 @@ test_build_image:
     - docker build 3.10
     - docker build 3.11
     - docker build 3.12
+    - docker build 3.13
   except:
     - tags
 
@@ -47,3 +48,8 @@ build_3_12:
   extends: .build_image
   variables:
     PYTHON_VERSION: "3.12"
+
+build_3_13:
+  extends: .build_image
+  variables:
+    PYTHON_VERSION: "3.13"
diff --git a/3.13/Dockerfile b/3.13/Dockerfile
new file mode 100644
index 0000000..22f424d
--- /dev/null
+++ b/3.13/Dockerfile
@@ -0,0 +1,4 @@
+FROM python:3.13-alpine
+
+# Install packages
+RUN apk add --no-cache libsodium-dev poetry git pre-commit cargo # pendulum
-- 
GitLab