Skip to content

Commit 8dfb748

Browse files
committed
Pull requirements/host from pyproject.toml
1 parent af0f3ef commit 8dfb748

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

conda/recipes/dask-cuda/meta.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,9 @@ requirements:
2929
host:
3030
- python
3131
- pip
32-
- tomli
33-
- versioneer >=0.24
32+
{% for r in data.get("build-system", {}).get("requires", []) %}
33+
- {{ r }}
34+
{% endfor %}
3435
run:
3536
- python
3637
{% for r in data.get("project", {}).get("dependencies", []) %}

pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
[build-system]
22
build-backend = "setuptools.build_meta"
33
requires = [
4-
"setuptools>=64.0.0",
5-
"tomli ; python_version < '3.11'",
6-
"versioneer>=0.24",
4+
"setuptools >=64.0.0",
5+
"tomli", # Unneeded for Python 3.11+
6+
"versioneer >=0.24",
77
]
88

99
[project]

0 commit comments

Comments
 (0)