Skip to content

Commit

Permalink
Add max version constraint for dask-core in nightlies (#6862)
Browse files Browse the repository at this point in the history
  • Loading branch information
charlesbluca committed Aug 12, 2022
1 parent 9021d57 commit 969aa46
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 3 additions & 2 deletions continuous_integration/recipes/dask/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{% set major_minor_patch = environ.get('GIT_DESCRIBE_TAG', '0.0.0.dev').split('.') %}
{% set new_patch = major_minor_patch[2] | int + 1 %}
{% set version = (major_minor_patch[:2] + [new_patch]) | join('.') + environ.get('VERSION_SUFFIX', '') %}
{% set next_release_version = (major_minor_patch[:2] + [new_patch]) | join('.') %}
{% set version = next_release_version + environ.get('VERSION_SUFFIX', '') %}
{% set dask_version = environ.get('DASK_CORE_VERSION', '0.0.0.dev') %}


Expand All @@ -22,7 +23,7 @@ requirements:
- setuptools
run:
- python >=3.8
- dask-core >={{ dask_version }}
- dask-core >={{ dask_version }},<{{ next_release_version }}
- distributed {{ version }}=*_{{ GIT_DESCRIBE_HASH }}_{{ GIT_DESCRIBE_NUMBER }}
- cytoolz >=0.8.2
- numpy >=1.18
Expand Down
5 changes: 3 additions & 2 deletions continuous_integration/recipes/distributed/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{% set major_minor_patch = environ.get('GIT_DESCRIBE_TAG', '0.0.0.dev').split('.') %}
{% set new_patch = major_minor_patch[2] | int + 1 %}
{% set version = (major_minor_patch[:2] + [new_patch]) | join('.') + environ.get('VERSION_SUFFIX', '') %}
{% set next_release_version = (major_minor_patch[:2] + [new_patch]) | join('.') %}
{% set version = next_release_version + environ.get('VERSION_SUFFIX', '') %}
{% set dask_version = environ.get('DASK_CORE_VERSION', '0.0.0.dev') %}


Expand Down Expand Up @@ -31,7 +32,7 @@ requirements:
- click >=6.6
- cloudpickle >=1.5.0
- cytoolz >=0.8.2
- dask-core >={{ dask_version }}
- dask-core >={{ dask_version }},<{{ next_release_version }}
- jinja2
- locket >=1.0
- msgpack-python >=0.6.0
Expand Down

0 comments on commit 969aa46

Please sign in to comment.