-
Notifications
You must be signed in to change notification settings - Fork 979
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 Python runtimes and add Python 3.10 runtime #505
Conversation
Python 3.9.10 and 3.10.2 are now available, see https://pythoninsider.blogspot.com/2022/01/python-3102-3910-and-3110a4-are-now.html.
|
@leoherran-aws @jpculp @dougnukem @xgnl - What's the process for getting this merged in? |
Updated Python versions: - 3.7.10 → 3.7.12 - 3.8.10 → 3.8.12 - 3.9.5 → 3.9.9 Other updated versions: - pip: 21.1.2 → 21.3.1 - PyYAML: 5.4.1 → 6.0 - OpenSSL: 1.1.1k → 1.1.1m Note: I did not touch OpenSSL versions < 1.1.1k Closes aws#501
d0c628e
to
cd49bb2
Compare
I've resolved the merge conflict by rebasing. Python 3.7.13, 3.8.13, 3.9.12, and 3.10.4 are now available, see https://pythoninsider.blogspot.com/2022/03/python-3103-3911-3813-and-3713-are-now.html and https://pythoninsider.blogspot.com/2022/03/python-3104-and-3912-are-now-available.html. I've updated the PR.
|
This is the final regular maintenance release. See https://pythoninsider.blogspot.com/2022/05/python-3913-is-now-available.html
Thank you AWS for 2dea17b. This was just as I expected things to do down. (╯°□°)╯︵ ┻━┻ From CONTRIBUTING.md:
That sounds like a lie. You are ignoring pull requests from non-AWS folks in 90+% for most of your repos.
How to discuss when no one from AWS is responding? |
Python 3.10 is now supported in Ubuntu based images https://github.com/aws/aws-codebuild-docker-images/blob/master/ubuntu/standard/6.0/runtimes.yml. This version will get added for AL2 image in the next release. Resolving this PR, since CodeBuild builds its images from an internal repo and this GitHub repo is more for reference purposes on what CodeBuild images contain. Thanks for your contribution. |
@subinataws @michael-k @Dylan-AWS what about python 3.9.x in the standard:6.0 image? what is the rationale behind exposing this only in 5.0? right now 5.0 ships with a buggy version of npm by default but our lambdas (and their builds) require python 3.9 (3.10 is not yet supported) |
@obataku - Going forward, CodeBuild will only be providing one runtime version per language runtime in each image release. Providing multiple version of the language runtimes has led to errors and delays in our image release process. I didn't quite follow the issue you are facing with npm and python for your Lambda function. Could you highlight the bug in standard 5.0 for npm? Sounds like that's the one to fix from our end. |
@subinataws unfortunately the bug has not been fixed in node 14/npm 6 (see npm/cli#4896) although there are a few manual workarounds (e.g. upgrading as for providing one runtime version per image release, does that mean e.g. node 18 will have to wait for standard:7.0? since replacing the single available runtime version would be a breaking change |
@obataku - we unfortunately don't have plans to add more than one version of any programming language to standard images going forward. We also are not planning to add newer version to existing images, as that makes these (already large) images bigger. Adding more than one runtime version introduced a lot of edge cases and bugs that ultimately ended up delaying the availability of newer runtime versions for all users and resulted in slower provisioning time when a image or a layer of an image is removed from the cache. We'd like to understand the specific dependency that you have on python and node version for your Lambda function. Are you able to create a support case with AWS to look at this further? |
@subinataws can you advise regarding codebuild image versioning moving forward?
there are more-or-less unpleasant/tedious workarounds but ultimately our lambda build & packaging (via
and so on the first is undoubtedly the easiest and we can maintain our workaround for now but the best case scenario would involve
|
Node 18 support will be added in a CodeBuild image, after that version is LTS (after 10/25) in a new standard image, whichever the version happens to be at that point. |
Issue #, if available: Feature request: Python 3.10 support #501
Description of changes:
Added Python version:
3.10.13.10.23.10.4Updated Python versions:
3.7.123.7.133.8.123.8.133.9.93.9.103.9.123.9.13 (final regular maintenance release)Other updated versions:
21.3.122.0.4 (Changelog)1.1.1m1.1.1n1.1.1o (Changelog)Note: I did not touch OpenSSL versions < 1.1.1k
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.