-
Notifications
You must be signed in to change notification settings - Fork 2
Upgrade python to 3.12 #2551
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
base: main
Are you sure you want to change the base?
Upgrade python to 3.12 #2551
Conversation
FWIW, I opened an issue in the upstream CyberSource repo for the I also figured out a workaround. You can use the import warnings
with warnings.catch_warnings():
warnings.filterwarnings("ignore", category=SyntaxWarning)
from CyberSource import ApiClient, OrdersApi (this will need updates for the actual imports and such) I tested this in a test app I did up (see the issue) and this was sufficient to make pytest stop failing. |
62ab5b0
to
ba24588
Compare
for more information, see https://pre-commit.ci
Need some help from @rhysyngsun on a hypothesis test error |
I poked at this for about an hour. An upgrade to I'd suggest instead holding off on this until we finish switching over to keycloak at which point we'll just be removing the failing code here anyway. |
What are the relevant tickets?
Related to https://github.com/mitodl/hq/issues/5951
Description (What does it do?)
Upgrade python to 3.12
uwsgi
How can this be tested?
Nothing should break