ApeWorX / ApeWorX/hexbytes

2.0.0: Don't install docs nor newsfragments

Ouverte Adaptée aux débutants
#69 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
Python
Étoiles
30
Forks
22
Merge moyen
2 min
PR mergées (30 j)
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"]
```

Guide de contribution

Ouvrir le guide de contribution

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
python
Domaine
build-system
Type d'issue
Bug
Difficulté
2/5
Temps estimé
1-3 heures
Activité
Active
Clarté
Clairement spécifiée
Accessibilité débutants
88/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.