Skip to content

Commit

Permalink
Use the new approach for output-specific optional information.
Browse files Browse the repository at this point in the history
  • Loading branch information
vyasr committed Feb 28, 2023
1 parent 3f83d35 commit 59afa9a
Showing 1 changed file with 21 additions and 12 deletions.
33 changes: 21 additions & 12 deletions dependencies.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,18 +36,27 @@ files:
- cudatoolkit
- docs
- py_version
pyproject_build_reqs: # TODO: This name gets ignored for pyproject.toml (or conda meta.yaml)
output: pyproject_build
py_build_reqs:
output: pyproject
extras:
table: build-system
key: requires
includes:
- build
- cuda-python
pyproject_dependencies: # TODO: This name gets ignored for pyproject.toml (or conda meta.yaml)
output: pyproject_dependencies
py_dependencies:
output: pyproject
extras:
table: project
key: dependencies
includes:
- run
- cuda-python
test: # TODO: Currently using this name as the array key in the TOML file, but that's a bad idea long term.
output: pyproject_optional_dependencies
py_optional_dependencies:
output: pyproject
extras:
table: project.optional-dependencies
key: test
includes:
- test_python
channels:
Expand All @@ -56,7 +65,7 @@ channels:
dependencies:
build:
common:
- output_types: [conda, requirements, pyproject_build]
- output_types: [conda, requirements, pyproject]
packages:
- cmake>=3.23.1,!=3.25.0
- cython>=0.29,<0.30
Expand All @@ -68,7 +77,7 @@ dependencies:
- fmt>=9.1.0,<10
- spdlog>=1.11.0,<1.12
- python>=3.8,<3.11
- output_types: pyproject_build
- output_types: pyproject
packages:
- wheel
- setuptools>=61.0.0
Expand Down Expand Up @@ -137,22 +146,22 @@ dependencies:
- python=3.10
run:
common:
- output_types: [conda, requirements, pyproject_dependencies]
- output_types: [conda, requirements, pyproject]
packages:
- numba>=0.49
- numpy>=1.19
cuda-python:
common:
- output_types: [conda, requirements, pyproject_build, pyproject_dependencies]
- output_types: [conda, requirements, pyproject]
packages:
- cuda-python>=11.7.1,<12.0
test_python:
common:
- output_types: [conda, requirements, pyproject_optional_dependencies]
- output_types: [conda, requirements, pyproject]
packages:
- pytest
test_python_cov:
common:
- output_types: [conda, requirements, pyproject_optional_dependencies]
- output_types: [conda, requirements, pyproject]
packages:
- pytest-cov

0 comments on commit 59afa9a

Please sign in to comment.