forked from rapidsai/dask-cuda
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use new
rapids-dask-dependency
metapackage for managing dask versio…
…ns (rapidsai#1270) Currently dask versions are pinned as part of every release cycle and then unpinned for the next development cycle across all of RAPIDS. This introduces a great deal of churn. To centralize the dependency, we have created a metapackage to manage the required dask version and this PR introduces that metapackage as a dependency of dask-cuda. xref: rapidsai/cudf#14364 Authors: - GALI PREM SAGAR (https://github.com/galipremsagar) Approvers: - Peter Andreas Entschev (https://github.com/pentschev) - Jake Awe (https://github.com/AyodeAwe) URL: rapidsai#1270
- Loading branch information
1 parent
44b4fa7
commit 9d6e5a4
Showing
4 changed files
with
61 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
# Copyright (c) 2019-2023, NVIDIA CORPORATION. | ||
|
||
# Usage: | ||
# conda build -c conda-forge . | ||
{% set data = load_file_data("pyproject.toml") %} | ||
|
||
{% set version = environ['RAPIDS_PACKAGE_VERSION'].strip('""').lstrip('v') %} | ||
{% set py_version = environ['CONDA_PY'] %} | ||
{% set date_string = environ['RAPIDS_DATE_STRING'] %} | ||
|
||
package: | ||
name: dask-cuda | ||
version: {{ version }} | ||
|
||
source: | ||
path: ../../.. | ||
|
||
build: | ||
number: {{ GIT_DESCRIBE_NUMBER }} | ||
string: py{{ py_version }}_{{ date_string }}_{{ GIT_DESCRIBE_HASH }}_{{ GIT_DESCRIBE_NUMBER }} | ||
script: | ||
- {{ PYTHON }} -m pip install . -vv | ||
entry_points: | ||
{% for e in data.get("project", {}).get("scripts", {}).items() %} | ||
- {{ e|join(" = ") }} | ||
{% endfor %} | ||
|
||
requirements: | ||
host: | ||
- python | ||
- pip | ||
- tomli | ||
run: | ||
- python | ||
{% for r in data.get("project", {}).get("dependencies", []) %} | ||
- {{ r }} | ||
{% endfor %} | ||
|
||
test: | ||
imports: | ||
- dask_cuda | ||
commands: | ||
- dask cuda --help | ||
{% for e in data.get("project", {}).get("scripts", {}).keys() %} | ||
- {{ e }} --help | ||
- {{ e|replace("-", " ") }} --help | ||
{% endfor %} | ||
|
||
about: | ||
home: {{ data.get("project", {}).get("urls", {}).get("Homepage", "") }} | ||
license: {{ data.get("project", {}).get("license", {}).get("text", "") }} | ||
license_file: | ||
{% for e in data.get("tool", {}).get("setuptools", {}).get("license-files", []) %} | ||
- ../../../{{ e }} | ||
{% endfor %} | ||
summary: {{ data.get("project", {}).get("description", "") }} | ||
dev_url: {{ data.get("project", {}).get("urls", {}).get("Source", "") }} | ||
doc_url: {{ data.get("project", {}).get("urls", {}).get("Documentation", "") }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters