The devguide should mention running Python tests from an installed installed instance

未關閉
#573 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

評估

難度
2/5
預估耗時
1-3 小時
新手友好度
48/100
Issue 類型
文件
描述清晰度
基本清楚
活躍度
停滯
技術堆疊
python
領域
documentation

研究方向

先找出 developer-guide 中介紹 Python 建置與測試的段落,然後將其與 Makefile.pre.in 中的安裝步驟及文件中記載的測試進入點進行比較。新增使用已安裝的 Python 進行設定、建置、安裝及執行測試套件的 Unix 風格說明,包括相關的測試選項;當這個工作流程清楚且可重現時,文件就完成了。

由索引模型根據 Issue 內容生成。

描述

topic-test type-feature

Most distributed versions of Python include or have an option to include install the Python test suite. This is included in the main Python Makefile (Makefile.pre.in) make install step. Unfortunately, test directories to be installed need to be explicitly added to the Makefile so it is easy to overlook such a change when only running tests from a development build directory. The devguide should show how to safely test install Python and run tests with it. For most Unixy ststems, that involves something like:

./configure --prefix=/tmp/py
make -j3
make install
/tmp/py/bin/python3 -m test -w -uall -j3 ...
主要語言
Python
星號
2.1k
分支
1k
平均合併
2 天 12 小時
30 天內合併 PR
12

貢獻指南

開啟貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

python/devguide 的其他 Issue

查看 python/devguide 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。