Repository navigation
add abseil to pyarrow host section - #815
Conversation
|
Hi! This is the friendly automated conda-forge-linting service. I just wanted to let you know that I linted all conda-recipes in your PR ( |
|
@conda-forge-admin please rerender |
|
Once we confirm this fixes the problem I'll backport it to 8.x, 7.x, and 6.x. |
|
Hi! This is the friendly automated conda-forge-webservice. I tried to rerender for you, but it looks like there was nothing to do. This message was generated by GitHub actions workflow run https://github.com/conda-forge/arrow-cpp-feedstock/actions/runs/2819231251. |
|
Based on logs this seems to resolve the issue of clobbering the pyarrow builds: Arrow 8.0.1 build logs:
This PR build logs
|
|
Only builds left are the emulated builds that tend to time out, so this should be ready for review |
cpcloud
left a comment
There was a problem hiding this comment.
I'll admit I am not entirely sure what the implications of this are, other than that the host closure is sizeof(abseil-cpp) bigger.
Since it unblocks you, I'll approve.
|
What is a "host" dependency as opposed to "build" and "run"? |
|
|
Ironically this section manages to be both quite verbose and still cryptic :-( Also, why is Abseil listed there? Abseil would either be a build-time (compile) dependency or run-time (dynamic library) dependency, but I don't understand why it would be a "host" dependency. |
The way I think about it is:
This is a workaround for a bug in conda-build. Conda-build generates a hash for building a package based on the package versions in the recipe. For some reason, it doesn't include the arrow-cpp version when generating that hash which is exactly pinned in the pyarrow recipe to a specific build. Unfortunately, without the arrow-cpp version being included, it leads to two pyarrow packages having the same hash that require different arrow-cpp packages, which are differentiated by their abseil and grpc-cpp versions (see here: #815 (comment)). To workaround this bug, we add abseil-cpp to the pyarrow |
|
In terms of the docs being confusing, would suggest raising an issue on the conda-build repo with a bit more context about what is confusing and why. If you happen to have suggestions on how to improve it (after Keith explained these sections above), that would also be helpful information to capture 🙂 |
Checklist
0(if the version changed)conda-smithy(Use the phrase@conda-forge-admin, please rerenderin a comment in this PR for automated rerendering)Fixes #814. Adds abseil to the pyarrow host section to get it to properly parametrize on arrow-cpp build variants to prevent issues where we can't use certain abseil versions because pyarrow only pins to other version arrow-cpp builds.