Skip to content

Commit

Permalink
Express Python version in dependencies.yaml. (#470)
Browse files Browse the repository at this point in the history
This PR adds `py_version` to the `dependencies.yaml` file so that `rapids-cmake` expresses this in the same way as every other RAPIDS repository. The primary reason this might matter is for ensuring that compatible Python versions are used for style checks.

Authors:
  - Bradley Dice (https://github.com/bdice)
  - Vyas Ramasubramani (https://github.com/vyasr)

Approvers:
  - Robert Maynard (https://github.com/robertmaynard)
  - Vyas Ramasubramani (https://github.com/vyasr)

URL: #470
  • Loading branch information
bdice authored Oct 9, 2023
1 parent 3bc1394 commit 3742838
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion dependencies.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,14 @@ files:
- build
- cudatoolkit
- docs
- py_version
- test
checks:
output: none
includes:
- build
- style_checks
- py_version
docs:
output: none
includes:
Expand Down Expand Up @@ -141,13 +143,27 @@ dependencies:
- output_types: [conda, requirements]
packages:
- cython>=0.29,<0.30
- python>=3.9,<3.11
- scikit-build>=0.13.1
- libpng
- zlib
- output_types: [conda]
packages:
- fmt==9.1.0
py_version:
specific:
- output_types: conda
matrices:
- matrix:
py: "3.9"
packages:
- python=3.9
- matrix:
py: "3.10"
packages:
- python=3.10
- matrix:
packages:
- python>=3.9,<3.11
style_checks:
common:
- output_types: [conda, requirements]
Expand Down

0 comments on commit 3742838

Please sign in to comment.