-
Notifications
You must be signed in to change notification settings - Fork 46
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 Beiwe Backend platforms to Python 3.12 #370
Comments
@hackdna let's check in on anything we will need to sync up to get forest working under 3.11. I checked last week and there was a requirements conflict (I believe with numpy) when I tried installing, but it may have been resolved by the celery update so I will have to check that again. I'm making an issue on forest, I should be competent on this one when we get to it, but I think there are CI things that you usually handle. |
@biblicabeebli lets discuss this at our next meeting and how I or the RA's can help |
This task got seriously delayed due to ios push notification resends issues dragging. |
@hackdna Do you know of any reason why the Forest codebase could not run under Python 3.12? |
Not at this time. If the test suite passes under 3.12 then it's likely there should be no issues. |
Documentation has been added to the wiki at https://github.com/onnela-lab/beiwe-backend/wiki/Upgrading-Elastic-Beanstalk-from-Python-3.8-to-3.12 We are currently dogfooding the I will be merging the python3.12 branch into |
This work is completed except for scouring for references to python 3.8. @reyvababtista We skipped 3.11 and went to 3.12 because I'm just cruel that way. Let's check in on making sure the Docker container is functional and updated to staged-updates. We aren't intentionally using anything from 3.12 that wasn't in 3.11. |
Current Status: Done, except for the Docker configuration.:
The changes are not yet pushed to the main branch for reasons not worth explaining hereIt's on main.We have yet to track down all references to "3.8."Other documentation has been updatedSo far there are no runtime issues, it was all deployment infrastructure that needed updating.
Original post:
Python 3.8 goes out of support in October (2024-10, https://devguide.python.org/versions/ ).
We are currently blocked on upgrading to the most recent Python 3.12 due to the platform not being available on Elastic Beanstalk.
Python platform upgrades are a somewhat complex to implement upgrade because we need to test and throw together directions like we have for the 3.6 to 3.8 upgrade, like we did here.
Usually the process is a fairly simple sequence of commands usung the AWS and Elastic Beanstalk command line tools.
The real complexity is:
The text was updated successfully, but these errors were encountered: