-
Notifications
You must be signed in to change notification settings - Fork 157
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
Conversation
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.
Can you add an entry for cuml
in the update-version.sh
block below?
cuspatial/ci/release/update-version.sh
Lines 44 to 50 in 021c1f2
# 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.
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`
sed_runner "/- &cudf_conda cudf==/ s/==.*/==${NEXT_SHORT_TAG_PEP440}\.*/g" ${FILE} | ||
sed_runner "/- cudf==/ s/==.*/==${NEXT_SHORT_TAG_PEP440}\.*/g" ${FILE} |
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.
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.
/merge |
Description
This PR pins cuml dependency in notebook testing environment to nightlies as required in the CI environment.
Checklist