Skip to content

Commit 9975aea

Browse files
Update Python to 3.13.5 (#4432)
Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com> Co-authored-by: Marco Acierno <[email protected]>
1 parent 28889bb commit 9975aea

File tree

7 files changed

+720
-892
lines changed

7 files changed

+720
-892
lines changed

.github/workflows/backend-checks.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- uses: actions/checkout@v4
1919
- uses: actions/setup-python@v5
2020
with:
21-
python-version: "3.11.6"
21+
python-version: "3.13.5"
2222
- name: Install uv
2323
uses: astral-sh/setup-uv@v4
2424
id: setup-uv

.github/workflows/backend-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
- uses: actions/checkout@v4
3939
- uses: actions/setup-python@v5
4040
with:
41-
python-version: "3.11.6"
41+
python-version: "3.13.5"
4242
- name: Install uv
4343
uses: astral-sh/setup-uv@v4
4444
id: setup-uv

.tool-versions

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
nodejs 18.17.1
22
terraform 1.3.4
3-
python 3.11.2
3+
python 3.13.5
44
rust 1.61.0
55
pnpm 9
66
opentofu 1.9.0

Dockerfile.python.local

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
ARG FUNCTION_DIR="/home/app/"
22

3-
FROM python:3.11
3+
FROM python:3.13.5
44

55
RUN apt update -y && apt install -y ffmpeg libsm6 libxext6
66

backend/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# check=skip=SecretsUsedInArgOrEnv
22
ARG FUNCTION_DIR="/home/app"
33

4-
FROM python:3.11-slim AS base
4+
FROM python:3.13.5-slim AS base
55

66
ENV DJANGO_SETTINGS_MODULE=pycon.settings.prod \
77
AWS_MEDIA_BUCKET=example \

backend/pyproject.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
[tool.ruff]
33
line-length = 88
44
exclude = ["migrations"]
5-
target-version = "py311"
5+
target-version = "py313"
66

77
[tool.ruff.lint.isort]
88
known-first-party = [
@@ -42,7 +42,7 @@ known-first-party = [
4242

4343

4444
[project]
45-
requires-python = "<3.13,>=3.11"
45+
requires-python = ">=3.13.5"
4646
dependencies = [
4747
"django==5.1.4",
4848
"django-environ==0.10.0",
@@ -56,7 +56,7 @@ dependencies = [
5656
"aniso8601==9.0.1",
5757
"whitenoise==6.7.0",
5858
"django-ordered-model==3.5",
59-
"uWSGI==2.0.26",
59+
"uwsgi==2.0.30",
6060
"django-storages==1.14.4",
6161
"sentry-sdk==2.11.0",
6262
"boto3==1.35.76",
@@ -66,7 +66,7 @@ dependencies = [
6666
"hashids<2.0.0,>=1.2.0",
6767
"django-autocomplete-light==3.9.4",
6868
"django-queryinspect<2.0.0,>=1.1.0",
69-
"lxml<5.0.0,>=4.5.0",
69+
"lxml==6.0.0",
7070
"unidecode<2.0.0,>=1.1.1",
7171
"strawberry-graphql==0.243.1",
7272
"Werkzeug<2.0.0,>=1.0.1",
@@ -89,7 +89,7 @@ dependencies = [
8989
"Jinja2>=3.1.3",
9090
"icalendar>=5.0.11",
9191
"pyclamd>=0.4.0",
92-
"magika>=0.5.1",
92+
"magika==0.6.2",
9393
"tzdata>=2024.1",
9494
"wagtail-factories==4.2.1",
9595
"google-auth-oauthlib>=1.2.1",

backend/uv.lock

Lines changed: 710 additions & 882 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)