Skip to content

Commit 29b0256

Browse files
committed
Add Python 3.13 support
1 parent e83f5d0 commit 29b0256

File tree

4 files changed

+577
-550
lines changed

4 files changed

+577
-550
lines changed

.github/workflows/ci.yml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
build:
1414
strategy:
1515
matrix:
16-
python-version: [3.9, "3.10", "3.11", "3.12"]
16+
python-version: [3.9, "3.10", "3.11", "3.12", "3.13"]
1717
include:
1818
- python-version: 3.9
1919
tox-py: py39
@@ -23,6 +23,8 @@ jobs:
2323
tox-py: py311
2424
- python-version: "3.12"
2525
tox-py: py312
26+
- python-version: "3.13"
27+
tox-py: py313
2628
runs-on: ubuntu-22.04
2729
steps:
2830
- uses: actions/checkout@v3
@@ -101,7 +103,7 @@ jobs:
101103
strategy:
102104
fail-fast: false
103105
matrix:
104-
python-version: ['3.9', '3.10', '3.11', '3.12']
106+
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']
105107
it-backend: [local, s3, gcs, minio, azure, azure-hierarchical]
106108
# IBM not included by default due to lite plan quota being easily exceeded
107109
#it-backend: [local, s3, gcs, minio, ibm, azure]
@@ -121,6 +123,12 @@ jobs:
121123
it-backend: gcs
122124
experimental: false
123125
java-version: '11.0.25'
126+
# one test with python 3.13
127+
- python-version: '3.13'
128+
cassandra-version: '4.1.9'
129+
it-backend: s3
130+
experimental: false
131+
java-version: '11.0.25'
124132
exclude:
125133
# no tests against cassandra 4.0.18 but the local ones
126134
- cassandra-version: '4.0.18'
@@ -136,6 +144,7 @@ jobs:
136144
# no tests against non-python 3.9, except the explicitly allowed combinations
137145
- python-version: '3.10'
138146
- python-version: '3.11'
147+
- python-version: '3.13'
139148
- cassandra-version: '4.1.9'
140149

141150
runs-on: ubuntu-24.04

k8s/Dockerfile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM --platform=linux/${TARGETARCH} python:3.12-alpine AS base
1+
FROM --platform=linux/${TARGETARCH} python:3.13-alpine AS base
22

33
ARG TARGETARCH
44

@@ -18,20 +18,20 @@ RUN apk add --no-cache \
1818

1919
ENV PATH=/root/.local/bin:$PATH
2020

21-
COPY . /build/
22-
2321
# General requirements
2422
ENV POETRY_VIRTUALENVS_IN_PROJECT=true
2523
RUN pip install --no-cache-dir poetry==1.8.5
2624

2725
# Install ssh-python separately first
28-
RUN pip install --no-cache-dir ssh-python==1.1.0
26+
RUN pip install --no-cache-dir ssh-python==1.1.1
27+
28+
COPY . /build/
2929

3030
# Build medusa itself so we can add the executables in the final image
3131
RUN cd /build && poetry build && poetry install
3232

3333
# Could be python:slim, but we have a .sh entrypoint
34-
FROM --platform=linux/${TARGETARCH} python:3.12-alpine
34+
FROM --platform=linux/${TARGETARCH} python:3.13-alpine
3535

3636
# Reuse the architecture argument
3737
ARG TARGETARCH

0 commit comments

Comments
 (0)