python / python/planet

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

オープン
#568 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

infrastructure
主要言語
Python
スター
144
フォーク
197
PR マージ指標
30日以内にマージされた PR はありません

説明

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

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

まず、タスクリストに記載されている Python ファイル、特に config/sort-ini.py と code/*.py を監査し、残っている Python 2 要件を確認します。デフォルトの jammy および noble 環境を使用するホストで変更をテストし、その後、VM のアップグレードとデータ転送タスクが完了していることを確認します。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
python, ubuntu
領域
infrastructure, operating-systems
issue の種類
リファクタリング
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。