Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Package on pypi.org does not include tests #97

Open
pgalbraith opened this issue Aug 7, 2023 · 2 comments
Open

Package on pypi.org does not include tests #97

pgalbraith opened this issue Aug 7, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@pgalbraith
Copy link

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 pgalbraith added the bug Something isn't working label Aug 7, 2023
@welcome
Copy link

welcome bot commented Aug 7, 2023

Thanks for opening your first issue here! Engagement like this is essential for open source projects! 🤗

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! 🎉

@ReillyBrogan
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants