-
Notifications
You must be signed in to change notification settings - Fork 10
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 exodus-cdn to Python3.11 runtime [RHELDST-18509] #505
Upgrade exodus-cdn to Python3.11 runtime [RHELDST-18509] #505
Conversation
8d3ae3a
to
4eb3f4d
Compare
There seems to be a bug in pip [0], which results in the incorrect handling of extra dependencies. This only seems to be an issue in python 3.11.
When trying to work around this issue by manually pinning the tomli package (adding tomli to test-requirements.in), an identical So, I don't think we can pin exodus-lambda's minimum python version to
logs from my origin request lambda (it is no longer crashing with the error mentioned in my exodus-cdn-playbooks MR):
[0] pypa/pip#9644 |
How do you reproduce the errors discussed here? I tried this:
I would much prefer if we can solve this, because if we move forward with running pip-compile using python 3.9 but deploying with 3.11, it might initially work but then break without warning at any time. I see it as tech debt. I feel like there will be a reasonable solution to this, but the first step would be to reproduce the issue, which I can't so far. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we do need to get pip-compile working on python3.11 if at all feasible.
4eb3f4d
to
b8df05b
Compare
Hmm, that's odd. I pushed the py3.11 pip-compile (and related changes) to show you that the bandit step of the CI fails, but the error has disappeared. I can't see the past CI job logs, so I don't have any evidence to help determine why bandit no longer fails. Regardless, it is working as expected now:
|
No description provided.