-
-
Notifications
You must be signed in to change notification settings - Fork 63
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
[main] Rebuild for orc 2.1.0 #1697
base: main
Are you sure you want to change the base?
[main] Rebuild for orc 2.1.0 #1697
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 ( I do have some suggestions for making it better though... For recipe/meta.yaml:
This message was generated by GitHub Actions workflow run https://github.com/conda-forge/conda-forge-webservices/actions/runs/13431821547. Examine the logs at this URL for more detail. |
@kou, any idea why a previously working recipe for unchanged versions (affects all versions we build: 19.x, 18.x, 17.x, 16.x) would suddenly start failing over some aws config:
This file ( |
Strangely enough, it seems the orc update has something to do with it because I triggered a no change build here: And it's able to build AWS SDK without problems. FYI @wgtmac |
Yes, we had this PR for Arrow to use ORC 2.1.0, which is applying that patch when building orc from source: |
It should be highly relevant. Apache ORC 2.1.1 is planned in this April. Should we wait for it or get it released ASAP? @raulcd @h-vetinari |
I am unsure whether this should be fixed on the ORC recipe or we want to add the patch from the PR I pointed above here. I suppose this could happen for other projects, right? @h-vetinari I am happy to temporarily add the patch here if you think this should be the approach. |
We'd need to patch orc itself, if we're comfortable with backporting the patch instead of waiting for v2.1.1. If we don't want to backport this to orc more generally, then version 2.1.0 is essentially not usable, and we'll just have to sit it out until the next version. |
8e703c9
to
e9a976f
Compare
Thank you, @wgtmac, for bringing this issue to my attention. I am open to discussing the possibility of releasing ORC version 2.1.1 earlier than the planned date in April. I will bring this matter to the ORC community for further discussion. |
Here is the discussion in the ORC dev community, feel free to follow along. |
@h-vetinari @raulcd How can we verify that patching apache/orc@3eb423a is sufficient? I think we need to figure it out before releasing Apache ORC 2.1.1 in case of any followup fix. |
This reverts commit 8282a1f.
…dfe3c322, and conda-forge-pinning 2025.02.18.15.16.45
e9a976f
to
7b5c4d8
Compare
I backported that commit in conda-forge/orc-feedstock#85 (without publishing this to the main channel so that it starts getting installed everywhere), and it appears that it is not sufficient, unfortunately. |
How can I debug it? |
OK, I think I have the fix. Looking at apache/arrow@7fc8222 and
I added some |
16c9f81
to
f9096f4
Compare
@h-vetinari Is it possible to remove these workarounds by |
I can try, but runtime (from the POV of orc; i.e. when building arrow) is the wrong time to set this. We should be setting this once when building orc, and then orc should just use the selected method of dependency discovery in the packaged CMake metadata. |
Where do you expect me to set this? In arrow's CMake files? I wanted to avoid patching, so I passed |
Does it mean that building arrow will also trigger the build of orc? Doesn't it use a built orc?
Patching is anyway needed for 2.1.0 :(. I mean you may not need to add ZSTD_* variables if the CMake variable ORC_PACKAGE_KIND has been set. |
This reverts commit f35eca8.
The arrow build is supposed to use a pre-built (by conda-forge)
Well, yes, different places need to be patched. Orc needs apache/orc@3eb423a and arrow needs apache/arrow@7fc8222 (for the test changes). What I don't understand is where exactly (e.g. in orc or arrow) you imagine the patch |
Could you elaborate
Building Arrow does not require |
Without the test changes from that commit, we run into:
Please provide a diff where you expect |
@williamhyun @wgtmac, I read the updates in that thread, and from my POV, an orc 2.1.1 release with apache/orc@3eb423a soon would be preferable to spending a bunch of time integrating conda-specifics (I'd still be happy to do that of course, but on a longer timeline). Right now my priority is to unblock arrow from not being compatible with orc 2.1.x, and if that requires us to set To attempt another clarification on the open question (and why I think it's not worth dealing with this for 2.1.1): It is still not clear to me where you expect AFAICT, it should not be hardcoded in a project's CMakeLists.txt, because projects can be built with different build systems -- that goes for orc, arrow and everything on top. So the project source CMake code needs to be generic, but when packaging for conda-forge, we are able to become much more specific, because we know how a conda-forge-packaged |
Now I understand why test changes are required. Yes, it is still required for Arrow until next release.
|
This is what confused me, because the And indeed, passing |
Could you please try |
This PR has been triggered in an effort to update orc210.
Notes and instructions for merging this PR:
Please note that if you close this PR we presume that the feedstock has been rebuilt, so if you are going to perform the rebuild yourself don't close this PR until the your rebuild has been merged.
If this PR was opened in error or needs to be updated please add the
bot-rerun
label to this PR. The bot will close this PR and schedule another one. If you do not have permissions to add this label, you can use the phrase@conda-forge-admin, please rerun bot
in a PR comment to have theconda-forge-admin
add it for you.This PR was created by the regro-cf-autotick-bot. The regro-cf-autotick-bot is a service to automatically track the dependency graph, migrate packages, and propose package version updates for conda-forge. Feel free to drop us a line if there are any issues! This PR was generated by https://github.com/regro/cf-scripts/actions/runs/13137423292 - please use this URL for debugging.