Bug 2261618

Summary: python-zarr: FTBFS in Fedora rawhide/f40
Product: [Fedora] Fedora Reporter: Fedora Release Engineering <releng>
Component: python-zarrAssignee: Elliott Sales de Andrade <quantum.analyst>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: awilliam, epel-packagers-sig, jonathan, python-packagers-sig, quantum.analyst
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-06-17 20:23:39 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2231791, 2291729, 2291758, 2291849, 2291985    
Attachments:
Description Flags
build.log
none
root.log
none
state.log none

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.