Skip to content
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

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

Merged
merged 18 commits into from
Oct 19, 2023

Conversation

vyasr
Copy link
Contributor

@vyasr vyasr commented Oct 18, 2023

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
dependencies.yaml Outdated Show resolved Hide resolved
dependencies.yaml Outdated Show resolved Hide resolved
dependencies.yaml Outdated Show resolved Hide resolved
dependencies.yaml Show resolved Hide resolved
conda/recipes/cudf_kafka/meta.yaml Show resolved Hide resolved
@bdice
Copy link
Contributor

bdice commented Oct 18, 2023

@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
Copy link
Contributor

@bdice bdice left a comment

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.

conda/recipes/cudf_kafka/meta.yaml Show resolved Hide resolved
dependencies.yaml Show resolved Hide resolved
@@ -25,8 +25,8 @@ gtest_version:
aws_sdk_cpp_version:
- "<1.11"

libarrow_version:
- "=12"
libarrow:
Copy link
Member

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
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
Copy link
Contributor Author

vyasr commented Oct 19, 2023

/merge

@rapids-bot rapids-bot bot merged commit d36904b into rapidsai:branch-23.12 Oct 19, 2023
60 checks passed
@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
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

4 participants