commit 37b08036c89bf597cff9c65ad3927e0a371b74603725c1cd896c2f0881d1f84b Author: Markéta Machová Date: Fri Aug 30 11:37:20 2024 +0000 Accepting request 1197819 from home:bnavigator:branches:devel:languages:python:numeric - Skip some tests on 32-bit - Update to 1.1.11 * Make split_out for categorical default smarter #1124 Patrick Hoefler * Avoid calling `array`` attribute on ``cudf.Series`` #1122 `Richard (Rick) Zamora * Introduce ToBackend` expression #1115 `Richard (Rick) Zamora * Fix result index of merge #1121 Patrick Hoefler * Fix projection for Index class in read_parquet #1120 Patrick Hoefler * Register read_parquet` and `read_csv` as "dispatchable" #1114 `Richard (Rick) Zamora * Fix merging when index name in meta missmatches actual name #1119 Patrick Hoefler * Fix tuples as on argument in merge #1117 Patrick Hoefler * Drop support for Python 3.9 #1109 Patrick Hoefler - Release 1.1.10 * Fixup remaining upstream failures #1111 Patrick Hoefler * Fix some things for pandas 3 #1110 Patrick Hoefler - Release 1.1.9 * Patch release for Dask 2024.7.0 - Release 1.1.8 * Fix shuffle blowing up the task graph #1108 Patrick Hoefler * Link fix in readme #1107 Ben * Fix from_pandas with chunksize and empty df #1106 Patrick Hoefler * Fix deepcopying FromPandas class #1105 Patrick Hoefler * Skip test if optional xarray cannot be imported #1104 Sandro - Release 1.1.7 * Patch release for Dask 2024.7.0 OBS-URL: https://build.opensuse.org/request/show/1197819 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-dask-expr?expand=0&rev=7 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/_multibuild b/_multibuild new file mode 100644 index 0000000..61ec855 --- /dev/null +++ b/_multibuild @@ -0,0 +1,3 @@ + + test + diff --git a/dask_expr-1.0.13-gh.tar.gz b/dask_expr-1.0.13-gh.tar.gz new file mode 100644 index 0000000..37d3674 --- /dev/null +++ b/dask_expr-1.0.13-gh.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c16e1aa62418b31b20d5ebbaa44d85c0d8b2cf21d394a425f95ab488adfcd71d +size 253953 diff --git a/dask_expr-1.1.11-gh.tar.gz b/dask_expr-1.1.11-gh.tar.gz new file mode 100644 index 0000000..bb2f80d --- /dev/null +++ b/dask_expr-1.1.11-gh.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4bb1e111cfb823e0c4134591b7c5ef55e34464962dfe274d48e1304f6552f96d +size 302389 diff --git a/dask_expr-1.1.6-gh.tar.gz b/dask_expr-1.1.6-gh.tar.gz new file mode 100644 index 0000000..df86149 --- /dev/null +++ b/dask_expr-1.1.6-gh.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fe8e46eb75cffffd90eb617b6449812910d997be8df25e99b4b40b25ebf7fb3e +size 267800 diff --git a/python-dask-expr.changes b/python-dask-expr.changes new file mode 100644 index 0000000..5ac322b --- /dev/null +++ b/python-dask-expr.changes @@ -0,0 +1,78 @@ +------------------------------------------------------------------- +Fri Aug 30 10:55:19 UTC 2024 - Ben Greiner + +- Skip some tests on 32-bit + +------------------------------------------------------------------- +Thu Aug 29 14:38:23 UTC 2024 - Ben Greiner + +- Update to 1.1.11 + * Make split_out for categorical default smarter #1124 Patrick + Hoefler + * Avoid calling `array`` attribute on ``cudf.Series`` #1122 + `Richard (Rick) Zamora + * Introduce ToBackend` expression #1115 `Richard (Rick) Zamora + * Fix result index of merge #1121 Patrick Hoefler + * Fix projection for Index class in read_parquet #1120 Patrick + Hoefler + * Register read_parquet` and `read_csv` as "dispatchable" #1114 + `Richard (Rick) Zamora + * Fix merging when index name in meta missmatches actual name + #1119 Patrick Hoefler + * Fix tuples as on argument in merge #1117 Patrick Hoefler + * Drop support for Python 3.9 #1109 Patrick Hoefler +- Release 1.1.10 + * Fixup remaining upstream failures #1111 Patrick Hoefler + * Fix some things for pandas 3 #1110 Patrick Hoefler +- Release 1.1.9 + * Patch release for Dask 2024.7.0 +- Release 1.1.8 + * Fix shuffle blowing up the task graph #1108 Patrick Hoefler + * Link fix in readme #1107 Ben + * Fix from_pandas with chunksize and empty df #1106 Patrick + Hoefler + * Fix deepcopying FromPandas class #1105 Patrick Hoefler + * Skip test if optional xarray cannot be imported #1104 Sandro +- Release 1.1.7 + * Patch release for Dask 2024.7.0 + +------------------------------------------------------------------- +Mon Jul 8 04:34:30 UTC 2024 - Steve Kowalik + +- Update to 1.1.6: + * Patch release for Dask 2024.6.2 + * Fix resample divisions propagation + * Fix categorize if columns are dropped + * Fix projection to empty from_pandas + * Fix meta for string accessors + * Use is_categorical_dtype dispatch for sort_values + * Fix read_csv with positional usecols + * Fix isin for head computation + * Fix isin with strings + * Use ensure_deterministic kwarg instead of config + * Add cache argument to lower_once + * Fix non-integer divisions in FusedIO + * Fix dropna before merge + * Fix sort_values for unordered categories + * Fix to_parquet in append mode + * reduce pickle size of parquet fragments + * Generalize get_dummies + * Add support for DataFrame.melt + * Fix default name conversion in ToFrame + * Optimize when from-delayed is called + * Fix delayed in fusing with multipled dependencies + * Fix None min/max statistics and missing statistics generally + * Fix xarray integration with scalar columns + * Fix shape returning integer + * Fix bug in Series reductions + +------------------------------------------------------------------- +Mon Apr 29 12:43:13 UTC 2024 - Ben Greiner + +- Remove extra source file + +------------------------------------------------------------------- +Fri Apr 26 18:00:13 UTC 2024 - Ben Greiner + +- Initial specfile for v1.0.13 +- Required by and versions must by in sync with dask diff --git a/python-dask-expr.spec b/python-dask-expr.spec new file mode 100644 index 0000000..6e13ac0 --- /dev/null +++ b/python-dask-expr.spec @@ -0,0 +1,96 @@ +# +# 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.1.11 +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 base >= 3.10} +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.8.1 +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-dataframe} +BuildRequires: %{python_module dask-expr = %{version}} +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" +# wrong types expected +if [ $(getconf LONG_BIT) -eq 32 ]; then + donttest="$donttest or test_memory_usage" + donttest="$donttest or test_repartition_partition_size" + donttest="$donttest or test_scalar_repr" + donttest="$donttest or test_timeseries_gaph_size" + donttest="$donttest or test_join_gives_proper_divisions" +fi +%pytest -k "not ($donttest)" +%endif + +%if !%{with test} +%files %{python_files} +%{python_sitelib}/dask_expr +%{python_sitelib}/dask_expr-%{version}.dist-info +%endif + +%changelog