From acb5fd797d8a70c474e4193158bfdc8a5b41e0d3 Mon Sep 17 00:00:00 2001 From: Charles Blackmon-Luca <20627856+charlesbluca@users.noreply.github.com> Date: Tue, 16 Aug 2022 09:13:05 -0400 Subject: [PATCH 1/2] Fix `dask-core` / `distributed` pinning to properly exclude nightlies --- recipe/meta.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/recipe/meta.yaml b/recipe/meta.yaml index 794c09f..c9028ed 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -10,7 +10,7 @@ source: sha256: a14c1c5143081701d4fe62283e09cc5ad5336dff3a152de64eb77ee3180e9792 build: - number: 1 + number: 2 noarch: python requirements: @@ -18,8 +18,8 @@ requirements: - python >=3.8 run: - python >=3.8 - - dask-core ={{ version }},!={{ version }}a* - - distributed ={{ version }},!={{ version }}a* + - dask-core {{ version }}.*,!={{ version }}a.* + - distributed {{ version }}.*,!={{ version }}a.* - cytoolz >=0.8.2 - lz4 - numpy >=1.18 From 9d54c207d990908f2e598185f9d56d8947210f33 Mon Sep 17 00:00:00 2001 From: Charles Blackmon-Luca <20627856+charlesbluca@users.noreply.github.com> Date: Fri, 19 Aug 2022 14:24:53 -0400 Subject: [PATCH 2/2] Use `pin_constrained` to exclude nightly versions --- recipe/meta.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/recipe/meta.yaml b/recipe/meta.yaml index c9028ed..c5b825c 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -16,10 +16,12 @@ build: requirements: host: - python >=3.8 + - dask-core {{ version }} + - distributed {{ version }} run: - python >=3.8 - - dask-core {{ version }}.*,!={{ version }}a.* - - distributed {{ version }}.*,!={{ version }}a.* + - {{ pin_compatible('dask-core', max_pin='x.x.x') }} + - {{ pin_compatible('distributed', max_pin='x.x.x') }} - cytoolz >=0.8.2 - lz4 - numpy >=1.18