Skip to content
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

Update Dockerfile to use Python 3.12 as base #3029

Merged
merged 2 commits into from
Jan 13, 2025
Merged

Conversation

vejmoj1
Copy link
Contributor

@vejmoj1 vejmoj1 commented Jan 12, 2025

Python 3.13 is supported since version 2.32, but the base image was still based on 3.11.

Python 3.13 has been supported since version 2.32, but the base image was still based on 3.11.
@cyberw
Copy link
Collaborator

cyberw commented Jan 12, 2025

3.11 was the latest supported in a couple of circumstances (e.g. AWS lambda), but it looks like they just released 3.12, so we could go to that. Are you solving a specific issue and would 3.12 be enough for you?

We usually aim for the most popular/most stable version rather than the very latest in the container image.

@vejmoj1
Copy link
Contributor Author

vejmoj1 commented Jan 12, 2025

Ahh, I see. We just moved our code base to 3.13, and that policy was enforced for our entire Python code base, so we had an issue with it during our load test image builds, but I believe we can work around it the same way we did for Python 3.12 as we do not use any Python 3.13 specific feature.

Let me know, and I can adjust this PR to update to 3.12.

@cyberw
Copy link
Collaborator

cyberw commented Jan 12, 2025

Let me know, and I can adjust this PR to update to 3.12.

Great! Adjust it and then I’ll merge it soon!

@vejmoj1
Copy link
Contributor Author

vejmoj1 commented Jan 13, 2025

Done

@cyberw cyberw changed the title Update Dockerfile to use Python 3.13 as base Update Dockerfile to use Python 3.12 as base Jan 13, 2025
@cyberw cyberw merged commit 45921a9 into locustio:master Jan 13, 2025
3 checks passed
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.

2 participants