Skip to content

Use new constraints type from DFG - #517

Open
KyleFromNVIDIA wants to merge 1 commit into
rapidsai:mainfrom
KyleFromNVIDIA:use-dfg-constraints
Open

Use new constraints type from DFG#517
KyleFromNVIDIA wants to merge 1 commit into
rapidsai:mainfrom
KyleFromNVIDIA:use-dfg-constraints

Conversation

@KyleFromNVIDIA

Copy link
Copy Markdown
Member

As of rapids-dependency-file-generator v1.22.0, a new output type, constraints, is supported, allowing constraints to be separated from requirements. Use this where possible.

For now, be overzealous in turning on constraints wherever requirements is used. If we ever run into issues with constraints having extras, we can deal with it at that time.

Contributes to rapidsai/build-planning#311

As of rapids-dependency-file-generator v1.22.0, a new output type,
`constraints`, is supported, allowing constraints to be separated
from requirements. Use this where possible.

For now, be overzealous in turning on `constraints` wherever
`requirements` is used. If we ever run into issues with constraints
having extras, we can deal with it at that time.

Contributes to rapidsai/build-planning#311
@KyleFromNVIDIA
KyleFromNVIDIA requested review from a team as code owners August 6, 2026 13:45
@KyleFromNVIDIA KyleFromNVIDIA added improvement Improves an existing functionality non-breaking Introduces a non-breaking change labels Aug 6, 2026
@KyleFromNVIDIA
KyleFromNVIDIA requested a review from bdice August 6, 2026 13:45
@greptile-apps

greptile-apps Bot commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

Greptile Summary

The PR adopts DFG v1.22.0's dedicated constraints output for wheel CI.

  • Adds constraints coverage to requirement-compatible dependency groups.
  • Generates torch and wheel-test constraint files using the new output type.
  • Updates the pre-commit DFG revision to v1.22.0.

Confidence Score: 5/5

The PR appears safe to merge with no substantive changed-code defect identified.

The generator upgrade, dependency metadata, and CI consumers are updated coherently to use the new constraints output while preserving the existing package pins and pip index options.

Important Files Changed

Filename Overview
dependencies.yaml Adds constraints output consistently to dependency groups that already support requirements output.
ci/download-torch-wheels.sh Generates the torch pin file using the dedicated constraints output before passing it to pip download.
ci/test_wheel_cugraph-pyg.sh Requests constraints-format dependency output for the cugraph-pyg wheel test environment.
ci/test_wheel_pylibwholegraph.sh Requests constraints-format dependency output for the pylibwholegraph wheel test environment.
.pre-commit-config.yaml Updates the dependency-file generator to the release introducing constraints support.

Reviews (1): Last reviewed commit: "Use new `constraints` type from DFG" | Re-trigger Greptile

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.

1 participant