Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Do not install tests #85

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

Merged
merged 1 commit into from
Feb 1, 2025
Merged

Conversation

iyanmv
Copy link
Contributor

@iyanmv iyanmv commented Jan 29, 2025

Tests do not belong in a wheel package and definitely not in the site-packages path.

For reference, you can check this PR Lightning-AI/pytorch-lightning#10335.
Also, a nice discussion in StackOverflow here.

Tests do not belong in a wheel package and in the site-packages path
@iyanmv
Copy link
Contributor Author

iyanmv commented Jan 29, 2025

Let me know what you think. It is also possible to include tests only for the sdist.

@coveralls
Copy link

Coverage Status

coverage: 87.06%. remained the same
when pulling ca4d4a8 on iyanmv:remove-tests
into 3b31a24 on python-constraint:main.

@fjwillemsen fjwillemsen merged commit 377d233 into python-constraint:main Feb 1, 2025
2 checks passed
@fjwillemsen
Copy link
Member

Thank you for reporting this and providing a fix! It's been released in 2.0.1.

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.

3 participants