https://bugzilla.redhat.com/show_bug.cgi?id=2293727
Bug ID: 2293727 Summary: Extras subpackages are arched, they should not be Product: Fedora Version: rawhide Hardware: All OS: Linux Status: NEW Component: python-dask Severity: medium Assignee: quantum.analyst@gmail.com Reporter: awilliam@redhat.com QA Contact: extras-qa@fedoraproject.org CC: epel-packagers-sig@lists.fedoraproject.org, jonathan@almalinux.org, python-packagers-sig@lists.fedoraproject.org, quantum.analyst@gmail.com Target Milestone: --- Classification: Fedora
python-dask.spec has this comment:
# We have an arched package to detect arch-dependent issues in dependencies, # but all of the installable RPMs are noarch and there is no compiled code.
however, it is a lie, because of the use of `%pyproject_extras_subpkg`:
%pyproject_extras_subpkg -n python3-%{srcname} array bag dataframe delayed
that macro does not include BuildArch: noarch when expanded:
[adamw@xps13a python-dask (rawhide %)]$ rpm --eval "%pyproject_extras_subpkg -n python3-foo bar" %package -n python3-foo+bar Summary: Metapackage for python3-foo: bar extras Requires: python3-foo = %{version}-%{release} %description -n python3-foo+bar This is a metapackage bringing in bar extras requires for python3-foo. It makes sure the dependencies are installed.
%files -n python3-foo+bar -f /home/adamw/rpmbuild/BUILD/%{name}-%{version}-%{release}.x86_64-pyproject-ghost-distinfo
so all these subpackages are actually archful, as you can see in a dask build: https://koji.fedoraproject.org/koji/buildinfo?buildID=2477169
assigning to Ben Beasley, as this setup was his idea.