-
Notifications
You must be signed in to change notification settings - Fork 0
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
Upgrade api to Python 3.12 #465
Comments
Upgraded to 3.12.7. |
A couple annual limits tests now failing :/ |
figured them out! There was a redis call in utils that now fails if there is no annual limit data in redis for a service, which happens in the test. |
Working locally (devcontainer) with other apps. |
ready for review but will first get admin in |
tested in dev k8s and all looked good |
ok, so the lambda isn't happy :/
We can test the failing lambda version here. New that the working versions of the lambda do not crash for this console test. In New Relic we can see the that the bad version is connecting to New Relic here so it appears that the connection to New Relic is working. |
The documentation for how to build the dockerfile isn't quite the same as how we do it - going to see if using their approach makes a difference... |
Is this relevant to the complaint about registration? Trying to get the main branch Python 3.10 working with the instructions from the documentation and still having registration issues... testing in dev. uploading images to my own temp ecr and deploying them to api lambda. Can just run a "api gateway http" test packet through it to see the crash. |
using the code in main with the official New Relic 3.10 layer (replaced the one in the repo with this by running the docker image builds fine. |
ok. Looking at |
wait, it works on Debian? what is happening? |
Ben had a good suggestion - try debian-slim |
debian slim 'd 3.10 and 3.12 both work and are smaller images than the alpine 3.10 one 🎉 Going to perf test the slim 3.10 vs current 3.10 today, then if that's all good (and works!) get the 3.12 ready for the same. |
Blocked by incidents yesterday. |
So I think the debian-slim is fine. Will proceed with getting testing a 3.12 image on dev and then staging. |
I believe this PR is ready for review and test in staging 🎉 |
Won't test this in staging until after the annual limits bug bash |
Will test in staging after we do a perf and rollarcoaster test for the helm changes. |
blocked by code freeze |
Description
As a software developer working on GCNotify stack,
I want the Python stack to be upgraded at latest supported version,
So that I can leverage the latest features of the language and better/safer code.
As a system ops working on GCNotify stack,
I want the Python stack to be upgraded at latest supported version,
So that I can leverage the latest performance improvement
And process notifications faster.
WHY are we building?
To get latest performance improvements, features and security updates of the Python language/runtime.
WHAT are we building?
Upgrade the stack to the latest possible version of Python. A few considerations:
VALUE created by our solution
Better performance, security and reliability.
Acceptance Criteria
QA Steps
The text was updated successfully, but these errors were encountered: