onnela-lab / beiwe-backend

Beiwe is a smartphone-based digital phenotyping research platform. This is the Beiwe backend code
https://www.beiwe.org/
BSD 3-Clause "New" or "Revised" License
63 stars 43 forks source link

Upgrade Beiwe Backend platforms to Python 3.11 #370

Open biblicabeebli opened 5 months ago

biblicabeebli commented 5 months ago

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:

biblicabeebli commented 5 months ago

@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 commented 5 months ago

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