Skip to content
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

Bifurcate Dependency Lists [skip-gpuci] #11674

Merged
merged 31 commits into from
Nov 8, 2022

Conversation

bdice
Copy link
Contributor

@bdice bdice commented Sep 8, 2022

Description

This PR uses the rapids-dependency-file-generator to handle sourcing dependencies. Similar to rapidsai/rmm#1073, this PR introduces a GitHub Action that enforces consistency between the new dependencies.yaml file and the generated conda environment for developers.

Checklist

  • I am familiar with the Contributing Guidelines.
  • New or existing tests cover these changes.
  • The documentation is up to date with these changes.

@bdice bdice self-assigned this Sep 8, 2022
@bdice bdice added the non-breaking Non-breaking change label Sep 8, 2022
@github-actions github-actions bot added the conda label Sep 8, 2022
@bdice bdice added the improvement Improvement / enhancement to an existing function label Sep 8, 2022
@ajschmidt8 ajschmidt8 self-requested a review September 19, 2022 14:45
@github-actions
Copy link

This PR has been labeled inactive-30d due to no recent activity in the past 30 days. Please close this PR if it is no longer required. Otherwise, please respond with a comment indicating any updates. This PR will be labeled inactive-90d if there is no activity in the next 60 days.

@review-notebook-app
Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@github-actions github-actions bot added CMake CMake build issue Java Affects Java cuDF API. Python Affects Python cuDF API. gpuCI libcudf Affects libcudf (C++/CUDA) code. labels Oct 27, 2022
@codecov
Copy link

codecov bot commented Oct 28, 2022

Codecov Report

Base: 87.47% // Head: 88.15% // Increases project coverage by +0.67% 🎉

Coverage data is based on head (69fac8a) compared to base (f817d96).
Patch has no changes to coverable lines.

❗ Current head 69fac8a differs from pull request most recent head d9e7bb8. Consider uploading reports for the commit d9e7bb8 to get more accurate results

Additional details and impacted files
@@               Coverage Diff                @@
##           branch-22.12   #11674      +/-   ##
================================================
+ Coverage         87.47%   88.15%   +0.67%     
================================================
  Files               133      133              
  Lines             21826    22148     +322     
================================================
+ Hits              19093    19525     +432     
+ Misses             2733     2623     -110     
Impacted Files Coverage Δ
python/cudf/cudf/io/text.py 91.66% <0.00%> (-8.34%) ⬇️
python/cudf/cudf/core/_base_index.py 81.28% <0.00%> (-4.27%) ⬇️
python/dask_cudf/dask_cudf/core.py 73.72% <0.00%> (-0.41%) ⬇️
python/dask_cudf/dask_cudf/backends.py 84.90% <0.00%> (-0.37%) ⬇️
python/cudf/cudf/io/orc.py 92.94% <0.00%> (-0.09%) ⬇️
python/cudf/cudf/core/udf/_ops.py 100.00% <0.00%> (ø)
python/cudf/cudf/utils/ioutils.py 79.47% <0.00%> (ø)
python/cudf/cudf/core/indexed_frame.py 92.03% <0.00%> (ø)
python/cudf/cudf/_lib/strings/__init__.py 100.00% <0.00%> (ø)
python/cudf/cudf/utils/hash_vocab_utils.py 100.00% <0.00%> (ø)
... and 16 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@ajschmidt8 ajschmidt8 changed the base branch from branch-22.10 to branch-22.12 October 28, 2022 15:53
@github-actions github-actions bot removed Python Affects Python cuDF API. Java Affects Java cuDF API. gpuCI CMake CMake build issue libcudf Affects libcudf (C++/CUDA) code. labels Nov 1, 2022
@github-actions github-actions bot added the gpuCI label Nov 7, 2022
@bdice bdice marked this pull request as ready for review November 7, 2022 21:37
@bdice bdice requested a review from a team as a code owner November 7, 2022 21:37
dependencies.yaml Outdated Show resolved Hide resolved
dependencies.yaml Outdated Show resolved Hide resolved
@ajschmidt8 ajschmidt8 merged commit c900fed into rapidsai:branch-22.12 Nov 8, 2022
ajschmidt8 added a commit to rapidsai/raft that referenced this pull request Dec 7, 2022
This PR uses the [`rapids-dependency-file-generator`](https://github.com/rapidsai/dependency-file-generator/) to handle sourcing dependencies.

Similarly to rapidsai/rmm#1073 and rapidsai/cudf#11674, this PR introduces a GitHub Action that enforces consistency between the new `dependencies.yaml` file and the generated conda environment for developers.

Authors:
   - AJ Schmidt (https://github.com/ajschmidt8)

Approvers:
   - Bradley Dice (https://github.com/bdice)
   - Corey J. Nolet (https://github.com/cjnolet)
rapids-bot bot pushed a commit that referenced this pull request Aug 20, 2024
…nsolidate some dependency lists (#16611)

Proposes some additional cleanup in `dependencies.yaml`, for things I noticed while working through #15483.

* standardizes the naming of keys in the `files:` section for build dependencies
  - *`py_build_{project}` = dependencies for the `[build-system]` table*
  - *`py_rapids_build_{project}` = dependencies for the `[tool.rapids-build-backend]` table*
  - *this is how it was done over most of the other repos in rapidsai/build-planning#31, it was just missed because `cudf` was one of the first repos to add `rapids-build-backend`*
* removes the dependency on building `streamz` from latest source on GitHub
  - *`custreamz` conda packages and wheels depend on packages for those, not this git dependency*
    - https://github.com/rapidsai/cudf/blob/2f7d35435db2b5ed9ead96cf43e2a710db5e5e6d/dependencies.yaml#L752-L754
    - https://github.com/rapidsai/cudf/blob/2f7d35435db2b5ed9ead96cf43e2a710db5e5e6d/conda/recipes/custreamz/meta.yaml#L45-L47
  - *if this is really needed, I don't think it belongs in the `build_python_cudf` set*
  - *the last commit to `streamz` was 2 years ago (https://github.com/python-streamz/streamz), this doesn't seem like a `rapids-dask-dependency`, try-to-always-test-against-latest, situation to me*
  - *I'm guessing this is left over from a time before `streamz` was regularly publishing wheels... it's been in `dependencies.yaml` since that file was first introduced here in November 2022 (#11674)*
  - *the last release, v0.6.4, was made on July 27, 2022. There have been around 20 commits to `master` since then ([history link](https://github.com/python-streamz/streamz/commits/master/)) ... but if `custreamz` really needed those, I'd expect `custreamz` to depend on the version built from GitHub sources. I strongly suspect that that isn't the case.*
* removes `build_python_cudf` and `build_python_libcudf` lists in `dependencies.yaml`, in favor of re-using the `depends_on_rmm` and `depends_on_pylibcudf` lists

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

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

URL: #16611
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
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