Skip to content
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.11 #370

Open
biblicabeebli opened this issue Mar 19, 2024 · 2 comments
Open

Upgrade Beiwe Backend platforms to Python 3.11 #370

biblicabeebli opened this issue Mar 19, 2024 · 2 comments
Assignees
Labels
ANNOUNCEMENT Listen up, devs and sysadmins should probably watch. enhancement in some way this would improve the experience of using or developing and maintaining Beiwe Infrastructure System Administration Issue

Comments

@biblicabeebli
Copy link
Member

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:

  • we have to correctly document and mark a branch (see the bottom of the full branches list https://github.com/onnela-lab/beiwe-backend/branches/all for examples) so that there is a still-3.8-compatible branch a slow-to-upgrade platform sysadmin can reference and swap over to when they get around to upgrading.
  • Development also requires testing updates to the Beiwe deployment tool launch script - a full stack deploy, which is ... annoying.
@biblicabeebli
Copy link
Member Author

@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.

@hydawo
Copy link
Collaborator

hydawo commented Mar 19, 2024

@biblicabeebli lets discuss this at our next meeting and how I or the RA's can help

@biblicabeebli biblicabeebli added the enhancement in some way this would improve the experience of using or developing and maintaining Beiwe label May 24, 2024
@biblicabeebli biblicabeebli added ANNOUNCEMENT Listen up, devs and sysadmins should probably watch. Infrastructure System Administration Issue labels Jun 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ANNOUNCEMENT Listen up, devs and sysadmins should probably watch. enhancement in some way this would improve the experience of using or developing and maintaining Beiwe Infrastructure System Administration Issue
Projects
None yet
Development

No branches or pull requests

3 participants