Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/backend-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- uses: actions/checkout@v6
- uses: actions/setup-python@v5
with:
python-version: "3.13.5"
python-version: "3.14.7"
- name: Install uv
uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b
id: setup-uv
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/backend-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
- uses: actions/checkout@v6
- uses: actions/setup-python@v5
with:
python-version: "3.13.5"
python-version: "3.14.7"
- name: Install uv
uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b
id: setup-uv
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/claude.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ jobs:
fetch-depth: 1
- uses: actions/setup-python@v5
with:
python-version: "3.13.5"
python-version: "3.14.7"
- name: Install uv
uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b
id: setup-uv
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/graphql-schema.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:

- uses: actions/setup-python@v5
with:
python-version: "3.13.5"
python-version: "3.14.7"

- name: Install uv
uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b
Expand Down
2 changes: 1 addition & 1 deletion .tool-versions
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
nodejs 21.7.3
terraform 1.3.4
python 3.13.5
python 3.14.7
rust 1.61.0
pnpm 9
opentofu 1.9.0
2 changes: 1 addition & 1 deletion AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ The project uses Docker Compose for local development with services:

## Important Notes

- Python version: 3.13.5+ (specified in pyproject.toml)
- Python version: 3.14.7+ (specified in pyproject.toml)
- Uses `uv` for Python package management
- Uses `pnpm` for Node.js package management
- GraphQL schema auto-generation from Django backend to frontend
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.python.local
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
ARG FUNCTION_DIR="/home/app/"

FROM python:3.13.5
FROM python:3.14.7

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

Expand Down
2 changes: 1 addition & 1 deletion backend/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# check=skip=SecretsUsedInArgOrEnv
ARG FUNCTION_DIR="/home/app"

FROM python:3.13.5-slim AS base
FROM python:3.14.7-slim AS base

ENV DJANGO_SETTINGS_MODULE=pycon.settings.prod \
AWS_MEDIA_BUCKET=example \
Expand Down
2 changes: 1 addition & 1 deletion backend/api/grants/mutations.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ def set_answers_errors(self, answer_errors: dict):
# add_error() appends to list fields, so the JSON map is set directly
self._has_errors = True
if not self.errors:
self.errors = self.__annotations__["errors"]()
self.errors = type(self).__annotations__["errors"]()
self.errors.answers_errors = answer_errors


Expand Down
2 changes: 1 addition & 1 deletion backend/api/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def add_error(self, field: str, message: str):
self._has_errors = True

if not self.errors:
self.errors = self.__annotations__["errors"]()
self.errors = type(self).__annotations__["errors"]()

field = self.build_field_name(field)
parts = field.split(".")
Expand Down
8 changes: 4 additions & 4 deletions backend/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,10 @@ known-first-party = [


[project]
requires-python = ">=3.13.5"
requires-python = ">=3.14.7"
dependencies = [
"django==5.2.8",
"django-environ==0.10.0",
"django-environ==0.14.0",
"django-model-utils==5.0.0",
"django-timezone-field==7.0",
"certifi==2024.7.4",
Expand Down Expand Up @@ -73,7 +73,7 @@ dependencies = [
"django-import-export<4.0.0,>=3.2.0",
"dal-admin-filters==1.1.0",
"django-markdownify==0.9.5",
"django-imagekit==5.0.0",
"django-imagekit==6.0.0",
"pillow==12.2.0",
"redis[hiredis]==8.1.0",
"google-api-python-client<3.0.0,>=2.94.0",
Expand All @@ -97,7 +97,7 @@ dependencies = [
"cryptography>=48.0.1",
"openai>=1.52.0",
"pydantic>=2.13.3",
"gunicorn>=23.0.0",
"gunicorn==26.2.0",
"tinycss2>=1.4.0",
"pypdf>=6.13.3",
"ipython>=8.30.0",
Expand Down
419 changes: 19 additions & 400 deletions backend/uv.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion infrastructure/applications/pycon_backend/web_task.tf
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ resource "aws_ecs_task_definition" "web" {
essential = true

command = [
"gunicorn", "-w", "5", "-b", "0.0.0.0:8000", "pycon.wsgi"
"gunicorn", "--preload", "-w", "5", "-b", "0.0.0.0:8000", "pycon.wsgi"
]

dockerLabels = {
Expand Down
Loading