-
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
package "tests" in Python path? #10335
Comments
I thought we fixed it, but probably we need to revisit it :] |
I tried to fix this in #7614 but got blocked by our examples having a dependency on the tests. This comment summarizes the problem #7614 (comment). I initially pursued the option of moving these components to the source directory so everything can access it: #8776 @Borda still waiting on your thoughts :P |
To my mind, moving them to |
The other (not terribly related) thing is the default data dir for pl_examples, but I guess it's better in a separate issue, as it is not obvious where to put it (personally, I'd look at the hub dir - |
I think that the |
Soo many packages using setuptools do that accidentally. Switching to less legacy build systems helps … I always notice it when running my own packages’ tests and PyCharm jumps into |
🐛 Bug
PyTorch Lightning install its tests into "test" in the Python path. I would venture that this is not ideal.
To Reproduce
Install PyTorch Lightning
This is with git a checkout from today.
The text was updated successfully, but these errors were encountered: