ApeWorX / ApeWorX/hexbytes

2.0.0: Don't install docs nor newsfragments

Open Beginner friendly
#69 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
30
Forks
22
Avg merge
2m
Merged PRs (30d)
1

Description

### 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"]
```

Contributor guide

Open the contributing guide

Research direction

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.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
build-system
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Active
Clarity
Clearly specified
Newbie friendliness
88/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.