Skip to content

Commit

Permalink
Drop Python 3.9 support (#623)
Browse files Browse the repository at this point in the history
Contributes to rapidsai/build-planning#88

Finishes the work of dropping Python 3.9 support.

This project stopped building / testing against Python 3.9 as of rapidsai/shared-workflows#235.
This PR updates configuration and docs to reflect that.

## Notes for Reviewers

### How I tested this

Checked that there were no remaining uses like this:

```shell
git grep -E '3\.9'
git grep '39'
git grep 'py39'
```

And similar for variations on Python 3.8 (to catch things that were missed the last time this was done).

Authors:
  - James Lamb (https://github.com/jameslamb)

Approvers:
  - Bradley Dice (https://github.com/bdice)

URL: #623
  • Loading branch information
jameslamb authored Aug 22, 2024
1 parent cc18207 commit b49f785
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 12 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ conda install -c rapidsai -c conda-forge -c nvidia \
cuxfilter python=3.11 cuda-version=11.8
```

Note: cuxfilter is supported only on Linux, and with Python versions 3.8 and later.
Note: cuxfilter is supported only on Linux, and with Python versions 3.10 and 3.11.

### PyPI

Expand Down
2 changes: 1 addition & 1 deletion conda/environments/all_cuda-118_arch-x86_64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ dependencies:
- pytest
- pytest-cov
- pytest-xdist
- python>=3.9,<3.12
- python>=3.10,<3.12
- rapids-build-backend>=0.3.0,<0.4.0.dev0
- recommonmark
- setuptools
Expand Down
2 changes: 1 addition & 1 deletion conda/environments/all_cuda-125_arch-x86_64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ dependencies:
- pytest
- pytest-cov
- pytest-xdist
- python>=3.9,<3.12
- python>=3.10,<3.12
- rapids-build-backend>=0.3.0,<0.4.0.dev0
- recommonmark
- setuptools
Expand Down
8 changes: 2 additions & 6 deletions dependencies.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -163,10 +163,6 @@ dependencies:
specific:
- output_types: conda
matrices:
- matrix:
py: "3.9"
packages:
- python=3.9
- matrix:
py: "3.10"
packages:
Expand All @@ -177,7 +173,7 @@ dependencies:
- python=3.11
- matrix:
packages:
- python>=3.9,<3.12
- python>=3.10,<3.12
rapids_build_setuptools:
common:
- output_types: [conda, requirements, pyproject]
Expand Down Expand Up @@ -271,6 +267,6 @@ dependencies:
- *cuspatial_unsuffixed
- *dask_cudf_unsuffixed
- cuxfilter==24.10.*,>=0.0.0a0
- python>=3.9,<3.12
- python>=3.10,<3.12
- pytest-benchmark
- pytest-xdist
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.black]
line-length = 79
target-version = ["py39"]
target-version = ["py310"]
include = '\.py?$'
force-exclude = '''
/(
Expand Down
3 changes: 1 addition & 2 deletions python/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ authors = [
{name = "NVIDIA Corporation"},
]
license = { text = "Apache 2.0" }
requires-python = ">=3.9"
requires-python = ">=3.10"
dependencies = [
"bokeh>=3.1",
"cudf==24.10.*,>=0.0.0a0",
Expand All @@ -38,7 +38,6 @@ classifiers = [
"Topic :: Scientific/Engineering :: Visualization",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
]
Expand Down

0 comments on commit b49f785

Please sign in to comment.