[Bug 1686307] Review Request: python-distributed - Distributed scheduler for Dask

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.redhat.com/show_bug.cgi?id=1686307



--- Comment #24 from Adam Williamson <awilliam@xxxxxxxxxx> ---
Hmm, okay, so it seems like it was Ben Beasley's idea, and the idea was to
force dask to build on all arches so the tests would run on all arches and
catch any problems, but the installable subpackages would all be noarch.
However, it never worked out this way, because he didn't think about the
%pyproject_extras_subpkg subpackages. Evaluating that macro doesn't give you
"BuildArch: noarch":

[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 if the main package is arched, any subpackage produced with the macro will
also be arched. That's a problem for dask, I guess, I'll file a bug there.
python-distributed doesn't have any extras subpackages yet, so we can achieve
Ben's intent by just marking the python3-distributed subpackage as noarch, if
we do want to force builds across all arches.


-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
https://bugzilla.redhat.com/show_bug.cgi?id=1686307

Report this comment as SPAM: https://bugzilla.redhat.com/enter_bug.cgi?product=Bugzilla&format=report-spam&short_desc=Report%20of%20Bug%201686307%23c24
--
_______________________________________________
package-review mailing list -- package-review@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to package-review-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/package-review@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue




[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite Conditions]     [KDE Users]

  Powered by Linux