-
Notifications
You must be signed in to change notification settings - Fork 8
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
substrait-validator-py build fails when using pip (possibly old pip version) #35
Comments
Hm. I thought I'd tested everything with pip's build-in-tmp-dir logic but I guess not. Thanks for the report; I'll take another look when able but I'm about to go on two weeks PTO so I don't know when that will be. |
This is not at all a priority. Mostly me just jotting down any warts I encountered as I got the validator installed (I needed it installed to use the consumer testing PR). |
I managed to reproduce this with older pip versions indeed. Unfortunately I'm not sure how this can be fixed; even if I make the script that's crashing there more robust, maturin would fail, because the crates that substrait-validator-py depend on would no longer be where they should be according to Cargo.toml. Detecting out-of-tree builds and printing a clearer error message is the best I could come up with (#38). If you want to build wheels though, like you're doing there, you can just use maturin instead of pip. I've added the docs for that to the readme in #38 as well. |
The deprecation warning in this case seems significant. If I supply the recommended argument (
--use-feature=in-tree-build
) then the build works correctly. I'm not sure if this is something that needs to be fixed but if there is a minimum pip version it could be flagged and reported as a violation.The text was updated successfully, but these errors were encountered: