-
Notifications
You must be signed in to change notification settings - Fork 6
Update Python #1930
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Update Python #1930
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -44,7 +44,7 @@ RUN /app/dg_projects/lakehouse/.venv/bin/dbt deps && \ | |
|
|
||
| # Then, use a final image without uv | ||
| # Using Python 3.13 to match builder image | ||
| FROM python:3.13-slim-bookworm | ||
| FROM python:3.14-slim-bookworm | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Bug: The Suggested FixUpdate the builder stage in Prompt for AI Agent |
||
| # It is important to use the image that matches the builder, as the path to the | ||
| # Python executable must be the same. | ||
|
|
||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,6 @@ | ||
| [project] | ||
| name = "lakehouse" | ||
| requires-python = ">=3.13,<3.14" | ||
| requires-python = ">=3.14,<3.15" | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Bug: The Suggested FixUpdate the Dockerfile's builder stage to use a Python 3.14 base image to match the requirement in Prompt for AI Agent |
||
| version = "0.1.0" | ||
| dependencies = [ | ||
| "dagster>=1.12.10", | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bug: Several
pyproject.tomlfiles were not updated to require Python 3.14, creating an inconsistency with the Docker images which now use Python 3.14.Severity: MEDIUM
Suggested Fix
Update the
requires-pythonsetting in the rootpyproject.toml,packages/ol-orchestrate-lib/pyproject.toml, anddg_projects/data_loading/pyproject.tomlto require Python 3.14 (e.g.,>=3.14,<3.15) to match the version used in the Docker containers.Prompt for AI Agent
Did we get this right? 👍 / 👎 to inform future reviews.