mdit-py-plugins icon indicating copy to clipboard operation
mdit-py-plugins copied to clipboard

Package on pypi.org does not include tests

Open pgalbraith opened this issue 2 years ago • 2 comments

Describe the bug

I'm new to python and it's packaging ecosystem ... I was expecting to find all the tests in the package that's distributed from pypi.org ... is this a reasonable expectation?

Reproduce the bug

Download package from pypi.org & extract.

List your environment

x

pgalbraith avatar Aug 07 '23 00:08 pgalbraith

Thanks for opening your first issue here! Engagement like this is essential for open source projects! :hugs:
If you haven't done so already, check out EBP's Code of Conduct. Also, please try to follow the issue template as it helps other community members to contribute more effectively.
If your issue is a feature request, others may react to it, to raise its prominence (see Feature Voting).
Welcome to the EBP community! :tada:

welcome[bot] avatar Aug 07 '23 00:08 welcome[bot]

It looks like the tests are explicitly excluded here.

@chrisjsewell Is there a particular reason tests are excluded? Linux distros generally prefer to use pypi source for Python packages and they also like to run the package test suites to given them confidence that things are setup correctly. As far as I can tell excluding tests/docs decreases the source archive size by 20kb (from 61.9KB to 41.7KB) which is such a small difference that I'm surprised you bother doing it.

ReillyBrogan avatar May 15 '24 21:05 ReillyBrogan

I'm afraid the tests are not intended for end users, there is no guarantee they work outside of this repository and its CLI/dev setup

chrisjsewell avatar Sep 07 '24 05:09 chrisjsewell