From 0342d7b9301fa5dd7628d095137174d2f391d1d0 Mon Sep 17 00:00:00 2001 From: James Lamb Date: Wed, 21 Aug 2024 14:02:45 -0500 Subject: [PATCH] Drop Python 3.9 support --- README.md | 2 +- conda/environments/all_cuda-118_arch-x86_64.yaml | 2 +- conda/environments/all_cuda-125_arch-x86_64.yaml | 2 +- dependencies.yaml | 6 +----- python/rmm/pyproject.toml | 5 ++--- 5 files changed, 6 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 2117f40ee..897be2da0 100644 --- a/README.md +++ b/README.md @@ -43,7 +43,7 @@ conda install -c rapidsai -c conda-forge -c nvidia rmm cuda-version=12.0 We also provide [nightly Conda packages](https://anaconda.org/rapidsai-nightly) built from the HEAD of our latest development branch. -Note: RMM is supported only on Linux, and only tested with Python versions 3.9, 3.10, and 3.11. +Note: RMM is supported only on Linux, and only tested with Python versions 3.10 and 3.11. Note: The RMM package from Conda requires building with GCC 9 or later. Otherwise, your application may fail to build. diff --git a/conda/environments/all_cuda-118_arch-x86_64.yaml b/conda/environments/all_cuda-118_arch-x86_64.yaml index d5c1c8c55..eb56557de 100644 --- a/conda/environments/all_cuda-118_arch-x86_64.yaml +++ b/conda/environments/all_cuda-118_arch-x86_64.yaml @@ -32,7 +32,7 @@ dependencies: - pre-commit - pytest - pytest-cov -- python>=3.9,<3.12 +- python>=3.10,<3.12 - rapids-build-backend>=0.3.0,<0.4.0.dev0 - scikit-build-core >=0.10.0 - spdlog>=1.12.0,<1.13 diff --git a/conda/environments/all_cuda-125_arch-x86_64.yaml b/conda/environments/all_cuda-125_arch-x86_64.yaml index 98aa1dfdb..6e286d01e 100644 --- a/conda/environments/all_cuda-125_arch-x86_64.yaml +++ b/conda/environments/all_cuda-125_arch-x86_64.yaml @@ -31,7 +31,7 @@ dependencies: - pre-commit - pytest - pytest-cov -- python>=3.9,<3.12 +- python>=3.10,<3.12 - rapids-build-backend>=0.3.0,<0.4.0.dev0 - scikit-build-core >=0.10.0 - spdlog>=1.12.0,<1.13 diff --git a/dependencies.yaml b/dependencies.yaml index f2bf12c15..ef2de69ed 100644 --- a/dependencies.yaml +++ b/dependencies.yaml @@ -258,10 +258,6 @@ dependencies: specific: - output_types: conda matrices: - - matrix: - py: "3.9" - packages: - - python=3.9 - matrix: py: "3.10" packages: @@ -272,7 +268,7 @@ dependencies: - python=3.11 - matrix: packages: - - python>=3.9,<3.12 + - python>=3.10,<3.12 run: common: - output_types: [conda, requirements, pyproject] diff --git a/python/rmm/pyproject.toml b/python/rmm/pyproject.toml index a213a597b..2ecccbee0 100644 --- a/python/rmm/pyproject.toml +++ b/python/rmm/pyproject.toml @@ -28,7 +28,7 @@ authors = [ { name = "NVIDIA Corporation" }, ] license = { text = "Apache 2.0" } -requires-python = ">=3.9" +requires-python = ">=3.10" dependencies = [ "cuda-python>=11.7.1,<12.0a0", "numba>=0.57", @@ -40,7 +40,6 @@ classifiers = [ "Topic :: Scientific/Engineering", "License :: OSI Approved :: Apache Software License", "Programming Language :: Python", - "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", ] @@ -56,7 +55,7 @@ Homepage = "https://github.com/rapidsai/rmm" [tool.black] line-length = 79 -target-version = ["py39"] +target-version = ["py310"] include = '\.py?$' exclude = ''' /(