diff --git a/conda/recipes/dask-cuda/meta.yaml b/conda/recipes/dask-cuda/meta.yaml index 8d233d4e2..dec0435de 100644 --- a/conda/recipes/dask-cuda/meta.yaml +++ b/conda/recipes/dask-cuda/meta.yaml @@ -29,8 +29,9 @@ requirements: host: - python - pip - - tomli - - versioneer >=0.24 + {% for r in data.get("build-system", {}).get("requires", []) %} + - {{ r }} + {% endfor %} run: - python {% for r in data.get("project", {}).get("dependencies", []) %} diff --git a/pyproject.toml b/pyproject.toml index 52c8fb51e..cbd6c25f8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,9 +1,9 @@ [build-system] build-backend = "setuptools.build_meta" requires = [ - "setuptools>=64.0.0", - "tomli ; python_version < '3.11'", - "versioneer>=0.24", + "setuptools >=64.0.0", + "tomli", # Unneeded for Python 3.11+ + "versioneer >=0.24", ] [project]