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 {{cookiecutter.project_slug}}/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.10.6 as builder
FROM python:3.14.4 as builder
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Python 3.14 incompatible with pinned dependency versions

High Severity

Upgrading the base image to python:3.14.4 breaks the Docker build because the template's pyproject.toml pins dependencies to version ranges incompatible with Python 3.14. Specifically, black = "^23.9.1" caps at <24 (3.14 support added in 25.11.0), pytest = "^7.4.2" caps at <8 (3.14 support added in 8.4+), and pytest-asyncio = "^0.21.1" is similarly too old. The RUN poetry install step in the builder stage will fail to resolve compatible packages.

Additional Locations (1)
Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit f5edd75. Configure here.


ENV PATH="/root/.local/bin:${PATH}"

Expand All @@ -13,7 +13,7 @@ WORKDIR /venv/

RUN poetry install

FROM python:3.10.6
FROM python:3.14.4

LABEL version="{{cookiecutter.version}}"
LABEL author="{{cookiecutter.author}}"
Expand Down
Loading