Skip to content

Commit

Permalink
update a few more Python references to Python 3.10 (#4637)
Browse files Browse the repository at this point in the history
Contributes to rapidsai/build-planning#88.

#4625 dropped Python 3.9 support here (as part of the RAPIDS-wide effort to drop Python 3.9 in this release). This PR fixes a few things that were missed in that PR.

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

Approvers:
  - Don Acosta (https://github.com/acostadon)
  - https://github.com/jakirkham
  - Bradley Dice (https://github.com/bdice)
  - Mike Sarahan (https://github.com/msarahan)
  - Alex Barghi (https://github.com/alexbarghi-nv)
  - Rick Ratzel (https://github.com/rlratzel)

URL: #4637
  • Loading branch information
jameslamb authored Aug 30, 2024
1 parent 65e2348 commit d5154d5
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 14 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ repos:
hooks:
- id: black
language_version: python3
args: [--target-version=py39]
args: [--target-version=py310]
files: ^(python/.*|benchmarks/.*)$
exclude: ^python/nx-cugraph/
- repo: https://github.com/PyCQA/flake8
Expand Down
5 changes: 2 additions & 3 deletions docs/cugraph/source/installation/source_build.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@ __Compilers:__
* `nvcc` version 11.5+

__CUDA:__
* CUDA 11.2+
* NVIDIA driver 470.42.01 or newer
* CUDA 11.8+
* NVIDIA GPU, Volta architecture or later, with [compute capability](https://developer.nvidia.com/cuda-gpus) 7.0+

Further details and download links for these prerequisites are available on the
Expand Down Expand Up @@ -178,7 +177,7 @@ Run either the C++ or the Python tests with datasets
make test
```

Note: This conda installation only applies to Linux and Python versions 3.8/3.11.
Note: This conda installation only applies to Linux and Python versions 3.10 and 3.11.

### (OPTIONAL) Set environment variable on activation

Expand Down
5 changes: 2 additions & 3 deletions docs/cugraph/source/tutorials/cugraph_notebooks.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,9 @@ Running the example in these notebooks requires:
* Download via Docker, Conda (See [__Getting Started__](https://rapids.ai/start.html))

* cuGraph is dependent on the latest version of cuDF. Please install all components of RAPIDS
* Python 3.8+
* A system with an NVIDIA GPU: Pascal architecture or better
* Python 3.10+
* A system with an NVIDIA GPU: Volta architecture or newer
* CUDA 11.4+
* NVIDIA driver 450.51+

## Copyright

Expand Down
5 changes: 2 additions & 3 deletions docs/cugraph/source/wholegraph/installation/source_build.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@ __Compiler__:

__CUDA__:
* CUDA 11.8+
* NVIDIA driver 450.80.02+
* Pascal architecture or better
* Volta architecture or better

You can obtain CUDA from [https://developer.nvidia.com/cuda-downloads](https://developer.nvidia.com/cuda-downloads).

Expand Down Expand Up @@ -177,7 +176,7 @@ Run either the C++ or the Python tests with datasets
```
Note: This conda installation only applies to Linux and Python versions 3.8/3.10.
Note: This conda installation only applies to Linux and Python versions 3.10 and 3.11.
## Creating documentation
Expand Down
5 changes: 2 additions & 3 deletions notebooks/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,9 @@ Running the example in these notebooks requires:
* Download via Docker, Conda (See [__Getting Started__](https://rapids.ai/start.html))

* cuGraph is dependent on the latest version of cuDF. Please install all components of RAPIDS
* Python 3.8+
* A system with an NVIDIA GPU: Pascal architecture or better
* Python 3.10+
* A system with an NVIDIA GPU: Volta architecture or newer
* CUDA 11.4+
* NVIDIA driver 450.51+

### QuickStart

Expand Down
2 changes: 1 addition & 1 deletion python/nx-cugraph/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ repos:
rev: v3.16.0
hooks:
- id: pyupgrade
args: [--py39-plus]
args: [--py310-plus]
- repo: https://github.com/psf/black
rev: 24.4.2
hooks:
Expand Down

0 comments on commit d5154d5

Please sign in to comment.