Skip to content

Conversation

@bdice
Copy link
Contributor

@bdice bdice commented May 6, 2025

cuSpatial will not be published in 25.06: https://docs.rapids.ai/notices/rsn0045/

This PR drops cuSpatial from the nightly package selector and nightly docs.

@bdice bdice requested a review from a team as a code owner May 6, 2025 20:52
@vercel
Copy link

vercel bot commented May 6, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
docs ✅ Ready (Inspect) Visit Preview May 13, 2025 11:47pm

@netlify
Copy link

netlify bot commented May 6, 2025

Deploy Preview for docs-rapids-ai ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit af79499
🔍 Latest deploy log https://app.netlify.com/sites/docs-rapids-ai/deploys/6823d9fce5f0eb0008d035d6
😎 Deploy Preview https://deploy-preview-600--docs-rapids-ai.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link
Member

@jameslamb jameslamb left a comment

Choose a reason for hiding this comment

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

✅ My approval wouldn't count towards a merge here, but I approve. I did click around the preview and it looked to me like everything was working as expected.

For example, seeing cuSpatial / cuProj grayed out when choosing "Choose Specific Packages" and RAPIDS 25.06:

image

I left one suggestion for simplifying the code, but treat it as non-blocking... do it only if you want, I know testing these changes and be a bit time-consuming.

Comment on lines +577 to +580
// Hide cuSpatial and cuProj for Nightly
if (this.active_release === "Nightly") {
pkgs_to_show = pkgs_to_show.filter(pkg => pkg !== "cuSpatial" && pkg !== "cuProj");
}
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
// Hide cuSpatial and cuProj for Nightly
if (this.active_release === "Nightly") {
pkgs_to_show = pkgs_to_show.filter(pkg => pkg !== "cuSpatial" && pkg !== "cuProj");
}
// possibly filter out any packages that are disabled in specific settings
pkgs_to_show = pkgs_to_show.filter(pkg => !disableUnsupportedPackage(pkg))

My JavaScript is not the best, but is it possible to do something like this everywhere, instead of repeating the literals "cuSpatial" and "cuProj" in so many places?

Putting those filters in place would make it easier to do this kind of thing in the future, and reduce the effort to update the selector again when 25.06 becomes the stable version.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sort of. In theory this is a good idea. In practice, disableUnsupportedPackage accepts button labels as its argument, like cuSpatial/cuProj while we need to use actual package names like cuspatial and cuproj here. Someday we need to rewrite the selector logic from the ground up.

Copy link
Member

Choose a reason for hiding this comment

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

blegh ok I see, I'd missed that distinction. Thanks for considering it.


// Hide cuSpatial and cuProj for Nightly
if (this.active_release === "Nightly") {
pkgs_to_show = pkgs_to_show.filter(pkg => pkg !== "cuSpatial" && pkg !== "cuProj");
Copy link
Contributor

Choose a reason for hiding this comment

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

If you select stable, Choose specific packages, and select cuspatial. Then switch to Nightly, the cuspatial button is disabled, but the install script will still include the packages.

image

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ah, great. I'll try to fix.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fixed in af79499. Merging.

@bdice bdice merged commit 396d234 into rapidsai:main May 13, 2025
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants