From 96a3e849a2d9c3ec317296fe2b92beecf146efcc Mon Sep 17 00:00:00 2001 From: James Lamb Date: Thu, 22 Aug 2024 08:59:27 -0500 Subject: [PATCH 1/2] Drop Python 3.9 support --- dependencies.yaml | 6 +----- pyproject.toml | 2 +- python/cuvs/pyproject.toml | 3 +-- 3 files changed, 3 insertions(+), 8 deletions(-) diff --git a/dependencies.yaml b/dependencies.yaml index f39e30770..a60065671 100644 --- a/dependencies.yaml +++ b/dependencies.yaml @@ -396,10 +396,6 @@ dependencies: specific: - output_types: conda matrices: - - matrix: - py: "3.9" - packages: - - python=3.9 - matrix: py: "3.10" packages: @@ -410,7 +406,7 @@ dependencies: - python=3.11 - matrix: packages: - - python>=3.9,<3.12 + - python>=3.10,<3.12 run_py_cuvs: common: - output_types: [conda, pyproject] diff --git a/pyproject.toml b/pyproject.toml index 2982db2a2..fbf4cf41f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.black] line-length = 79 -target-version = ["py39"] +target-version = ["py310"] include = '\.py?$' force-exclude = ''' /( diff --git a/python/cuvs/pyproject.toml b/python/cuvs/pyproject.toml index 0a3c30a7c..47c07f694 100644 --- a/python/cuvs/pyproject.toml +++ b/python/cuvs/pyproject.toml @@ -29,7 +29,7 @@ authors = [ { name = "NVIDIA Corporation" }, ] license = { text = "Apache 2.0" } -requires-python = ">=3.9" +requires-python = ">=3.10" dependencies = [ "cuda-python", "numpy>=1.23,<2.0a0", @@ -42,7 +42,6 @@ dependencies = [ classifiers = [ "Intended Audience :: Developers", "Programming Language :: Python", - "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", ] From bf6bd87368205f2af60e2c4203ca0e9a0b5482cc Mon Sep 17 00:00:00 2001 From: James Lamb Date: Thu, 22 Aug 2024 09:27:35 -0500 Subject: [PATCH 2/2] add missing Pyhon 3.11 trove classifier --- python/cuvs/pyproject.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/python/cuvs/pyproject.toml b/python/cuvs/pyproject.toml index 47c07f694..568017f0f 100644 --- a/python/cuvs/pyproject.toml +++ b/python/cuvs/pyproject.toml @@ -43,6 +43,7 @@ classifiers = [ "Intended Audience :: Developers", "Programming Language :: Python", "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", ] [project.optional-dependencies]