Spec URL: https://download.copr.fedorainfracloud.org/results/mhayden/pyarrow/fedora-rawhide-x86_64/04538205-python-pyarrow/python-pyarrow.spec SRPM URL: https://download.copr.fedorainfracloud.org/results/mhayden/pyarrow/fedora-rawhide-x86_64/04538205-python-pyarrow/python-pyarrow-8.0.0-1.fc37.src.rpm Description: Python library for Apache Arrow Fedora Account System Username: mhayden I've gotta admit, this is one of the most difficult python packages I've had to do so far. 🥵 I will gladly take any advice on how to improve this one. COPR builds on multiple architectures: https://copr.fedorainfracloud.org/coprs/mhayden/pyarrow/build/4538205/ This also unblocks the update from BZ 2070345 since python-google-cloud-bigquery requires pyarrow now.
Updated to include %pyproject_check_import and the Python 3.11 update. Spec URL: https://download.copr.fedorainfracloud.org/results/mhayden/pyarrow/fedora-rawhide-x86_64/04586111-python-pyarrow/python-pyarrow.spec SRPM URL: https://download.copr.fedorainfracloud.org/results/mhayden/pyarrow/fedora-rawhide-x86_64/04586111-python-pyarrow/python-pyarrow-8.0.0-1.fc37.src.rpm Full COPR build here: https://copr.fedorainfracloud.org/coprs/mhayden/pyarrow/build/4586111/
I was starting to review this, and I wrote this: - The PyPI source archive lacks the license text because that is at the top level of the git repository, but the Apache license requires the text to be distributed. Consider filing an upstream issue about the missing license file. You could add the license files as additional sources: Source1: https://github.com/apache/arrow/raw/apache-arrow-%{version}/LICENSE.txt Source2: https://github.com/apache/arrow/raw/apache-arrow-%{version}/NOTICE.txt Or, you could use the full GitHub archive as the source, Source0: https://github.com/apache/arrow/archive/apache-arrow-%{version}/arrow-apache-arrow-%{version}.tar.gz and then do something like this in %prep: # Remove non-Python sources: find . -mindepth 1 -maxdepth 1 -type d ! -name python -print -exec rm -rf …but then I considered that I had just recommended using the same source archive as libarrow[1]. Perhaps it would be better to add python3-pyarrow as an additional subpackage in libarrow instead, rather than managing it as a separate package. [1] https://src.fedoraproject.org/rpms/libarrow
Thanks, Ben. Luckily the libarrow maintainer was able to take some of what I proposed and add it to the main libarrow pkg. 🎉