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

Switch from pin_compatible to explicit exclusion of nightly versions #193

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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: 3 additions & 5 deletions recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,16 @@ source:
sha256: 84f9f229e4fc6c0df8a23620f2b03f277b1bfb15a497603c704743443e38d420

build:
number: 2
number: 3
noarch: python

requirements:
host:
- python >=3.8
- dask-core {{ version }}
- distributed {{ version }}
run:
- python >=3.8
- {{ pin_compatible('dask-core', max_pin='x.x.x') }}
- {{ pin_compatible('distributed', max_pin='x.x.x') }}
- dask-core {{ version }}.*,!={{ version }}a.*
- distributed {{ version }}.*,!={{ version }}a.*
Comment on lines +21 to +22
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My understanding here is that nightly versions get parsed by conda as something like 2022.8.1a.220805, so the wildcard exclusion here should always be valid, I just think for some reason conda isn't a fan of exclusion wildcards without the .; either way, I've opened conda/conda#11744 to document this behavior.

- cytoolz >=0.8.2
- lz4
- numpy >=1.18
Expand Down