tests missing in sdist/ incoherent tagging vs tarball naming
還沒有人認領這個 Issue。
評估
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 新手友好度
- 35/100
- Issue 類型
- 缺陷
- 描述清晰度
- 基本清楚
- 活躍度
- 停滯
- 技術堆疊
- python
- 領域
- build-system, release
研究方向
首先,將 MANIFEST.in 和 setup.py 與已發佈到 PyPI 的 sdist 以及從 release-2.2019-12-21 在本機產生的封存檔進行比較。追蹤 release tag 和封存檔名稱是如何產生的。完成標準是:已發佈的 sdist 包含測試檔案,且 tag 和 distribution 的命名遵循一個有文件記錄且一致的方案。
由索引模型根據 Issue 內容生成。
描述
Hi! I'm packaging python-publisuffx2 for Arch Linux and would like to be able to run tests from the sdist tarball on pypi.
Although the test files should be included (according to MANIFEST.in), they are not.
As a test I've checked out the current latest version (release-2.2019-12-21) and ran python setup.py sdist myself. The files are included in the created sdist tarball, which makes me wonder how the sdists for pypi.org were created.
It would be great, if the sdists included the tests, as currently I have to use the github tarballs to be able to run the tests.
This leads me to the second topic: The tag naming and resulting tarballs are incoherent and lead to more complicated string substitutions to track upstream and/or use the github source tarball vs. using pypi's sdist tarball: release-2.2019-12-21 -> publicsuffix2-2.20191221.tar.gz
I understand, that the tagging scheme so far follows an ISO standard for the date, but it would be more coherent to strip the hyphens to be in line with the resulting tarball/wheel: e.g. release-2.20191221 -> publicsuffix2-2.20191221.tar.gz
- 主要語言
- Python
- 星號
- 30
- 分支
- 16
- PR 合併指標
- 30 天內沒有已合併 PR
環境準備
這個專案沒有提供開發容器、Dockerfile 或貢獻指南,環境需要你自己搭建:先看它的 README,通用步驟見我們的新手貢獻指南。
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
aboutcode-org/python-publicsuffix2 的其他 Issue
-
codes.open is deprecated in python3.14可能重新可做 關聯的 PR 已關閉且未合併。 未關閉
難度 1/5 1 小時以內 新手友好度 52/100
-
難度 1/5 1 小時以內 新手友好度 55/100
-
難度 4/5 3-5 天 新手友好度 30/100
aboutcode-org/python-publicsuffix2#23 · 1 則留言 · 1 個 reaction ·
-
難度 3/5 1-2 天 新手友好度 35/100
-
難度 3/5 1-2 天 新手友好度 45/100
aboutcode-org/python-publicsuffix2#21 · 1 個 reaction ·
查看 aboutcode-org/python-publicsuffix2 的全部 Issue
相似的 Issue
-
難度 2/5 1-3 小時 新手友好度 76/100
Graphify-Labs/graphify#4860 · 1 則留言 ·
維護者通常 1 天內回覆
-
:bug: Bug
難度 2/5 1-3 小時 新手友好度 84/100
scikit-image/scikit-image#8377 ·
維護者通常 1 天內回覆
-
Ingredient import validation accepts negative nutrient values and NaN可能已有人在做 @LukeSekai 今天認領。 未關閉
難度 2/5 1-3 小時 新手友好度 82/100
wger-project/wger#2564 ·
維護者通常 2 天內回覆
-
難度 2/5 1-3 小時 新手友好度 68/100
apache/ponymail-foal#351 ·
-
難度 1/5 1 小時以內 新手友好度 68/100
維護者通常 4 天內回覆