-
Notifications
You must be signed in to change notification settings - Fork 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
fix: add missing files to the manifest, include a check #720
Conversation
1.1.0 had an incomplete SDist which broke Conda (and anyone not getting a wheel), this should fix it, and improve testing so it's less likely to happen again. |
That's a recent one! I just installed flake8-bugbear; I'll be using it in addition to the pre-commit. I'm in favor of this PR: as soon as the tests pass, you can merge it. |
Pre-commit runs the flake8 bugbear test. It handles everything for you, just run |
318df53
to
1936a0a
Compare
Force pushing that last commit again to see if I can get pre-commit.ci to trigger. |
By the way, to see this bug without Conda, just run: pip install awkward --no-binary awkward For example, from Will help with conda-forge/awkward-feedstock#64 (once a fixed release is made). |
I'll try to get this to fail if you do a regular build and install in the tests in the future. If I can't, we can add a test where we make an SDist then install it. But for now, this should fix the problem with Conda and source installs. |
The source distribution has been fixed several times in the past; the reason it's broken now is because dlpack was added. It's a recurrent issue. |
This new check should help a lot. The tests I was mentioning should be another big help. I thought the PEP 517 build was supposed to solve this, but for some reason it's not isolating. Will look into this when I work on the build system. |
This is exactly why check-manifest is a recommendation in the Scikit-HEP developer docs. ;) |
Following guidelines here: https://scikit-hep.org/developer/style#check-manifest