Skip to content

Commit

Permalink
Update nightly recipes with CLI tests, dependency changes (#7201)
Browse files Browse the repository at this point in the history
  • Loading branch information
charlesbluca authored Oct 26, 2022
1 parent 5dccad4 commit 621994e
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 12 deletions.
17 changes: 11 additions & 6 deletions continuous_integration/recipes/dask/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{% set major_minor_patch = environ.get('GIT_DESCRIBE_TAG', '0.0.0.dev').split('.') %}
{% set new_patch = major_minor_patch[2] | int + 1 %}
{% set next_release_version = (major_minor_patch[:2] + [new_patch]) | join('.') %}
{% set version = next_release_version + environ.get('VERSION_SUFFIX', '') %}
{% 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') %}


Expand All @@ -20,15 +19,17 @@ build:
requirements:
host:
- python >=3.8
- setuptools
- dask-core {{ dask_version }}
- distributed {{ version }}
run:
- python >=3.8
- dask-core >={{ dask_version }},<{{ next_release_version }}
- distributed {{ version }}=*_{{ GIT_DESCRIBE_HASH }}_{{ GIT_DESCRIBE_NUMBER }}
- {{ pin_compatible('dask-core', max_pin='x.x.x.x') }}
- {{ pin_compatible('distributed', exact=True) }}
- cytoolz >=0.8.2
- lz4
- numpy >=1.18
- pandas >=1.0
- bokeh >=2.1.1
- bokeh >=2.4.2
- jinja2

run_constrained:
Expand All @@ -46,6 +47,10 @@ test:
- dask.diagnostics
- dask.distributed
- distributed

commands:
- dask --version
- dask info versions

about:
home: https://dask.org/
Expand Down
15 changes: 9 additions & 6 deletions continuous_integration/recipes/distributed/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{% set major_minor_patch = environ.get('GIT_DESCRIBE_TAG', '0.0.0.dev').split('.') %}
{% set new_patch = major_minor_patch[2] | int + 1 %}
{% set next_release_version = (major_minor_patch[:2] + [new_patch]) | join('.') %}
{% set version = next_release_version + environ.get('VERSION_SUFFIX', '') %}
{% 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') %}


Expand All @@ -16,8 +15,9 @@ build:
number: {{ GIT_DESCRIBE_NUMBER }}
string: py_{{ GIT_DESCRIBE_HASH }}_{{ GIT_DESCRIBE_NUMBER }}
noarch: python
script: python -m pip install . -vv --no-deps
script: {{ PYTHON }} -m pip install . -vv --no-deps
entry_points:
# Old style CLI
- dask-scheduler = distributed.cli.dask_scheduler:main
- dask-ssh = distributed.cli.dask_ssh:main
- dask-worker = distributed.cli.dask_worker:main
Expand All @@ -26,15 +26,15 @@ requirements:
host:
- python >=3.8
- pip
- setuptools
- dask-core {{ dask_version }}
run:
- python >=3.8
- click >=6.6
- cloudpickle >=1.5.0
- cytoolz >=0.8.2
- dask-core >={{ dask_version }},<{{ next_release_version }}
- {{ pin_compatible('dask-core', max_pin='x.x.x.x') }}
- jinja2
- locket >=1.0
- locket >=1.0.0
- msgpack-python >=0.6.0
- packaging >=20.0
- psutil >=5.0
Expand All @@ -61,6 +61,9 @@ test:
- dask-scheduler --help
- dask-ssh --help
- dask-worker --help
- dask scheduler --help
- dask ssh --help
- dask worker --help
requires:
- pip

Expand Down

0 comments on commit 621994e

Please sign in to comment.