artifacts-keyring icon indicating copy to clipboard operation
artifacts-keyring copied to clipboard

Don't include tests in distribution

Open mason3k opened this issue 3 months ago • 0 comments

Currently, the tests are included in src so they are packaged in the distribution and installed by consumers. The tests do not need to be distributed, and doing so can cause subtle side effects like namespace conflicts with local tests when this is installed as a 3rd party dependency.

Ultimately, since tests are not intended to be importable by consumers of the package, I would not think they should be in src: Image

See also:

Image - [source](https://packaging.python.org/en/latest/discussions/package-formats/#what-is-a-wheel)

mason3k avatar Oct 17 '25 14:10 mason3k