Skip to content

Conversation

@jameslamb
Copy link
Member

Fixes #90

Replaces #93 (was automatically closed by GitHub when we flipped the repo from private to public)

  • adds wheels CI (for PRs and branch builds)
  • changes the distribution name from rapids_cli (underscore) to rapids-cli (hyphen), so the experience will be e.g. pip install rapids-cli
  • puts a floor on setuptools, to ensure builds always get a version that supports pyproject.toml
  • sets up tests to run on CI runners with GPUs
    • I expect we'll want this as the test suite here is expanded

Notes for Reviewers

Why use the RAPIDS calendar-versioned workflows?

I think it's useful here to reuse all the RAPIDS machinery, especially artifact-handling and running tests on runners with GPUs.

This project differs in this important way from other pure-Python, main-branch projects in RAPIDS like https://github.com/rapidsai/rapids-build-backend or https://github.com/rapidsai/rapids-metadata ... something like https://github.com/rapidsai/dask-cuda is probably a better reference for the testing needs for this project.

Maybe we'll want to revisit this in the future as we see how often this project gets released relative to RAPIDS, but I think this is a good starting point for now.

@jameslamb jameslamb added improvement Improves an existing functionality non-breaking Introduces a non-breaking change labels May 21, 2025
@jameslamb jameslamb changed the title WIP: build and test wheels in CI build and test wheels in CI May 22, 2025
@jameslamb jameslamb marked this pull request as ready for review May 22, 2025 02:32
@jameslamb jameslamb requested review from a team and jacobtomlinson May 22, 2025 02:32
Copy link
Member

@jacobtomlinson jacobtomlinson left a comment

Choose a reason for hiding this comment

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

Looks great.

I promise I wont aggressively close this without context 😆 (not sure why GitHub attributed that to me in #93 when we flipped to public 😄 ).

@jacobtomlinson jacobtomlinson merged commit 496c81d into rapidsai:main May 22, 2025
4 checks passed
@jameslamb
Copy link
Member Author

Haha thank you, appreciate you!

@jameslamb jameslamb deleted the build-packages branch May 22, 2025 15:44
jacobtomlinson pushed a commit that referenced this pull request May 22, 2025
After I merged #95, saw uploads to
https://pypi.anaconda.org/rapidsai-wheels-nightly/simple/ fail like
this:

```text
jq: error (at <unknown>): Cannot iterate over null (null)
Using Anaconda API: https://api.anaconda.org/
Error:  ('Authentication token is missing. Please, use `anaconda login` to reauthenticate.', 401)
```

([build
link](https://github.com/rapidsai/rapids-cli/actions/runs/15184064755/job/42700655043)

I forgot that the upload workflows still expect to find wheel artifacts
in S3.
That'll change with
rapidsai/shared-workflows#332 in the 25.08
release, but for now we still need to upload to S3.

This adds that upload, to hopefully fix publishing to
https://pypi.anaconda.org/rapidsai-wheels-nightly/simple/
@jameslamb jameslamb mentioned this pull request May 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

improvement Improves an existing functionality non-breaking Introduces a non-breaking change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add wheels

2 participants