git: 2adf1359a947 - main - devel/py-dask: Enable DATAFRAME option by default

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Thu, 05 Sep 2024 06:20:39 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=2adf1359a947e7f61026da719b33f503f0c85927

commit 2adf1359a947e7f61026da719b33f503f0c85927
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-09-05 05:26:05 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-09-05 06:17:55 +0000

    devel/py-dask: Enable DATAFRAME option by default
    
    - Fix ARRAY_RUN_DEPENDS
    - Bump PORTREVISION for dependency change
---
 devel/py-dask/Makefile | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/devel/py-dask/Makefile b/devel/py-dask/Makefile
index 9fe76f0602d6..7b5bbca9d747 100644
--- a/devel/py-dask/Makefile
+++ b/devel/py-dask/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	dask
 PORTVERSION=	2024.8.0
+PORTREVISION=	1
 CATEGORIES=	devel python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -36,14 +37,15 @@ NO_ARCH=	yes
 CPE_VENDOR=	anaconda
 
 OPTIONS_DEFINE=	ARRAY DATAFRAME DIAGNOSTICS
+OPTIONS_DEFAULT=DATAFRAME
 ARRAY_DESC=	Subset of the NumPy ndarray interface
 DATAFRAME_DESC=	Composed of many smaller Pandas DataFrames
 DATAFRAME_IMPLIES=	ARRAY
 DIAGNOSTICS_DESC=	Profile and inspect parallel codes
 
-ARRAY_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}numpy>=1.21,1:math/py-numpy@${PY_FLAVOR} \
-DATAFRAME_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}dask-expr>=1.1<1.2:devel/py-dask-expr@${PY_FLAVOR} \
-			${PYTHON_PKGNAMEPREFIX}pandas>=2.0,1:math/py-pandas@${PY_FLAVOR}
+ARRAY_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}numpy>=1.21,1:math/py-numpy@${PY_FLAVOR}
+# Do not add py-dask-expr>=1.1<1.2 to DATAFRAME_RUN_DEPENDS to avoid cyclic dependency
+DATAFRAME_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pandas>=2.0,1:math/py-pandas@${PY_FLAVOR}
 DIAGNOSTICS_RUN_DEPENDS=${PYTHON_PKGNAMEPREFIX}bokeh>=2.4.2<3:www/py-bokeh@${PY_FLAVOR} \
 			${PYTHON_PKGNAMEPREFIX}Jinja2>=2.10.3:devel/py-Jinja2@${PY_FLAVOR}