Skip to content
Draft
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/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ concurrency:

env:
# renovate: datasource=python-version depName=python
PYTHON_VERSION: 3.14.2
PYTHON_VERSION: 3.15.0
# renovate: datasource=pypi depName=uv
UV_VERSION: 0.9.24

Expand Down
7 changes: 6 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# * https://github.com/astral-sh/uv-docker-example/blob/main/Dockerfile
# * https://github.com/wemake-services/wemake-django-template/blob/master/%7B%7Bcookiecutter.project_name%7D%7D/docker/django/Dockerfile

FROM python:3.14.2-slim-trixie@sha256:3955a7dd66ccf92b68d0232f7f86d892eaf75255511dc7e98961bdc990dc6c9b
FROM python:3.15.0a3-slim-trixie

RUN --mount=type=cache,target=/var/cache/apt --mount=type=cache,target=/var/lib/apt \
apt update && \
Expand All @@ -15,6 +15,11 @@ RUN --mount=type=cache,target=/var/cache/apt --mount=type=cache,target=/var/lib/
# For development purposes
just nano

RUN --mount=type=cache,target=/var/cache/apt --mount=type=cache,target=/var/lib/apt \
apt install -y --no-install-recommends \
# Required for 3.15 build
gcc libc6-dev zlib1g-dev libjpeg-dev

ENV PYTHONBREAKPOINT="ipdb.set_trace" \
PYTHONFAULTHANDLER=1 \
PYTHONUNBUFFERED=1 \
Expand Down
11 changes: 7 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ requires-python = ">=3.14"
classifiers = [
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.14",
"Programming Language :: Python :: 3.15",
]
dependencies = [
"celery[redis]==5.6.2",
Expand All @@ -27,14 +28,16 @@ dependencies = [
"django-phonenumber-field[phonenumberslite]==8.4.0",
"django-removals==1.1.6",
# TODO: Consider moving to dev dependencies
"django-watchfiles==1.4.0",
# django-watchfiles > watchfiles is not compatible with Python 3.15 yet
# "django-watchfiles==1.4.0",
"djangorestframework==3.16.1",
"drf-spectacular==0.29.0",
# drf-spectacular > jsonchema > rdps-py is not 3.15 compatible yet
# "drf-spectacular==0.29.0",
"flower==2.0.1",
"gitpython==3.1.46",
"gunicorn==23",
# https://docs.djangoproject.com/en/dev/releases/4.2/#psycopg-3-support
"psycopg[binary]==3.3.2",
"psycopg==3.3.2",
"pygments==2.19.2",
"rich==14.2.0",
"sentry-sdk==2.49.0",
Expand Down Expand Up @@ -66,4 +69,4 @@ required-version = ">=0.8.4"
[tool.pyproject-fmt]
indent = 4
keep_full_version = true
max_supported_python = "3.14"
max_supported_python = "3.15"
4 changes: 2 additions & 2 deletions src/core/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@
"django_migration_vis",
# TODO: Consider making "django_watchfiles" dev-only
# TODO: Add benchmark details - reasoning: https://github.com/adamchainz/django-watchfiles/issues/174
"django_watchfiles",
"drf_spectacular",
# "django_watchfiles",
# "drf_spectacular",
"rest_framework",
]

Expand Down
Loading
Loading