Update test files to support Python 3.12
還沒有人認領這個 Issue。
評估
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 新手友好度
- 35/100
- Issue 類型
- 重構
- 描述清晰度
- 需要釐清
- 活躍度
- 停滯
- 技術堆疊
- python
研究方向
從 test_cli_with_insecure_option_testpkh 和 issue 中描述的 setup.py 設定開始,然後在 Python 3.12 下執行失敗的測試。檢視與 versioneer 相關的相容性,以及所述的 Python 2.7 支援轉換;完成表示受影響的測試支援 Python 3.12,且支援決策已獲得解決。
由索引模型根據 Issue 內容生成。
描述
SafeConfigParser is a deprecated API since 3.2 and removed in Python 3.12
https://docs.python.org/3/whatsnew/3.11.html#standard-library
pkg:pypi/[email protected] uses an outdated versioneer version that does not support this updated API https://github.com/python-versioneer/python-versioneer therefore some tests fail like test_cli_with_insecure_option_testpkh - this is more or less based on https://github.com/inveniosoftware/requirements-builder/blob/ec2e84b974290aaefa71b5ce19d0c343d29efffa/setup.py and support Python 2.7 build.
I suggest that we eventually update this test and drop support for Python 2.7 after making a release that will be the last to support Python 2.7.
- 主要語言
- Python
- 星號
- 23
- 分支
- 29
- PR 合併指標
- 30 天內沒有已合併 PR
環境準備
這個專案沒有提供開發容器、Dockerfile 或貢獻指南,環境需要你自己搭建:先看它的 README,通用步驟見我們的新手貢獻指南。
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
aboutcode-org/python-inspector 的其他 Issue
-
難度 3/5 半天 新手友好度 62/100
aboutcode-org/python-inspector#268 · 1 則留言 ·
-
Add support for pylock.toml可能已有人在做 @Anurag-S1ngh 於 5 天前認領。 未關閉
難度 4/5 3-5 天 新手友好度 35/100
aboutcode-org/python-inspector#259 · 1 則留言 ·
-
InconsistentCandidate: Pre-Release not allow可能已有人在做 @Anurag-S1ngh 於 5 天前認領。 未關閉bug design nice-to-have
難度 4/5 3-5 天 新手友好度 35/100
aboutcode-org/python-inspector#257 · 1 則留言 ·
-
Feature request: Mask repository credentials in --verbose output可能已有人在做 @Rajeshwari2857 於 6 天前認領。 未關閉
難度 2/5 1-3 小時 新手友好度 58/100
aboutcode-org/python-inspector#254 · 4 則留言 · 4 個 reaction ·
-
Python Inspector version 0.15.0 contains the wrong version string可能已有人在做 @Anurag-S1ngh 於 5 天前認領。 未關閉
難度 2/5 1-3 小時 新手友好度 45/100
aboutcode-org/python-inspector#253 · 1 則留言 ·
查看 aboutcode-org/python-inspector 的全部 Issue
相似的 Issue
-
難度 2/5 1-3 小時 新手友好度 86/100
-
Validate finite output clamping limits in StepPredictor.prepare_clamping_params to prevent silent NaN/Inf propagation可能已有人在做 @muskan-creates352 今天認領。 未關閉
難度 2/5 1-3 小時 新手友好度 84/100
mllam/neural-lam#848 ·
維護者通常 2 天內回覆
-
infra
難度 1/5 1 小時以內 新手友好度 88/100
fab-geocommuns/RNB-coeur#1166 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 78/100
deepspeedai/DeepSpeed#8951 ·
維護者通常 2 天內回覆
-
難度 2/5 1-3 小時 新手友好度 76/100
aws/context-ontology-accelerator#343 ·
維護者通常 1 天內回覆