Skip to content

Commit

Permalink
Add dask-expr to dask conda recipe (#8601)
Browse files Browse the repository at this point in the history
Add `dask-expr` to `dask` conda recipe (#8601)
  • Loading branch information
charlesbluca committed Apr 2, 2024
1 parent 3f77d1b commit 5647d06
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/conda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down
3 changes: 3 additions & 0 deletions continuous_integration/recipes/dask/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand Down

0 comments on commit 5647d06

Please sign in to comment.