-
Notifications
You must be signed in to change notification settings - Fork 114
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
C bindings are required to build Python package #883
Conversation
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). View this failed invocation of the CLA check for more information. For the most up to date status, view the checks section at the bottom of the pull request. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #883 +/- ##
==========================================
- Coverage 91.84% 90.08% -1.77%
==========================================
Files 37 64 +27
Lines 4976 9184 +4208
Branches 0 956 +956
==========================================
+ Hits 4570 8273 +3703
- Misses 406 911 +505 ☔ View full report in Codecov by Sentry. |
Interesting, it should not require the C binding, and I thought the CI did test for the source distribution. I will look into it later tmr. |
Ah. I see the problem, the C bindings are
and so need to be explicitly turned |
Probably worth adding a test step to make sure that the sdist can be built. Just needs to be something like: pipx run build --sdist
pip wheel --wheel-dir dist dist/*.tar.gz |
probably this?
|
Yes, I mean, that's where you'd probably want to add the step to build a wheel from the sdist to make sure it works. |
maybe add it in this PR? |
Thanks! |
Fingers crossed I've not broken your deployment process 😉 |
Fixes #882