#24 Drop dependency on dask for i686
Merged 2 months ago by zbyszek. Opened 2 months ago by gui1ty.
rpms/ gui1ty/python-pandas dask  into  rawhide

file modified
+9 -4
@@ -13,7 +13,7 @@ 

  

  Name:           python-pandas

  Version:        2.2.1

- Release:        1%{?dist}

+ Release:        2%{?dist}

  Summary:        Python library providing high-performance data analysis tools

  

  # The entire source is BSD-3-Clause and covered by LICENSE, except:
@@ -409,8 +409,11 @@ 

  # Additional dependencies from environment.yml:

  # “Dask and its dependencies (that dont install with dask)”

  # Asks for dask-core, but we just have dask

- BuildRequires:  python3dist(dask)

- Recommends:     python3dist(dask)

+ #

+ # Drop dependency on `dask` for i686 (package excludes i686)

+ # This can be reverted once `pandas` drops i686

+ BuildRequires:  (python3dist(dask) or python3(x86-32))

+ Recommends:     (python3dist(dask) if python3(x86-64))

This excludes all the other architectures, right?

We could change it to if (python3(x86-64) or python3(aarch-64) or python3(ppc-64) or python3(s390-64)) or some lua script matching on 64. Or we could wrap the Recommends in a %ifnarch. Thoughts?

  BuildRequires:  python3dist(toolz) >= 0.7.3

  Recommends:     python3dist(toolz) >= 0.7.3

  BuildRequires:  python3dist(partd) >= 0.3.10
@@ -676,6 +679,9 @@ 

  

  

  %changelog

+ * Mon Mar 11 2024 Sandro <devel@penguinpee.nl> - 2.2.1-2

+ - Drop dependency on dask for i686

+ 

  * Fri Feb 23 2024 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.2.1-1

  - Update to 2.2.1

  
@@ -1003,4 +1009,3 @@ 

  

  * Tue Jul 10 2012 Kushal Das <kushal@fedoraproject.org> 0.8.1-1

  - Initial release in Fedora

- 

There's a circular dependency between both packages, that we need to
break now dask will no longer be built on i686.

Scratch builds in koji for i686 and x86_64 confirm the former no longer requires dask while the latter still does.

Build succeeded.
https://fedora.softwarefactory-project.io/zuul/buildset/83f031ebb4b046aa9f7f8c67271a2aac

Pull-Request has been merged by zbyszek

2 months ago

I started a build for rawhide.

This excludes all the other architectures, right?

Yeah, it's not ideal. But it's a temporary thing, so I don't think it matters too much.

We could change it to if (python3(x86-64) or python3(aarch-64) or python3(ppc-64) or python3(s390-64)) or some lua script matching on 64. Or we could wrap the Recommends in a %ifnarch. Thoughts?

We could also drop the Recommends entirely. Upstream has it listed as a dev dependency only. So, nothing runtime actually depends on it.

Metadata