ApeWorX / ApeWorX/hexbytes

2.0.0: Don't install docs nor newsfragments

Aperta Adatta ai principianti
#69 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Python
Stelle
30
Fork
22
Merge medio
2m
PR unite (30g)
1

Descrizione

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

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
python
Ambito
build-system
Tipo di issue
Bug
Difficoltà
2/5
Tempo stimato
1-3 ore
Stato di attività
Attiva
Chiarezza
Specificata chiaramente
Idoneità per principianti
88/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.