Skip to content

Downgrade to Arrow 12.0.0 for aws-sdk-cpp and fix cudf_kafka builds for new CI containers - #14296

Merged
rapids-bot[bot] merged 18 commits into
NVIDIA:branch-23.12from
vyasr:fix/arrow_aws_pinning
Oct 19, 2023
Merged

Downgrade to Arrow 12.0.0 for aws-sdk-cpp and fix cudf_kafka builds for new CI containers#14296
rapids-bot[bot] merged 18 commits into
NVIDIA:branch-23.12from
vyasr:fix/arrow_aws_pinning

Conversation

@vyasr

@vyasr vyasr commented Oct 18, 2023

Copy link
Copy Markdown
Contributor

Description

The aws-sdk-cpp pinning introduced in #14173 causes problems because newer builds of libarrow require a newer version of aws-sdk-cpp. Even though we restrict to libarrow 12.0.1, this restriction is insufficient to create solvable environments because the conda (mamba) solver doesn't seem to consistently reach far back enough into the history of builds to pull the last build that was compatible with the aws-sdk-cpp version that we need. For now, the safest way for us to avoid this problem is to downgrade to arrow 12.0.0, for which all conda package builds are pinned to the older version of aws-sdk-cpp that does not have the bug in question.

Separately, while the above issue was encountered we also got new builds of our CI images that removed system installs of CTK packages from CUDA 12 images. This changes was made because for CUDA 12 we can get all the necessary pieces of the CTK from conda-forge. However, it turns out that the cudf_kafka builds were implicitly relying on system CTK packages, and the cudf_kafka build is in fact not fully compatible with conda-forge CTK packages because it is not using CMake via scikit-build (nor any other more sophisticated library discovery mechanism like pkg-config) and therefore does not know how to find conda-forge CTK headers/libraries. This PR introduces a set of temporary patches to get around this limitation. These patches are not a long-term fix, and are only put in place assuming that #14292 is merged in the near future before we cut a 23.12 release.

Checklist

  • I am familiar with the Contributing Guidelines.
  • New or existing tests cover these changes.
  • The documentation is up to date with these changes.

@vyasr vyasr added bug Something isn't working non-breaking Non-breaking change labels Oct 18, 2023
@vyasr vyasr self-assigned this Oct 18, 2023
@github-actions github-actions Bot added the conda label Oct 18, 2023
Comment thread dependencies.yaml Outdated
Comment thread conda/environments/all_cuda-118_arch-x86_64.yaml Outdated
Comment thread conda/recipes/libcudf/conda_build_config.yaml Outdated
Comment thread dependencies.yaml Outdated
Comment thread conda/recipes/cudf_kafka/meta.yaml
Comment thread dependencies.yaml Outdated
Comment thread dependencies.yaml
Comment thread conda/recipes/cudf_kafka/meta.yaml
@bdice

bdice commented Oct 18, 2023

Copy link
Copy Markdown
Contributor

@vyasr I left a review but I would accept doing the changes that I requested in a follow-up PR if this PR can unblock CI as it is currently.

@github-actions github-actions Bot added libcudf Affects libcudf (C++/CUDA) code. Python Affects Python cuDF API. labels Oct 19, 2023
@github-actions github-actions Bot added the CMake CMake build issue label Oct 19, 2023
@vyasr
vyasr marked this pull request as ready for review October 19, 2023 20:32
@vyasr
vyasr requested review from a team as code owners October 19, 2023 20:32
@vyasr vyasr changed the title Temporarily add hard pins of a specific arrow build Downgrade to Arrow 12.0.0 for aws-sdk-cpp and fix cudf_kafka builds for new CI containers Oct 19, 2023

@bdice bdice left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving as-is. I recommend merging in the current state to unblock CI, but there are several changes we will want to revert in #14292.

Comment thread conda/recipes/cudf_kafka/meta.yaml
Comment thread dependencies.yaml

libarrow_version:
- "=12"
libarrow:

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Was it intentional to drop the _version suffix?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No 🙁 good catch. But now that it's done and we have CI passing, I'm inclined to merge and fix in a follow-up to unblock CI.

@vyasr

vyasr commented Oct 19, 2023

Copy link
Copy Markdown
Contributor Author

/merge

@rapids-bot
rapids-bot Bot merged commit d36904b into NVIDIA:branch-23.12 Oct 19, 2023
@vyasr
vyasr deleted the fix/arrow_aws_pinning branch October 19, 2023 21:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working CMake CMake build issue libcudf Affects libcudf (C++/CUDA) code. non-breaking Non-breaking change Python Affects Python cuDF API.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants