Accepting request 1170335 from home:bnavigator:numpy

required by dask-dataframe 2024.4.2

OBS-URL: https://build.opensuse.org/request/show/1170335
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-dask-expr?expand=0&rev=1
This commit is contained in:
Dirk Mueller 2024-04-29 12:37:16 +00:00 committed by Git OBS Bridge
commit 670645ec3d
7 changed files with 125 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

3
_multibuild Normal file
View File

@ -0,0 +1,3 @@
<multibuild>
<package>test</package>
</multibuild>

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c16e1aa62418b31b20d5ebbaa44d85c0d8b2cf21d394a425f95ab488adfcd71d
size 253953

3
dask_expr-1.0.13.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9a98562c7f30a5c08ae91028a4c81f037a6682eb81967a3658d9d14411f53a83
size 197745

5
python-dask-expr.changes Normal file
View File

@ -0,0 +1,5 @@
-------------------------------------------------------------------
Fri Apr 26 18:00:13 UTC 2024 - Ben Greiner <code@bnavigator.de>
- Initial specfile for v1.0.13
- Required by and versions must by in sync with dask

87
python-dask-expr.spec Normal file
View File

@ -0,0 +1,87 @@
#
# spec file for package python-dask-expr
#
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%define psuffix %{nil}
%global flavor @BUILD_FLAVOR@%{nil}
%if "%{flavor}" == "test"
%define psuffix -test
%bcond_without test
%else
%define psuffix %{nil}
%bcond_with test
%endif
Name: python-dask-expr%{psuffix}
Version: 1.0.13
Release: 0
Summary: High Level Expressions for Dask
License: BSD-3-Clause
URL: https://github.com/dask/dask-expr
Source0: https://github.com/dask/dask-expr/archive/refs/tags/v%{version}.tar.gz#/dask_expr-%{version}-gh.tar.gz
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools >= 62.6}
BuildRequires: %{python_module versioneer-toml}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-dask = 2024.4.2
Requires: python-pandas >= 2
Requires: python-pyarrow >= 7.0.0
Provides: python-dask_expr = %{version}-%{release}
BuildArch: noarch
%if %{with test}
BuildRequires: %{python_module dask-expr = %{version}}
BuildRequires: %{python_module dask-dataframe}
BuildRequires: %{python_module distributed}
BuildRequires: %{python_module pandas >= 2}
BuildRequires: %{python_module pyarrow >= 7.0.0}
BuildRequires: %{python_module pytest}
%endif
%python_subpackages
%description
Dask DataFrames with query optimization.
This is a rewrite of Dask DataFrame that includes query optimization
and generally improved organization.
%prep
%autosetup -p1 -n dask-expr-%{version}
sed -i 's/--color=yes//' pyproject.toml
%if !%{with test}
%build
%pyproject_wheel
%install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%endif
%if %{with test}
%check
# https://github.com/dask/dask-expr/issues/789 (?)
donttest="test_groupby_index_array"
%pytest -k "not ($donttest)"
%endif
%if !%{with test}
%files %{python_files}
%{python_sitelib}/dask_expr
%{python_sitelib}/dask_expr-%{version}.dist-info
%endif
%changelog