Skip to content

Update to Python 3.13#27

Merged
StevenMaude merged 1 commit intomainfrom
steve/python-3.13
Oct 14, 2025
Merged

Update to Python 3.13#27
StevenMaude merged 1 commit intomainfrom
steve/python-3.13

Conversation

@StevenMaude
Copy link
Copy Markdown
Contributor

Fixes #26.

ehrQL was updated to Python 3.13, but the configuration here was not updated. The dev container build was therefore failing as the latest ehrQL version (which was build uses) was incompatible with the Python in the Docker image.

Fixes #26.

ehrQL was updated to Python 3.13, but the configuration here was not
updated. The dev container build was therefore failing as the latest
ehrQL version (which was build uses) was incompatible with the Python in
the Docker image.
Copy link
Copy Markdown

@suzannehamilton suzannehamilton left a comment

Choose a reason for hiding this comment

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

Yep, I think that's all consistent

@StevenMaude StevenMaude merged commit 5ed1b1c into main Oct 14, 2025
@StevenMaude StevenMaude deleted the steve/python-3.13 branch October 14, 2025 11:57
@@ -1,4 +1,4 @@
FROM mcr.microsoft.com/devcontainers/python:3.11-bullseye
FROM mcr.microsoft.com/devcontainers/python:3.13-bullseye
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Could we make this based on ehrql:v1

The ms version doesn't nothing that is useful to us, afaict:
https://github.com/devcontainers/images/blob/main/src/python/.devcontainer/Dockerfile

Might require some work to test and customise the entrypoint for devcontainer usage, but might be a good idea?

Might also be a good idea for research-template-docker, too perhaps, depending on how the R issue is resolve, as we have a similar version mismatch thing there.

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

AIUI, critial dev features are installed in at the point of codespace creation, not baked into the base image.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I created #28 from this thread, so the idea wasn't forgotten about (and so that I may link to it from elsewhere).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Dev container build is currently broken due to Python 3.13 required

3 participants