Skip to content

Temporarily WAR rapidsmpf<->libcudf conda package build cycle (#22520) - #22772

Merged
jolorunyomi merged 1 commit into
release/26.06from
fix-rapidsmpf-deps
Jun 3, 2026
Merged

Temporarily WAR rapidsmpf<->libcudf conda package build cycle (#22520)#22772
jolorunyomi merged 1 commit into
release/26.06from
fix-rapidsmpf-deps

Conversation

@jolorunyomi

Copy link
Copy Markdown
Contributor

Summary

Cherry picked 7a1bb07

## Description

Building the conda package of cudf-polars needs (for the smoketest) the
_run_ dependencies, which include rapidsmpf. But rapidsmpf packages need
libcudf conda packages so we have a cycle.

Break that by removing the smoketest, and then we can figure out a
proper solution.

## Checklist
- [x] I am familiar with the [Contributing
Guidelines](https://github.com/rapidsai/cudf/blob/HEAD/CONTRIBUTING.md).
- [x] New or existing tests cover these changes.
- [x] The documentation is up to date with these changes.
@jolorunyomi
jolorunyomi requested a review from a team as a code owner June 3, 2026 21:52
@jolorunyomi
jolorunyomi requested a review from gforsyth June 3, 2026 21:52
@jolorunyomi jolorunyomi added improvement Improvement / enhancement to an existing function non-breaking Non-breaking change labels Jun 3, 2026
@coderabbitai

coderabbitai Bot commented Jun 3, 2026

Copy link
Copy Markdown

Review Change Stack

📝 Walkthrough

Summary by CodeRabbit

  • Chores
    • Disabled automated tests in the conda recipe build process.

Walkthrough

The tests section in the cudf-polars conda recipe configuration is disabled by commenting out the automated Python import/version verification and Polars smoke test execution that previously ran during the build/install process.

Changes

Conda Recipe Test Disable

Layer / File(s) Summary
Disable test execution in recipe
conda/recipes/cudf-polars/recipe.yaml
The tests block containing Python import verification and Polars Series smoke test is commented out, preventing test execution during conda package build and installation.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Possibly related PRs

  • rapidsai/cudf#22520: Both PRs comment out the same tests section in conda/recipes/cudf-polars/recipe.yaml to disable Polars import and smoke test checks.

Suggested labels

cudf-polars, non-breaking

Suggested reviewers

  • gforsyth
🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title accurately describes the main change: temporarily disabling tests to work around a conda package build cycle issue between rapidsmpf and libcudf.
Description check ✅ Passed The description is related to the changeset, indicating this is a cherry-picked commit that disables smoketest to break a circular build dependency.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix-rapidsmpf-deps

Comment @coderabbitai help to get the list of available commands and usage tips.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@conda/recipes/cudf-polars/recipe.yaml`:
- Around line 52-61: The commented-out tests block removes package validation
permanently; uncomment it and instead of leaving it fully disabled add a clear
TODO guard comment above the tests block that states why it's temporarily
disabled, references a tracking issue (e.g., "TODO: re-enable tests - see
ISSUE-XXXX"), and specifies explicit re-enable criteria or date (e.g.,
"re-enable after RAPIDS/CUDF init fix or by YYYY-MM-DD"); ensure the top-level
tests block name ("tests") remains present and the TODO includes the tracking
issue ID and re-enable condition so maintainers can find and revert the
temporary change.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Enterprise

Run ID: d4ff6ba4-588b-4412-b534-afb8b195920e

📥 Commits

Reviewing files that changed from the base of the PR and between bcd4fb5 and f880cdf.

📒 Files selected for processing (1)
  • conda/recipes/cudf-polars/recipe.yaml

Comment on lines +52 to +61
# tests:
# - python:
# imports:
# - cudf_polars
# pip_check: false
# - script:
# - python -c "import cudf_polars; print(cudf_polars.__version__)"
# - RAPIDS_NO_INITIALIZE=1 python -c "import cudf_polars; print(cudf_polars.__version__)"
# - CUDF_NO_INITIALIZE=1 python -c "import cudf_polars; print(cudf_polars.__version__)"
# - RAPIDS_NO_INITIALIZE=1 python -c "import cudf_polars; import polars as pl; print(pl.Series([1, 2, 3]))"

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟠 Major | ⚡ Quick win

Add an explicit re-enable guard for this temporary test disable.

Commenting out the full tests block removes all package-level validation and can easily become permanent without a tracked rollback condition. Please annotate this block with a TODO + tracking issue and explicit re-enable criteria/date.

Suggested patch
-# tests:
+# TODO(https://github.com/rapidsai/cudf/issues/<issue-id>): Temporary WAR for
+# rapidsmpf<->libcudf conda build cycle. Re-enable recipe tests by 2026-07-31
+# (or once dependency cycle is resolved) to restore package validation.
+# tests:
 #   - python:
 #       imports:
 #         - cudf_polars
 #       pip_check: false
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@conda/recipes/cudf-polars/recipe.yaml` around lines 52 - 61, The
commented-out tests block removes package validation permanently; uncomment it
and instead of leaving it fully disabled add a clear TODO guard comment above
the tests block that states why it's temporarily disabled, references a tracking
issue (e.g., "TODO: re-enable tests - see ISSUE-XXXX"), and specifies explicit
re-enable criteria or date (e.g., "re-enable after RAPIDS/CUDF init fix or by
YYYY-MM-DD"); ensure the top-level tests block name ("tests") remains present
and the TODO includes the tracking issue ID and re-enable condition so
maintainers can find and revert the temporary change.

@jolorunyomi
jolorunyomi merged commit 40e7353 into release/26.06 Jun 3, 2026
41 of 57 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

improvement Improvement / enhancement to an existing function non-breaking Non-breaking change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants