python-zarr failed to build from source in Fedora rawhide/f40 https://koji.fedoraproject.org/koji/taskinfo?taskID=112403747 For details on the mass rebuild see: https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild Please fix python-zarr at your earliest convenience and set the bug's status to ASSIGNED when you start fixing it. If the bug remains in NEW state for 8 weeks, python-zarr will be orphaned. Before branching of Fedora 41, python-zarr will be retired, if it still fails to build. For more details on the FTBFS policy, please visit: https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/
Created attachment 2013330 [details] build.log file build.log too big, will only attach last 32768 bytes
Created attachment 2013331 [details] root.log file root.log too big, will only attach last 32768 bytes
Created attachment 2013332 [details] state.log
Elliott says it should be possible to drop zarr's dep on lmdb, which would help as fixing lmdb's build is not at all straightforward.
With lmdb br removed, there are 21 test failures, which seem to fall into two buckets: issues with `create_array`, and issues with `listdir`.
zarr is up to 2.18.2 now upstream, but still 21 test failures building that (you have to disable doc generation too as it now needs a sphinx module we don't have packaged). same 21 test failures building on F40 (Python 3.12) too, which seems odd since they claim to have 3.12 in CI upstream. will take a bit of investigation.
Fixed in https://bodhi.fedoraproject.org/updates/FEDORA-2024-4ba59f29c5 , pending signing. Thanks to Elliott for reporting the array test issues upstream as https://github.com/zarr-developers/zarr-python/issues/1678 . The listdir issues are caused by a newer fsspec, this is reported upstream as https://github.com/zarr-developers/zarr-python/issues/1819 . I've sent PRs to fix both issues - https://github.com/zarr-developers/zarr-python/pull/1972 and https://github.com/zarr-developers/zarr-python/pull/1970 - and backported them in the package build.
oh, forgot to mention, I dropped the lmdb build requirement as it's not critical. It causes some tests to be disabled, and trying to use the `LMDBStore` class would fail, but this is better than the entire package being non-installable.