python / planet

Configuration for Python planets (e.g. http://planetpython.org)
133 stars 173 forks source link

Infra(OS): `planet` to Ubuntu 24.04 - Requires updating to `Python3` #568

Open JacobCoffee opened 3 months ago

JacobCoffee commented 3 months ago

What

Hi, I work for the PSF and am currently in the process of upgrading hosts from various OS levels to the latest Ubuntu LTS (24.04 - which comes pre-packaged with Python3.12.3)

In working with the backend and readying the VM, I realized that the app code demands python2.

Can someone assist in upgrading this? Is https://docs.python.org/3/library/2to3.html viable? I am available to help but have limited knowledge in py2 land.

### Tasks
- [ ] Changeset tested against host set to default (jammy)
- [ ] Changeset tested against host set to noble
- [ ] VM upgraded
- [ ] Data transferred
- [x] Shebangs updated `python` -> `python3`
- [x] `config/sort-ini.py`
- [x] `code/*.py` files

Thanks :)

ewdurbin commented 3 months ago

ref #301