Commit 5b65268
committed
Fix CI failures on PR #1980
- Docs: invalid RST ``RPATH``s (inline literal must be followed by a
non-word character) caused -W to fail the Sphinx build. Reword to
``RPATH`` entries.
- Tests: test_find_nvidia_dynamic_lib_does_not_load_in_caller_process
spawned python -c without setting cwd. Pytest's cwd (the source
tree) ended up on sys.path[0], so the child resolved the
source-tree cuda.pathfinder which lacks the install-generated
_version.py. Use DYNAMIC_LIB_SUBPROCESS_CWD as the production
subprocess helper does; that path resolves to the installed
package root.1 parent bbd41d4 commit 5b65268
2 files changed
Lines changed: 6 additions & 1 deletion
File tree
- cuda_pathfinder
- cuda/pathfinder/_dynamic_libs
- tests
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
59 | | - | |
| 59 | + | |
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
23 | 24 | | |
24 | 25 | | |
25 | 26 | | |
| |||
135 | 136 | | |
136 | 137 | | |
137 | 138 | | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
138 | 142 | | |
139 | 143 | | |
140 | 144 | | |
141 | 145 | | |
142 | 146 | | |
143 | 147 | | |
| 148 | + | |
144 | 149 | | |
145 | 150 | | |
146 | 151 | | |
| |||
0 commit comments