Repository navigation
Commit b4fedec
committed
The build-configuration check imported cuda.bindings directly. In an
isolated PEP 517 build with an in-tree backend (the wheel-from-sdist CI
job), the project's own cuda/ directory is the whole `cuda` namespace,
so the cuda-bindings pip installed into the build environment is not
importable (#1824) and the check failed with "requires cuda-bindings to
build". Import it the way _import_get_cuda_path_or_home() imports
cuda.pathfinder: add the site-packages cuda/ directory to the namespace
path when the plain import fails. The pxd-path block uses the same
helper. Package metadata is not a substitute: pip's in-process hook
runner forwards find_distributions without the requested name, so it
returns this project's own metadata for `cuda-bindings`.
test_managed_ops.py asserted the old wording of the NUMA-host message
("cuda-bindings 13.0+"), which now names the CUDA 13 build; the four
regexes follow.
1 parent af88337 commit b4fedec
3 files changed
Lines changed: 50 additions & 15 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
69 | 100 | | |
70 | 101 | | |
71 | 102 | | |
| |||
178 | 209 | | |
179 | 210 | | |
180 | 211 | | |
181 | | - | |
182 | | - | |
| 212 | + | |
| 213 | + | |
183 | 214 | | |
184 | 215 | | |
185 | 216 | | |
186 | 217 | | |
187 | | - | |
188 | 218 | | |
189 | 219 | | |
190 | 220 | | |
| |||
360 | 390 | | |
361 | 391 | | |
362 | 392 | | |
363 | | - | |
| 393 | + | |
364 | 394 | | |
365 | | - | |
366 | | - | |
| 395 | + | |
| 396 | + | |
367 | 397 | | |
368 | 398 | | |
369 | 399 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
465 | 465 | | |
466 | 466 | | |
467 | 467 | | |
468 | | - | |
| 468 | + | |
469 | 469 | | |
470 | 470 | | |
471 | 471 | | |
| |||
517 | 517 | | |
518 | 518 | | |
519 | 519 | | |
520 | | - | |
| 520 | + | |
521 | 521 | | |
522 | 522 | | |
523 | 523 | | |
| |||
536 | 536 | | |
537 | 537 | | |
538 | 538 | | |
539 | | - | |
| 539 | + | |
540 | 540 | | |
541 | 541 | | |
542 | 542 | | |
543 | 543 | | |
544 | 544 | | |
545 | 545 | | |
546 | | - | |
| 546 | + | |
547 | 547 | | |
548 | 548 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
457 | 457 | | |
458 | 458 | | |
459 | 459 | | |
460 | | - | |
| 460 | + | |
461 | 461 | | |
462 | 462 | | |
463 | | - | |
464 | | - | |
465 | | - | |
| 463 | + | |
| 464 | + | |
| 465 | + | |
| 466 | + | |
| 467 | + | |
| 468 | + | |
| 469 | + | |
| 470 | + | |
466 | 471 | | |
467 | 472 | | |
468 | 473 | | |
| |||
539 | 544 | | |
540 | 545 | | |
541 | 546 | | |
542 | | - | |
| 547 | + | |
543 | 548 | | |
544 | 549 | | |
545 | 550 | | |
| |||
0 commit comments