Infra(OS): `planet` to Ubuntu 24.04 - Requires updating to `Python3`
未关闭
还没有人认领这个 Issue。
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 :)
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 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