ApeWorX / ApeWorX/hexbytes

2.0.0: Don't install docs nor newsfragments

オープン 初心者向け
#69 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
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

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。