Repository navigation
Commit 4d38f81
committed
buildstream-plugins-community: fix buildstream test interpreter mismatch and enable tests
The `buildstream` nativeCheckInput is a top-level (non-python-scoped)
package fixed to the default interpreter, so it failed with
`ModuleNotFoundError: No module named 'buildstream'` when building for
another interpreter. It's now rebuilt against `python.pkgs` so it
matches whichever interpreter is building this package.
With that fixed, the shared repo-kind tests pulled in from
`buildstream._testing._sourcetests` fail with `PermissionError`,
since `pytest-datafiles` preserves the read-only permission bits of
`buildstream`'s installed (Nix-store-read-only) package data when
copying fixtures, and the shared test helpers then try to write into
that copy. This is the same upstream bug as
apache/buildstream#2196 (see also PR NixOS#510073
for the same fix in the sibling `buildstream-plugins` package); those
specific tests are disabled here in the meantime.
Assisted-by: Claude <[email protected]>1 parent ceffb36 commit 4d38f81
1 file changed
Lines changed: 34 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
3 | 4 | | |
4 | 5 | | |
5 | 6 | | |
| |||
62 | 63 | | |
63 | 64 | | |
64 | 65 | | |
65 | | - | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
66 | 72 | | |
67 | 73 | | |
68 | 74 | | |
| |||
93 | 99 | | |
94 | 100 | | |
95 | 101 | | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
96 | 129 | | |
97 | 130 | | |
98 | 131 | | |
| |||
0 commit comments