Commit 92ea526
committed
rerun-sdk: fix test_lerobot_reader.py assets + deselect test_optimized_stream.py's datafusion tests
The 9 remaining 0.38.1 test failures (0.38.0 shares the same test suite)
split into two distinct root causes, not one:
- test_lerobot_reader.py (5 tests): FileNotFoundError, not datafusion.
CIBW_TEST_SOURCES only copied importer_mcap's own fixtures
(${RE_IMPORTER_DIR}/src/importer_mcap/tests/assets); the new-in-0.38.x
LeRobot fixtures live at the sibling path
${RE_IMPORTER_DIR}/tests/assets/lerobot and were never added. Add that
path instead of ignoring the file -- it's a missing fixture, not a
missing riscv64 wheel. The path exists (unused) in 0.37.2 too, so this
is a no-op there.
- test_optimized_stream.py (4 of its 8 tests): genuine
ModuleNotFoundError: datafusion, via ChunkStore.reader()'s lazy
`import datafusion` (same missing riscv64 wheel as
test_datafusion_utils.py/test_server.py). Its other 4 tests don't call
`.reader()` and pass, so deselect the 4 failing ones individually
instead of ignoring the whole file -- same pattern already used for
test_multi_stream.py::test_isolated_streams and
test_send_dataframe.py::test_send_dataframe_roundtrip.
Verified by grepping rerun-sdk's own test suite (rerun-io/rerun @ 0.38.1)
for every `.reader(` and `import datafusion` usage: these are the only
two files among the currently-collected tests that reach it.1 parent 152a1ef commit 92ea526
1 file changed
Lines changed: 25 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
225 | 225 | | |
226 | 226 | | |
227 | 227 | | |
228 | | - | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
229 | 237 | | |
230 | 238 | | |
231 | 239 | | |
| 240 | + | |
232 | 241 | | |
233 | 242 | | |
234 | 243 | | |
| |||
256 | 265 | | |
257 | 266 | | |
258 | 267 | | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
259 | 279 | | |
260 | 280 | | |
261 | 281 | | |
| |||
282 | 302 | | |
283 | 303 | | |
284 | 304 | | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
285 | 309 | | |
286 | 310 | | |
287 | 311 | | |
| |||
0 commit comments