From 5647d06333f100f798ce2704da98634b85983f71 Mon Sep 17 00:00:00 2001 From: Charles Blackmon-Luca <20627856+charlesbluca@users.noreply.github.com> Date: Tue, 2 Apr 2024 10:40:10 -0400 Subject: [PATCH] Add `dask-expr` to `dask` conda recipe (#8601) Add `dask-expr` to `dask` conda recipe (#8601) --- .github/workflows/conda.yml | 8 +++++--- continuous_integration/recipes/dask/meta.yaml | 3 +++ 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/conda.yml b/.github/workflows/conda.yml index 2aeb1457b1b..73a89c6f900 100644 --- a/.github/workflows/conda.yml +++ b/.github/workflows/conda.yml @@ -49,10 +49,12 @@ jobs: export VERSION_SUFFIX=a`date +%y%m%d` # conda search for the latest dask-core pre-release - arr=($(conda search --override-channels -c dask/label/dev dask-core | tail -n 1)) + dask_core_arr=($(conda search --override-channels -c dask/label/dev dask-core | tail -n 1)) + dask_expr_arr=($(conda search --override-channels -c dask/label/dev dask-expr | tail -n 1)) - # extract dask-core pre-release version / build - export DASK_CORE_VERSION=${arr[1]} + # extract dask-core & dask-expr pre-release versions + export DASK_CORE_VERSION=${dask_core_arr[1]} + export DASK_EXPR_VERSION=${dask_expr_arr[1]} # distributed pre-release build conda mambabuild continuous_integration/recipes/distributed \ diff --git a/continuous_integration/recipes/dask/meta.yaml b/continuous_integration/recipes/dask/meta.yaml index 704d1d73d6e..0567c565b0d 100644 --- a/continuous_integration/recipes/dask/meta.yaml +++ b/continuous_integration/recipes/dask/meta.yaml @@ -2,6 +2,7 @@ {% set new_patch = major_minor_patch[2] | int + 1 %} {% set version = (major_minor_patch[:2] + [new_patch]) | join('.') + environ.get('VERSION_SUFFIX', '') %} {% set dask_version = environ.get('DASK_CORE_VERSION', '0.0.0.dev') %} +{% set dask_expr_version = environ.get('DASK_EXPR_VERSION', '0.0.0.dev') %} package: @@ -20,10 +21,12 @@ requirements: host: - python >=3.9 - dask-core {{ dask_version }} + - dask-expr {{ dask_expr_version }} - distributed {{ version }} run: - python >=3.9 - {{ pin_compatible('dask-core', max_pin='x.x.x.x') }} + - {{ pin_compatible('dask-expr', max_pin='x.x.x.x') }} - {{ pin_compatible('distributed', exact=True) }} - cytoolz >=0.8.2 - lz4 >=4.3.2