2.0.0: Don't install docs nor newsfragments
- 主要言語
- Python
- スター
- 30
- フォーク
- 22
- 平均マージ
- 2分
- マージ済み PR(30日)
- 1
説明
### Operating System
macOS (Apple Silicon)
### Version Information
3.14
### Environment
```Text
PkgSrc
```
### Reproduction code
```Python
Install version 2.0.0 and observe "docs" and "newsfragments" in `site-packages`.
```
### Additional Context
A patch to fix the issue:
```
--- pyproject.toml.orig 2026-09-08 11:18:56.117968613 +0000
+++ pyproject.toml
@@ -65,7 +65,7 @@ dev = [
]
[tool.setuptools.packages.find]
-exclude = ["scripts", "scripts.*", "tests", "tests.*"]
+exclude = ["docs", "docs*", "newsfragments", "newsfragments*", "scripts", "scripts.*", "tests", "tests.*"]
[tool.setuptools.package-data]
hexbytes = ["py.typed"]
```
コントリビューションガイド
調査の方向性
Start in pyproject.toml at [tool.setuptools.packages.find] and review the package exclusions shown in the issue. Build or install version 2.0.0 in the reported environment, then inspect site-packages to verify that docs and newsfragments are absent while the package still installs correctly.
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- python
- 領域
- build-system
- issue の種類
- バグ
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 活発さ
- 活発
- 明瞭さ
- 明確に書かれている
- 初心者へのやさしさ
- 88/100