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

use rapids-build-backend #1343

Merged
merged 10 commits into from
Jun 10, 2024

Conversation

jameslamb
Copy link
Member

Contributes to rapidsai/build-planning#31
Contributes to rapidsai/dependency-file-generator#89

Proposes introducing rapids-build-backend as this project's build backend, to reduce the complexity of various CI/build scripts.

@jameslamb jameslamb added 2 - In Progress Currently a work in progress improvement Improvement / enhancement to an existing function non-breaking Non-breaking change labels Jun 3, 2024
@github-actions github-actions bot added python python code needed conda conda issue ci labels Jun 3, 2024
@@ -181,3 +182,23 @@ dependencies:
arch: aarch64
packages:
- numactl-devel-cos7-aarch64
- output_types: [requirements, pyproject]
Copy link
Member Author

@jameslamb jameslamb Jun 3, 2024

Choose a reason for hiding this comment

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

dependencies.yaml here is being used to populate a [test] extra in pyproject.toml that is not ever actually used (as far as I can tell).

I've documented the (I think separate) work to set up wheel tests at some point in #1344.

For purposes of this PR, I chose to:

  • break this list down into CUDA-version-specific matrices (so rapids-build-backend will choose the suffixed ones when populating the test extra on the wheels it produces)
  • omit kvikio for the CUDA-version-specific cases for pyproject / requirements, as it doesn't currently have wheels (add wheel output kvikio#369)

Because this is being built with disable-cuda=true, the wheels built by rapids-build-backend will continue to have unsuffixed dependencies and include kvikio.

But at least breaking out the matrices like this means that other uses of rapids-dependency-file-generator to generate CUDA-specific requirements for this repo would get the -cu{major} suffixed versions.

@jameslamb jameslamb changed the title WIP: use rapids-build-backend use rapids-build-backend Jun 3, 2024
@jameslamb jameslamb marked this pull request as ready for review June 3, 2024 20:59
@jameslamb jameslamb requested review from a team as code owners June 3, 2024 20:59
@jameslamb jameslamb added 3 - Ready for Review Ready for review by team and removed 2 - In Progress Currently a work in progress labels Jun 3, 2024
@jameslamb jameslamb requested a review from bdice June 4, 2024 18:58
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.

Looks good to me. I think you did the right thing re: kvikio for now.

Copy link
Contributor

@wence- wence- left a comment

Choose a reason for hiding this comment

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

Approving dask-cuda-python changes.

@jameslamb jameslamb requested review from a team as code owners June 7, 2024 20:32
@jameslamb jameslamb requested a review from msarahan June 7, 2024 20:32
@jameslamb
Copy link
Member Author

/merge

@rapids-bot rapids-bot bot merged commit abded3a into rapidsai:branch-24.08 Jun 10, 2024
27 checks passed
@jameslamb jameslamb deleted the rapids-build-backend branch June 10, 2024 13:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3 - Ready for Review Ready for review by team ci conda conda issue improvement Improvement / enhancement to an existing function non-breaking Non-breaking change python python code needed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants