-
Notifications
You must be signed in to change notification settings - Fork 56
test: Python 3.11 #528
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
test: Python 3.11 #528
Conversation
Alas, I was wrong about pyenv determining the latest patch for a minor.
I wonder if I can update pyenv on the Code Build host? |
This is very interesting:
Python 3.7, 3.8, and 3.9 are the 3 versions AWS CodeBuild publicly supports: It could be they have optimized these versions... |
For now, I think the best action is to delegate to GitHub CI for Python Minor testing, |
Getting CodeBuild to be optimal would take more time than it's worth. |
Issue #, if available: pyca/cryptography#8115 & Test 3.11
Description of changes:
Update Codebuild targets to use latest minor from Pyenv,Pyenv now supports using the latest patch for a minor available by just stating the major-minor target.
At least they do on pyenv @ 2.3.11.
Update CodeBuild CI to test 3.11Refactor CodeBuild testing to only test on CB's supported Python versions.We were using pyenv to install arbitrary Python versions.
But I have taken a closer look at what CB is doing, and I have concluded that we should not do that.
They appear to have customized the builds for their supported runtimes.
I think our GitHub CI adequately covers Python minor testing.
We should only use CB testing for integration testing, and use their optimized Python builds.
Create a CFN for the CodeBuild project based on what already exists,and update the Image to
aws/codebuild/amazonlinux2-x86_64-standard:3.0
.By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
Check any applicable: