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

Pin cuml dependency in notebook testing environment to nightlies #1110

Merged
merged 4 commits into from
May 1, 2023

Conversation

isVoid
Copy link
Contributor

@isVoid isVoid commented May 1, 2023

Description

This PR pins cuml dependency in notebook testing environment to nightlies as required in the CI environment.

Checklist

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

@isVoid isVoid requested a review from a team as a code owner May 1, 2023 17:12
@github-actions github-actions bot added the conda Related to conda and conda configuration label May 1, 2023
Copy link
Member

@ajschmidt8 ajschmidt8 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you add an entry for cuml in the update-version.sh block below?

# bump cudf
for FILE in dependencies.yaml conda/environments/*.yaml; do
sed_runner "s/cudf=${CURRENT_SHORT_TAG}/cudf=${NEXT_SHORT_TAG}/g" ${FILE};
sed_runner "s/rmm=${CURRENT_SHORT_TAG}/rmm=${NEXT_SHORT_TAG}/g" ${FILE};
sed_runner "s/libcudf=${CURRENT_SHORT_TAG}/libcudf=${NEXT_SHORT_TAG}/g" ${FILE};
sed_runner "s/librmm=${CURRENT_SHORT_TAG}/librmm=${NEXT_SHORT_TAG}/g" ${FILE};
done

Also, since you'll be touching this file, would you mind updating those few lines of code to be consistent with my comment below?

In particular, removing the variable from the sed search pattern would be great.

@github-actions github-actions bot added the ci label May 1, 2023
@isVoid isVoid requested a review from ajschmidt8 May 1, 2023 17:52
@isVoid isVoid added bug Something isn't working non-breaking Non-breaking change labels May 1, 2023
ajschmidt8 added 2 commits May 1, 2023 15:31
the `==23.6.*` specifier is compatible with both `conda` and `pip`, which is why we opt to use that pattern for our dependencies now that we are publishing wheels
the `NEXT_SHORT_TAG_PEP440` values are compatible with both `conda` and `pip`
Comment on lines +59 to +60
sed_runner "/- &cudf_conda cudf==/ s/==.*/==${NEXT_SHORT_TAG_PEP440}\.*/g" ${FILE}
sed_runner "/- cudf==/ s/==.*/==${NEXT_SHORT_TAG_PEP440}\.*/g" ${FILE}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

for now there is a bit of duplication necessary here for cudf.

it will be removed in the future when we revamp these scripts and the process around them.

@isVoid
Copy link
Contributor Author

isVoid commented May 1, 2023

/merge

@rapids-bot rapids-bot bot merged commit c713325 into rapidsai:branch-23.06 May 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working ci conda Related to conda and conda configuration non-breaking Non-breaking change
Projects
Status: Todo
Development

Successfully merging this pull request may close these issues.

2 participants