Bug 2261618 - python-zarr: FTBFS in Fedora rawhide/f40
Summary: python-zarr: FTBFS in Fedora rawhide/f40
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: python-zarr
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Elliott Sales de Andrade
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: F40FTBFS 2291729 2291758 2291849 2291985
TreeView+ depends on / blocked
 
Reported: 2024-01-29 21:58 UTC by Fedora Release Engineering
Modified: 2024-06-17 20:23 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2024-06-17 20:23:39 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
build.log (32.00 KB, text/plain)
2024-01-29 21:58 UTC, Fedora Release Engineering
no flags Details
root.log (32.00 KB, text/plain)
2024-01-29 21:58 UTC, Fedora Release Engineering
no flags Details
state.log (1.66 KB, text/plain)
2024-01-29 21:58 UTC, Fedora Release Engineering
no flags Details

Description Fedora Release Engineering 2024-01-29 21:58:26 UTC
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/

Comment 1 Fedora Release Engineering 2024-01-29 21:58:32 UTC
Created attachment 2013330 [details]
build.log

file build.log too big, will only attach last 32768 bytes

Comment 2 Fedora Release Engineering 2024-01-29 21:58:38 UTC
Created attachment 2013331 [details]
root.log

file root.log too big, will only attach last 32768 bytes

Comment 3 Fedora Release Engineering 2024-01-29 21:58:41 UTC
Created attachment 2013332 [details]
state.log

Comment 4 Adam Williamson 2024-06-15 17:06:41 UTC
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.

Comment 5 Adam Williamson 2024-06-15 17:12:30 UTC
With lmdb br removed, there are 21 test failures, which seem to fall into two buckets: issues with `create_array`, and issues with `listdir`.

Comment 6 Adam Williamson 2024-06-15 17:24:01 UTC
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.

Comment 7 Adam Williamson 2024-06-17 19:22:16 UTC
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.

Comment 8 Adam Williamson 2024-06-17 19:23:19 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.