-
Notifications
You must be signed in to change notification settings - Fork 5.9k
Closed
Labels
PFCCPaddle Framework Contributor Club,https://github.com/PaddlePaddle/community/tree/master/pfccPaddle Framework Contributor Club,https://github.com/PaddlePaddle/community/tree/master/pfccstatus/close已关闭已关闭
Description
项目说明
用于跟踪 Call-for-Contributions: Python 2.7 相关代码退场 及 Python 3.5/3.6 相关代码退场
各个任务的计划和进度
成果总结
✅ Python 2.7 退场(8/8)
| 子任务 | 具体内容和完成时间 | 相关 PR | 修复行数 | 作者 |
|---|---|---|---|---|
| ✅ 1. 删除python2子包 | ✅ 1.1 移除 __future__ import(2022/09/28) |
#46411, #46463, #46466, #46736 | 3613 | SigureMo, Yulv-git |
✅ 1.2 移除six(2022/11/01) |
#46965, #47334 | 906 | SigureMo | |
| ✅ 2. 删除没有其它功能的 Python 2 模块 | ✅ 2.1 移除 类中不必要的显式 object 继承(2022/11/08) |
#47642 #47730 | 524 | SigureMo |
✅ 2.2 移除 super() 函数中不必要的参数(2022/11/22) |
#47549, #47643 | 1900 | SigureMo | |
✅ 2.3 移除 compat.py 文件(2022/10/25) |
#46686, #46923, #47035, #47036, #47097, #47269 | 836 | SigureMo | |
| ✅ 3. 清理 Python2 相关逻辑分支 | ✅ 3. 清理 Python2 相关逻辑分支(2022/10/11) | #46696 | 92 | caolonghao |
| ✅ 4. 删除非必要的环境依赖(Python2) | ✅ 4. 删除非必要的环境依赖(Python2)(2023/01/03) | #48685 | 51 | SigureMo |
| ✅ 5. 清理文档中涉及 Python 2 的内容 | ✅ 5. 清理文档中涉及 Python 2 的内容(2022/12/01) | docs#5466 | 125 | caolonghao |
Python 3.5/3.6 退场(3/3)
| 子任务和完成时间 | 相关PR | 修复行数 | 作者 |
|---|---|---|---|
| ✅ 1. 清理低于 Python 3.7 相关逻辑分支(2022/11/29) | #48426, #48540 | 78 | gsq7474741 |
| ✅ 2. 删除非必要的环境依赖(Python 3.5/3.6)(2023/2/6) | #49558 | 125 | gsq7474741 |
| ✅ 3. 清理文档中涉及 Python 3.5/3.6 的内容(2022/12/01) | docs#5460 | 65 | gsq7474741 |
其他成果总结
| 子任务和完成时间 | 相关 PR | 修复行数 | 作者 |
|---|---|---|---|
✅ 1. 使用 open 替换 io.open(2022/10/11) |
#46751 | 18 | SigureMo |
✅ 2. 清理为兼容 Python2 而增加的 next 方法(2022/11/08) |
#47728 | 17 | SigureMo |
| ✅ 3. 替换 metaclass 旧的声明语法(2022/11/09) | #47730 | 6 | SigureMo |
| ✅ 4. 移除字符串字面量无用的 u 前缀(2022/11/09) | #47727 | 64 | SigureMo |
✅ 5. 使用 inspect.getfullargspec 替换 inspect.getargspec(2022/11/22) |
#48218 | 43 | SigureMo |
| ✅ 6. 移除 DeprecationWarning filter(2022/12/05) | #48639 | 8 | gsq7474741 |
| ✅ 7. 更新 PyPI README 文档 (2022/12/28) | #48640 | 42 | gsq7474741 |
✅ 8. 清理弃用的 typing.Text(2023/01/04) |
#49506 | 6 | SigureMo |
✅ 9. 清理低于 Python 3.7 的依赖项、更新 setup.py classifiers 字段(2023/01/04) |
#49516 | 10 | gsq7474741 |
Note
这里仅统计已经完成的项目,部分正在进行/将要进行的见下面 Comment,如有遗漏,可在下面直接回复或者在该 PR 里 @SigureMo 一下~
Metadata
Metadata
Labels
PFCCPaddle Framework Contributor Club,https://github.com/PaddlePaddle/community/tree/master/pfccPaddle Framework Contributor Club,https://github.com/PaddlePaddle/community/tree/master/pfccstatus/close已关闭已关闭
Type
Projects
Status
Done