1
0

Compare commits

14 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
5 changed files with 129 additions and 6 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: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 +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}