Avoid bundling tests in wheels

Bug #2107495 reported by stefan6419846
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Beautiful Soup
Fix Committed
Undecided
Unassigned

Bug Description

*beautifulsoup* currently bundles the tests explicitly inside the wheel distributions: https://git.launchpad.net/beautifulsoup/tree/pyproject.toml?id=fb8179d217dfb11e81c28076fc3bf14bdf9a0038#n88 These usually are of no additional value outside of the source distributions and thus just bloat the distribution. For this reasons, I recommend excluding them from future wheels.

This matches the official recommendation for Python packaging as well (see https://packaging.python.org/en/latest/discussions/package-formats/#what-is-a-wheel):

> Wheels are meant to contain exactly what is to be installed,
> and nothing more. In particular, wheels should never include
> tests and documentation, while sdists commonly do.

Revision history for this message
Leonard Richardson (leonardr) wrote :

OK, I'm convinced. Revision 0aacafe changes pyproject.toml to omit tests and test data in built wheels.

Changed in beautifulsoup:
status: New → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.