From 37428380a87aaf67ac9181f530a75cf86ba09c6c Mon Sep 17 00:00:00 2001 From: Bradley Dice Date: Mon, 9 Oct 2023 13:58:23 -0500 Subject: [PATCH] Express Python version in dependencies.yaml. (#470) 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: https://github.com/rapidsai/rapids-cmake/pull/470 --- dependencies.yaml | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/dependencies.yaml b/dependencies.yaml index fca7f1b0..8a1dd36a 100644 --- a/dependencies.yaml +++ b/dependencies.yaml @@ -6,12 +6,14 @@ files: - build - cudatoolkit - docs + - py_version - test checks: output: none includes: - build - style_checks + - py_version docs: output: none includes: @@ -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]