Bug 2097476
| Summary: | Review Request: python-pyarrow - Python library for Apache Arrow | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Major Hayden 🤠<mhayden> |
| Component: | Package Review | Assignee: | Nobody's working on this, feel free to take it <nobody> |
| Status: | CLOSED WONTFIX | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | rawhide | CC: | code, package-review |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2022-08-10 17:44:38 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: | 2070345 | ||
|
Description
Major Hayden ðŸ¤
2022-06-15 18:33:22 UTC
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. 🎉 |