1
0

23 Commits

Author SHA256 Message Date
24390ad46c Accepting request 1228730 from devel:languages:python:numeric
- Update to 1.1.20
  * Fix value_counts with split_out != 1 (#1170) Patrick Hoefler
  * Remove recursion in task spec (#1158) Florian Jetter
  * Deprecated and remove from_legacy_dataframe usage (#1168)
    Patrick Hoefler
  * Remove from_dask_dataframe (#1167) Patrick Hoefler
  * Avoid exponentially growing graph for Assign-Projection
    combinations (#1164) Patrick Hoefler
  * Introduce more caching when walking the expression (#1165)
    Patrick Hoefler
  * Use Taskspec fuse implementation (#1162) Florian Jetter
  * Fix orphaned dependencies in Fused expression (#1163) Patrick
    Hoefler
- Add dask-expr-pr1173-blockwise.patch
  * Use new blockwise unpack collection in array
  * gh#dask/dask-expr#1173 (forwarded request 1228727 from bnavigator)

OBS-URL: https://build.opensuse.org/request/show/1228730
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-dask-expr?expand=0&rev=8
2024-12-06 13:27:28 +00:00
bdcea5eeae - Update to 1.1.20
* Fix value_counts with split_out != 1 (#1170) Patrick Hoefler
  * Remove recursion in task spec (#1158) Florian Jetter
  * Deprecated and remove from_legacy_dataframe usage (#1168)
    Patrick Hoefler
  * Remove from_dask_dataframe (#1167) Patrick Hoefler
  * Avoid exponentially growing graph for Assign-Projection
    combinations (#1164) Patrick Hoefler
  * Introduce more caching when walking the expression (#1165)
    Patrick Hoefler
  * Use Taskspec fuse implementation (#1162) Florian Jetter
  * Fix orphaned dependencies in Fused expression (#1163) Patrick
    Hoefler
- Add dask-expr-pr1173-blockwise.patch
  * Use new blockwise unpack collection in array
  * gh#dask/dask-expr#1173

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-dask-expr?expand=0&rev=23
2024-12-06 09:35:57 +00:00
23e10f01fb Accepting request 1226506 from devel:languages:python:numeric
- reenable python313, numba is available

OBS-URL: https://build.opensuse.org/request/show/1226506
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-dask-expr?expand=0&rev=7
2024-11-27 21:10:58 +00:00
47603d047f - reenable python313, numba is available
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-dask-expr?expand=0&rev=21
2024-11-22 12:07:11 +00:00
7f9a93127f Accepting request 1225307 from devel:languages:python:numeric
- Disable python313: no numba, no dask
- update to 1.1.19:
  * rebuild for dask 2024.11.2

OBS-URL: https://build.opensuse.org/request/show/1225307
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-dask-expr?expand=0&rev=6
2024-11-21 20:58:53 +00:00
d85db5c6be OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-dask-expr?expand=0&rev=19 2024-11-20 14:25:17 +00:00
566a293749 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-dask-expr?expand=0&rev=18 2024-11-20 14:25:10 +00:00
f3441115c4 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-dask-expr?expand=0&rev=17 2024-11-20 14:24:50 +00:00
3e81556c2c OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-dask-expr?expand=0&rev=16 2024-11-19 14:01:04 +00:00
e474d2a19e - update to 1.1.19:
* rebuild for dask 2024.11.2

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-dask-expr?expand=0&rev=15
2024-11-19 12:35:28 +00:00
35d00b47a0 Accepting request 1223589 from devel:languages:python:numeric
- update to 1.1.18:
  * Add support for Python 3.13
  * Migrate Blockwise to use taskspec
  * Migrate shuffle and merge to `P2PBarrierTask`
  * Improve Aggregation docstring explicitly mentionning
    SeriesGroupBy
  * Migrate P2P shuffle and merge to TaskSpec
  * Internal cleanup of P2P code
  * Fix meta calculation for to_datetime
  * Fix ``Merge`` divisions after filtering partitions

- update to 1.1.15:
  * Add concatenate flag to .compute()
  * Import from tokenize

- Update to 1.1.6:

OBS-URL: https://build.opensuse.org/request/show/1223589
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-dask-expr?expand=0&rev=5
2024-11-12 18:23:29 +00:00
40835d8b33 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-dask-expr?expand=0&rev=13 2024-11-12 08:58:17 +00:00
46e5ea8f04 - update to 1.1.18:
* Add support for Python 3.13
  * Migrate Blockwise to use taskspec
  * Migrate shuffle and merge to `P2PBarrierTask`
  * Improve Aggregation docstring explicitly mentionning
    SeriesGroupBy
  * Migrate P2P shuffle and merge to TaskSpec
  * Internal cleanup of P2P code
  * Fix meta calculation for to_datetime
  * Fix ``Merge`` divisions after filtering partitions

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-dask-expr?expand=0&rev=12
2024-11-12 08:48:23 +00:00
159bd95082 - update to 1.1.15:
* Add concatenate flag to .compute()
  * Import from tokenize
- Update to 1.1.6:

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-dask-expr?expand=0&rev=11
2024-10-10 15:42:34 +00:00
0cc9ecbc35 Accepting request 1199616 from devel:languages:python:numeric
OBS-URL: https://build.opensuse.org/request/show/1199616
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-dask-expr?expand=0&rev=4
2024-09-09 12:44:32 +00:00
1bc0ae2aa0 Accepting request 1197827 from devel:languages:python:numeric
OBS-URL: https://build.opensuse.org/request/show/1197827
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-dask-expr?expand=0&rev=3
2024-09-03 11:38:00 +00:00
37b08036c8 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
2024-08-30 11:37:20 +00:00
703ccea5b9 Accepting request 1186063 from devel:languages:python:numeric
- 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

OBS-URL: https://build.opensuse.org/request/show/1186063
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-dask-expr?expand=0&rev=2
2024-07-08 17:08:34 +00:00
6f9e77f4ef Fix date
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-dask-expr?expand=0&rev=5
2024-07-08 04:36:22 +00:00
e8193a80b8 - 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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-dask-expr?expand=0&rev=4
2024-07-05 06:40:02 +00:00
26992b6bbe Accepting request 1171106 from devel:languages:python:numeric
OBS-URL: https://build.opensuse.org/request/show/1171106
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-dask-expr?expand=0&rev=1
2024-05-01 12:57:26 +00:00
0d9e3b2835 Accepting request 1170776 from home:bnavigator:branches:devel:languages:python:numeric
Remove extra source file

Note: requires dask 2024.4.2, so not ready for forward yet

OBS-URL: https://build.opensuse.org/request/show/1170776
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-dask-expr?expand=0&rev=2
2024-04-29 13:26:34 +00:00
670645ec3d 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
2024-04-29 12:37:16 +00:00
8 changed files with 129 additions and 15 deletions

View File

@@ -0,0 +1,64 @@
From 7b6d178a31cdc52816908ba93aae3f6e3bbae680 Mon Sep 17 00:00:00 2001
From: James Bourbeau <jrbourbeau@gmail.com>
Date: Wed, 4 Dec 2024 10:41:15 -0600
Subject: [PATCH 1/2] Use new blockwise unpack collection in array
---
dask_expr/array/blockwise.py | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/dask_expr/array/blockwise.py b/dask_expr/array/blockwise.py
index 838539e0..23792434 100644
--- a/dask_expr/array/blockwise.py
+++ b/dask_expr/array/blockwise.py
@@ -18,7 +18,7 @@
from dask.array.utils import compute_meta
from dask.base import is_dask_collection
from dask.blockwise import blockwise as core_blockwise
-from dask.delayed import unpack_collections
+from dask.blockwise import _blockwise_unpack_collections_task_spec
from dask.tokenize import tokenize
from dask.utils import cached_property, funcname
@@ -142,7 +142,7 @@ def _layer(self):
for arg, ind in arginds:
if ind is None:
arg = normalize_arg(arg)
- arg, collections = unpack_collections(arg)
+ arg, collections = _blockwise_unpack_collections_task_spec(arg)
dependencies.extend(collections)
else:
if (
@@ -163,7 +163,7 @@ def _layer(self):
kwargs2 = {}
for k, v in self.kwargs.items():
v = normalize_arg(v)
- v, collections = unpack_collections(v)
+ v, collections = _blockwise_unpack_collections_task_spec(v)
dependencies.extend(collections)
kwargs2[k] = v
From fd6f081bcce4f36190b87ce26ae278cc3de71d04 Mon Sep 17 00:00:00 2001
From: James Bourbeau <jrbourbeau@gmail.com>
Date: Wed, 4 Dec 2024 10:46:47 -0600
Subject: [PATCH 2/2] Lint
---
dask_expr/array/blockwise.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dask_expr/array/blockwise.py b/dask_expr/array/blockwise.py
index 23792434..4553f05c 100644
--- a/dask_expr/array/blockwise.py
+++ b/dask_expr/array/blockwise.py
@@ -17,8 +17,8 @@
)
from dask.array.utils import compute_meta
from dask.base import is_dask_collection
-from dask.blockwise import blockwise as core_blockwise
from dask.blockwise import _blockwise_unpack_collections_task_spec
+from dask.blockwise import blockwise as core_blockwise
from dask.tokenize import tokenize
from dask.utils import cached_property, funcname

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -1,3 +1,60 @@
-------------------------------------------------------------------
Thu Dec 5 21:53:04 UTC 2024 - Ben Greiner <code@bnavigator.de>
- Update to 1.1.20
* Fix value_counts with split_out != 1 (#1170) Patrick Hoefler
* Remove recursion in task spec (#1158) Florian Jetter
* Deprecated and remove from_legacy_dataframe usage (#1168)
Patrick Hoefler
* Remove from_dask_dataframe (#1167) Patrick Hoefler
* Avoid exponentially growing graph for Assign-Projection
combinations (#1164) Patrick Hoefler
* Introduce more caching when walking the expression (#1165)
Patrick Hoefler
* Use Taskspec fuse implementation (#1162) Florian Jetter
* Fix orphaned dependencies in Fused expression (#1163) Patrick
Hoefler
- Add dask-expr-pr1173-blockwise.patch
* Use new blockwise unpack collection in array
* gh#dask/dask-expr#1173
-------------------------------------------------------------------
Fri Nov 22 12:06:57 UTC 2024 - Dirk Müller <dmueller@suse.com>
- reenable python313, numba is available
-------------------------------------------------------------------
Wed Nov 20 14:24:56 UTC 2024 - Benjamin Greiner <code@bnavigator.de>
- Disable python313: no numba, no dask
-------------------------------------------------------------------
Tue Nov 19 12:35:06 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 1.1.19:
* rebuild for dask 2024.11.2
-------------------------------------------------------------------
Tue Nov 12 08:47:46 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 1.1.18:
* Add support for Python 3.13
* Migrate Blockwise to use taskspec
* Migrate shuffle and merge to `P2PBarrierTask`
* Improve Aggregation docstring explicitly mentionning
SeriesGroupBy
* Migrate P2P shuffle and merge to TaskSpec
* Internal cleanup of P2P code
* Fix meta calculation for to_datetime
* Fix ``Merge`` divisions after filtering partitions
-------------------------------------------------------------------
Thu Oct 10 15:42:20 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 1.1.15:
* Add concatenate flag to .compute()
* Import from tokenize
-------------------------------------------------------------------
Sun Sep 8 14:24:41 UTC 2024 - Ben Greiner <code@bnavigator.de>
@@ -53,7 +110,7 @@ Thu Aug 29 14:38:23 UTC 2024 - Ben Greiner <code@bnavigator.de>
-------------------------------------------------------------------
Mon Jul 8 04:34:30 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
- Update to 1.1.6:
- Update to 1.1.6:
* Patch release for Dask 2024.6.2
* Fix resample divisions propagation
* Fix categorize if columns are dropped

View File

@@ -26,12 +26,14 @@
%bcond_with test
%endif
Name: python-dask-expr%{psuffix}
Version: 1.1.13
Version: 1.1.20
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
# PATCH-FIX-UPSTREAM dask-expr-pr1173-blockwise.patch gh#dask/dask-expr#1173
Patch0: https://github.com/dask/dask-expr/pull/1173.patch#/dask-expr-pr1173-blockwise.patch
BuildRequires: %{python_module base >= 3.10}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools >= 62.6}
@@ -39,7 +41,7 @@ BuildRequires: %{python_module versioneer-toml}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-dask = 2024.8.2
Requires: python-dask = 2024.12.0
Requires: python-pandas >= 2
Requires: python-pyarrow >= 14.0.1
Provides: python-dask_expr = %{version}-%{release}