Skip to content
This repository has been archived by the owner on Nov 25, 2024. It is now read-only.

manage more dependencies in dependencies.yaml, declare 'numpy' runtime dependency #230

Merged
merged 9 commits into from
Oct 23, 2024

Conversation

jameslamb
Copy link
Member

@jameslamb jameslamb commented Oct 17, 2024

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 combine pip install calls in wheel-testing scripts cugraph#4701)

This proposes fixes for those things.

Notes for Reviewers

Where is the NumPy runtime dependency coming from?

@jameslamb jameslamb added improvement Improves an existing functionality non-breaking Introduces a non-breaking change labels Oct 17, 2024
@jameslamb jameslamb changed the title WIP: manage more dependencies in dependencies.yaml, add 'numpy' run dependency to conda packages WIP: manage more dependencies in dependencies.yaml, declare 'numpy' runtime dependency Oct 17, 2024
@jameslamb jameslamb changed the title WIP: manage more dependencies in dependencies.yaml, declare 'numpy' runtime dependency manage more dependencies in dependencies.yaml, declare 'numpy' runtime dependency Oct 18, 2024
@jameslamb jameslamb marked this pull request as ready for review October 18, 2024 15:10
@jameslamb jameslamb requested review from a team as code owners October 18, 2024 15:10
rapids-bot bot pushed a commit to rapidsai/cugraph-gnn that referenced this pull request Oct 21, 2024
This PR introduces full end-to-end CI for wholegraph.

## Notes for Reviewers

Most of these changes were pulled from a mix of the following:

* #53
* rapidsai/wholegraph#230
* https://github.com/rapidsai/wholegraph

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

Approvers:
  - Alex Barghi (https://github.com/alexbarghi-nv)
  - Jake Awe (https://github.com/AyodeAwe)

URL: #58
ci/test_wheel.sh Show resolved Hide resolved
ci/test_wheel.sh Show resolved Hide resolved
@jameslamb
Copy link
Member Author

Thanks for the thorough review, @KyleFromNVIDIA

@jameslamb
Copy link
Member Author

/merge

@rapids-bot rapids-bot bot merged commit 9b1c1c9 into rapidsai:branch-24.12 Oct 23, 2024
51 checks passed
@jameslamb jameslamb deleted the cleanup-dependencies branch October 23, 2024 17:36
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
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.

2 participants