Skip to content
Open
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
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.12.1 as requirements-stage
FROM python:3.13.11 as requirements-stage

WORKDIR /tmp

Expand All @@ -8,7 +8,7 @@ COPY ./pyproject.toml ./poetry.lock* /tmp/

RUN poetry export -f requirements.txt --output requirements.txt --without-hashes

FROM python:3.12.1
FROM python:3.13.11
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

asyncpg 0.29.0 incompatible with Python 3.13 upgrade

Upgrading from Python 3.12 to 3.13 breaks the build because asyncpg version 0.29.0 in poetry.lock lacks Python 3.13 wheel support and fails to compile from source due to deprecated C API usage (Py_TRASHCAN_SAFE_BEGIN). Python 3.13 support was added in asyncpg 0.30. The poetry.lock file needs updating to a compatible asyncpg version before this Python upgrade can work.

Additional Locations (1)

Fix in Cursor Fix in Web

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

greenlet 3.0.3 incompatible with Python 3.13 upgrade

The greenlet package version 3.0.3 locked in poetry.lock lacks Python 3.13 wheel support and fails to compile from source on Python 3.13. This package is required by SQLAlchemy's asyncio extras (used in pyproject.toml). Python 3.13 support was added in greenlet 3.1.0. The build will fail even if asyncpg is updated, requiring poetry.lock updates for both dependencies.

Fix in Cursor Fix in Web


WORKDIR /app

Expand Down