-
Notifications
You must be signed in to change notification settings - Fork 304
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
combine pip install calls in wheel-testing scripts #4701
Merged
rapids-bot
merged 3 commits into
rapidsai:branch-24.12
from
jameslamb:combine-pip-installs
Oct 10, 2024
Merged
combine pip install calls in wheel-testing scripts #4701
rapids-bot
merged 3 commits into
rapidsai:branch-24.12
from
jameslamb:combine-pip-installs
Oct 10, 2024
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jameslamb
added
improvement
Improvement / enhancement to an existing function
non-breaking
Non-breaking change
labels
Oct 7, 2024
jameslamb
changed the title
WIP: combine pip install calls in wheel-testing scripts
combine pip install calls in wheel-testing scripts
Oct 7, 2024
In addition to codeowners, I'd like to get your opinion on this too @alexbarghi-nv |
KyleFromNVIDIA
approved these changes
Oct 10, 2024
alexbarghi-nv
approved these changes
Oct 10, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is fine with me. I agree we should have already been doing this.
Ok cool, thank you both! |
/merge |
rapids-bot bot
pushed a commit
to rapidsai/wholegraph
that referenced
this pull request
Oct 23, 2024
…e dependency (#230) While working on adding CI for `wholegraph` in the new `cugraph-gnn` repo (rapidsai/cugraph-gnn#58), I noticed a few issues here. * `pylibwholegraph` imports `numpy` at runtime, but its wheels and conda package don't declare a runtime dependency on `numpy` * wheel runtime and testing dependencies are not being managed by `rapids-dependency-file-generator` * `wholegraph_binding` Cython code imports NumPy but doesn't use it * the wheel-testing CI environment is built up with a sequence of `pip install` calls instead of a single one to get all dependencies (see rapidsai/cugraph#4701) This proposes fixes for those things. ## Notes for Reviewers ### Where is the NumPy runtime dependency coming from? https://github.com/rapidsai/wholegraph/blob/0efba33835d6e4e104b5d7101a91e0ea55a6ca53/python/pylibwholegraph/pylibwholegraph/torch/data_loader.py#L14 Authors: - James Lamb (https://github.com/jameslamb) Approvers: - Kyle Edwards (https://github.com/KyleFromNVIDIA) URL: #230
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
Follow-up to #4690.
Proposes consolidating stuff like this in CI scripts:
Into this:
Benefits of these changes
Reduces the risk of creating a broken environment with incompatible packages. Unlike
conda
,pip
does not evaluate the requirements of all installed packages when you runpip
install.Installing
torch
andcugraph-dgl
at the same time, for example, gives us a chance to find out about packaging issues like "cugraph-dgl
andtorch
have conflicting requirements on{other_package}
" at CI time.Similar change from
cudf
: rapidsai/cudf#16575