Skip to content

tighten wheel size limits, expand CI-skipping logic, other small build changes#7738

Merged
rapids-bot[bot] merged 5 commits intorapidsai:mainfrom
jameslamb:misc-build-updates
Jan 30, 2026
Merged

tighten wheel size limits, expand CI-skipping logic, other small build changes#7738
rapids-bot[bot] merged 5 commits intorapidsai:mainfrom
jameslamb:misc-build-updates

Conversation

@jameslamb
Copy link
Copy Markdown
Member

Description

Proposes a batch of miscellaneous build / packaging / CI changes.

Changes

Tightens wheel size limits

Contributes to rapidsai/build-planning#219

CUDA 13 wheels can be as much as 50% smaller than the equivalent CUDA 12 wheels, because of some new compression features in nvcc.

To ensure surprising package-size growth is caught in CI, this PR tightens the limits in the following ways:

  • setting different limits based on CUDA major version where package size differs significantly
  • setting all limits to {compressed_size} + 10Mi, rounded to the nearest 5Mi

Expands CI-skipping logic

Contributes to rapidsai/build-planning#243

Tries to avoid unnecessary CI runs by making the CI-skipping rules finer-grained. For example, PRs that only touch .pre-commit-config.yaml should now not require any runners with GPUs 😁

Removes reliance on pypi.nvidia.com

Contributes to rapidsai/build-planning#241

git grep -i -E 'pypi\.nvidia\.com'
git grep -i -E 'rapids\-init\-pip'

And removed/updated all relevant references. This project does not need any wheels from pypi.nvidia.com at build-time or runtime, it can safely avoid searching that index.

Enforces PEP 639 license metadata in pyproject.toml

Contributes to rapidsai/pre-commit-hooks#95

@jameslamb jameslamb added improvement Improvement / enhancement to an existing function non-breaking Non-breaking change labels Jan 28, 2026
@copy-pr-bot
Copy link
Copy Markdown

copy-pr-bot Bot commented Jan 28, 2026

Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually.

Contributors can view more details about this message here.

@jameslamb
Copy link
Copy Markdown
Member Author

/ok to test

@jameslamb
Copy link
Copy Markdown
Member Author

/ok to test

@jameslamb jameslamb changed the title WIP: tighten wheel size limits, expand CI-skipping logic, other small build changes tighten wheel size limits, expand CI-skipping logic, other small build changes Jan 29, 2026
@jameslamb jameslamb marked this pull request as ready for review January 29, 2026 02:40
@jameslamb jameslamb requested review from a team as code owners January 29, 2026 02:40
@jameslamb jameslamb requested review from csadorf and msarahan January 29, 2026 02:40
@bdice
Copy link
Copy Markdown
Contributor

bdice commented Jan 30, 2026

/merge

@rapids-bot rapids-bot Bot merged commit db8fdcd into rapidsai:main Jan 30, 2026
109 checks passed
dantegd added a commit to dantegd/cuml that referenced this pull request Feb 17, 2026
…d changes (rapidsai#7738)

Proposes a batch of miscellaneous build / packaging / CI changes.

## Changes

### Tightens wheel size limits

Contributes to rapidsai/build-planning#219

CUDA 13 wheels can be as much as 50% smaller than the equivalent CUDA 12 wheels, because of some new compression features in `nvcc`.

To ensure surprising package-size growth is caught in CI, this PR tightens the limits in the following ways:

* setting different limits based on CUDA major version where package size differs significantly
* setting all limits to `{compressed_size} + 10Mi`, rounded to the nearest 5Mi

### Expands CI-skipping logic

Contributes to rapidsai/build-planning#243

Tries to avoid unnecessary CI runs by making the CI-skipping rules finer-grained. For example, PRs that only touch `.pre-commit-config.yaml` should now not require any runners with GPUs 😁

### Removes reliance on `pypi.nvidia.com`

Contributes to rapidsai/build-planning#241

```shell
git grep -i -E 'pypi\.nvidia\.com'
git grep -i -E 'rapids\-init\-pip'
```

And removed/updated all relevant references. This project does not need any wheels from `pypi.nvidia.com` at build-time or runtime, it can safely avoid searching that index.

### Enforces PEP 639 license metadata in `pyproject.toml`

Contributes to rapidsai/pre-commit-hooks#95

Authors:
  - James Lamb (https://github.com/jameslamb)

Approvers:
  - Bradley Dice (https://github.com/bdice)

URL: rapidsai#7738
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci Cython / Python Cython or Python issue 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