Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add dask-expr to dask conda recipe #8601

Merged
merged 4 commits into from
Apr 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading