aiidalab / aiidalab-docker-stack

Docker images with the basic software stack for AiiDAlab
https://aiidalab.net
Other
9 stars 14 forks source link

Support Python 3.11 #265

Open csadorf opened 2 years ago

csadorf commented 2 years ago

Adopt Python 3.11 as the primary Python version in AiiDAlab.

TODO list

danielhollas commented 5 months ago

I think it might be better to jump straight to 3.11 for the following reasons:

  1. 3.11 will give us an immediate tangible benefit as it should be measurably faster than 3.10/3.9. For my app I tested it improves to loading time of my app by 600 ms.

  2. Currently, when we bump the Python version, we break all the existing deployments, since the python dependencies of the Apps need to be reinstalled, see #317. We currently don't provide any good mechanism to reinstall all the install apps, or at least warn the user, so to minimize the migration pain, it is I think better to skip one version. Hopefully by the time we upgrade to 3.12 or later, we'll have those mechanisms implemented.