Skip to content
This repository was archived by the owner on Aug 28, 2025. It is now read-only.

Convert . in CUDA version to _ for rattler-build compat#151

Merged
rapids-bot[bot] merged 2 commits into
rapidsai:mainfrom
msarahan:cuda_version_underscore
Aug 1, 2025
Merged

Convert . in CUDA version to _ for rattler-build compat#151
rapids-bot[bot] merged 2 commits into
rapidsai:mainfrom
msarahan:cuda_version_underscore

Conversation

@msarahan
Copy link
Copy Markdown
Contributor

rattler-build trips on our build string (which I'm hitting because I'm working on pinning stuff). I see 2 ways around this: convert to an underscore, which isn't optimal because it is a delimiter elsewhere in the build string, or removing the "." and cramming the minor version in.

This is pretty esoteric, so I don't think it'll matter much either way, but we should do something about this, or else we won't be able to include this package in pins (for example, work in rapidsai/cuml#7015)

Error:   × Parsing: failed to parse match spec: the build string '12.9_py313_250626*' is not valid, it can only contain alphanumeric characters and underscores
     ╭─[402:7]
 401 │     - pynndescent 0.5.13 pyhd8ed1ab_1
 402 │     - pynvjitlink 0.7.0 12.9_py313_250626*
     ·       ──────────────────┬─────────────────
     ·                         ╰── error parsing `pynvjitlink 0.7.0 12.9_py313_250626*` as a match spec
 403 │     - pynvml 12.0.0 pyhd8ed1ab_0

Error:   × Parsing: failed to parse match spec: the build string '12.9_py313_250626*' is not valid, it can only contain alphanumeric characters and underscores
     ╭─[402:7]
 401 │     - pynndescent 0.5.13 pyhd8ed1ab_1
 402 │     - pynvjitlink 0.7.0 12.9_py313_250626*
     ·       ──────────────────┬─────────────────
     ·                         ╰── error parsing `pynvjitlink 0.7.0 12.9_py313_250626*` as a match spec
 403 │     - pynvml 12.0.0 pyhd8ed1ab_0
@msarahan msarahan requested a review from a team as a code owner July 18, 2025 22:22
@msarahan msarahan requested a review from KyleFromNVIDIA July 18, 2025 22:22
@msarahan msarahan added bug Something isn't working non-breaking Introduces a non-breaking change labels Jul 18, 2025
@msarahan msarahan requested review from gforsyth and removed request for KyleFromNVIDIA July 18, 2025 22:23
Comment thread conda/recipes/pynvjitlink/recipe.yaml Outdated
Co-authored-by: Gil Forsyth <gforsyth@users.noreply.github.com>
@msarahan
Copy link
Copy Markdown
Contributor Author

msarahan commented Aug 1, 2025

/merge

@rapids-bot rapids-bot Bot merged commit b998eaf into rapidsai:main Aug 1, 2025
49 checks passed
@msarahan msarahan deleted the cuda_version_underscore branch August 1, 2025 16:04
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

bug Something isn't working non-breaking Introduces a non-breaking change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants