-
Notifications
You must be signed in to change notification settings - Fork 51
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
Quote packages so shells don't get unhappy #561
base: main
Are you sure you want to change the base?
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
✅ Deploy Preview for docs-rapids-ai ready!Built without sensitive environment variables
To edit notification comments on pull requests, go to your Netlify site configuration. |
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.
One small question.
if (pkg === "raft") return ["pylibraft" + cuda_suffix, "raft-dask" + cuda_suffix]; | ||
if (pkg === "cuvs") return ["cuvs" + cuda_suffix, "pylibraft" + cuda_suffix]; | ||
if (pkg === "cugraph/nx-cugraph") return ["cugraph" + cuda_suffix, "nx-cugraph" + cuda_suffix]; | ||
return ["" + pkg + cuda_suffix]; |
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.
Is this empty string needed?
return ["" + pkg + cuda_suffix]; | |
return [pkg + cuda_suffix]; |
This attempts to fix #560
This moves the quoting to the end of
getpipCmdHtml
and always applies it. Previously only the nightly version got quoted. but it required a leading"
in each package name and a closing"
in the CUDA suffix.I clicked through a few combinations of things for the
pip
option. As far as I can tell it works for all of them