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

Stop providing top level tests package #89

Merged
merged 1 commit into from
Jun 18, 2021

Conversation

flying-sheep
Copy link
Contributor

@flying-sheep flying-sheep commented Jun 18, 2021

Up until now, you install your tests module globally, which is wrong.

Fixes #90

Copy link
Contributor

@astrojuanlu astrojuanlu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Woops, good catch! Thanks a lot

@astrojuanlu astrojuanlu merged commit d857859 into readthedocs:master Jun 18, 2021
@astrojuanlu
Copy link
Contributor

I wonder what rabbit hole brought you here... 😅

@flying-sheep flying-sheep deleted the patch-1 branch June 18, 2021 20:13
@flying-sheep
Copy link
Contributor Author

flying-sheep commented Jun 18, 2021

Ah, just ctrl-clicking one of my tests and being booted into some project’s globally installed test folder for the 4th time 😉

Last time I got here: Lightning-AI/pytorch-lightning#7596

The real problem is setuptools, it just has dumb defaults: What’s a MANIFEST.in? What does everyone specify zip_safe=False for? Nobody knows! And those who do wish they didn’t need to. I’m using flit or poetry for all new projects.

@astrojuanlu astrojuanlu mentioned this pull request Oct 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Stop providing top level tests package
2 participants