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

Open
#568 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Refactor
Clarity
Mostly clear
Activity status
Stale
Tech stack
python, ubuntu

Research direction

Start by auditing the Python files named in the task list, especially config/sort-ini.py and code/*.py, for remaining Python 2 requirements. Test the changes on hosts using the default jammy and noble environments, then verify the VM upgrade and data transfer tasks are complete.

Written by the indexing model from the issue text.

Description

infrastructure

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 :)

Dominant language
Python
Stars
144
Forks
197
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from python/planet

All issues in python/planet

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.