-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
Remove tests dir from distribution #7596
Conversation
Codecov Report
@@ Coverage Diff @@
## master #7596 +/- ##
=======================================
- Coverage 91% 88% -3%
=======================================
Files 204 199 -5
Lines 13630 13017 -613
=======================================
- Hits 12414 11432 -982
- Misses 1216 1585 +369 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 😃
noob question: what's the relation to MANIFEST.in? The tests should be excluded: Does @Borda This might be the fix for https://github.com/PyTorchLightning/internal-dev/issues/132 |
hmm it is strange for me too, I thought the Manifest is sufficient, but maybe the combination with |
IDK, I no longer try to understand setuptools, and instead use flit or poetry for all my packages. It doesn’t look like you have a build step or some special behavior in setup.py, so that might be a possible choice for you too. |
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. If you need further help see our docs: https://pytorch-lightning.readthedocs.io/en/latest/generated/CONTRIBUTING.html#pull-request or ask the assistance of a core contributor here or on Slack. Thank you for your contributions. |
GPU tests fail because now that we don't distribute the tests, our examples fail since they rely on our MNIST implementation.
If possible, I don't think the examples should do that at all as then it's not as easy for users to copy-paste the code and get it running. But on the other hand, then CI can fail if downloading from torchvision fails. @Borda save us pls |
@flying-sheep mind rebase on master? |
Head branch was pushed to by a user without write access
Here you go |
So what’s up here? Doesn’t seem like your CI feels like playing along? |
Closing as this is blocked by CI limitations. Will be continued in #7614 |
You’re using
find_packages
wrong. It expects package paths (with.
) not file paths.Docs: https://setuptools.readthedocs.io/en/latest/userguide/package_discovery.html#using-find-or-find-packages