chore: handle Python 3.9 in GitLab runner startup script (fix #1370)#1372
Merged
kayman-mk merged 2 commits intoMay 14, 2026
Merged
Conversation
For users on the standard EC2 AMI, the default Python version is 3.9. This causes the `eip.tftpl` startup script to fail when running the `https://bootstrap.pypa.io/get-pip.py` script, as it was updated on May 4th, to require Python >= 3.10. While it's not ideal to support a EOL Python version, we don't have much of a choice because of how the get-pip script works. See https://docs.aws.amazon.com/linux/al2023/ug/python.html
Contributor
|
Hey @alexruffo-hireborderless! 👋 Thank you for your contribution to the project. Please refer to the contribution rules for a quick overview of the process. Make sure that this PR clearly explains:
With submitting this PR you confirm that you hold the rights of the code added and agree that it will published under this LICENSE. The following ChatOps commands are supported:
Simply add a comment with the command in the first line. If you need to pass more information, separate it with a blank line from the command. This message was generated automatically. You are welcome to improve it. |
kayman-mk
approved these changes
May 14, 2026
kayman-mk
left a comment
Collaborator
There was a problem hiding this comment.
Thanks for your Python 3.9 fix
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
For users on the standard EC2 AMI, the default Python version is 3.9. This causes the
eip.tftplstartup script to fail when running thehttps://bootstrap.pypa.io/get-pip.pyscript, as it was updated on May 4th, to require Python >= 3.10.While it's not ideal to support a EOL Python version, we don't have much of a choice because of how the get-pip script works, and how the standard AWS AMIs work.
Ideally, we'd just update the default Python version, however this will apparently break other things reliant on 3.9
See https://docs.aws.amazon.com/linux/al2023/ug/python.html
Migrations required
No
Verification
I ran a build on our EC2 runners, with my changes, and it worked as expected.
System log output, from the code on this PR
Fixes #1370