Skip to content
This repository has been archived by the owner on Nov 25, 2024. It is now read-only.

Commit

Permalink
Add support for Python 3.11, require NumPy 1.23+ (#139)
Browse files Browse the repository at this point in the history
Contributes to rapidsai/build-planning#3

This PR adds support for Python 3.11.

It also bumps uses of `NumPy` to `numpy>=1.23`, see rapidsai/build-planning#3 (comment).

## Notes for Reviewers

This is part of ongoing work to add Python 3.11 support across RAPIDS.

The Python 3.11 CI workflows introduced in rapidsai/shared-workflows#176 are *optional*... they are not yet required to run successfully for PRs to be merged.

This PR can be merged once all jobs are running successfully (including the non-required jobs for Python 3.11). The CI logs should be verified that the jobs are building and testing with Python 3.11.

See rapidsai/shared-workflows#176 for more details.

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

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

URL: #139
  • Loading branch information
jameslamb authored Feb 29, 2024
1 parent cc633b9 commit aafd5be
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 6 deletions.
4 changes: 2 additions & 2 deletions conda/environments/all_cuda-118_arch-x86_64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,15 @@ dependencies:
- nbsphinx
- nccl
- ninja
- numpy>=1.17
- numpy>=1.23
- numpydoc
- nvcc_linux-64=11.8
- pre-commit
- pydata-sphinx-theme
- pytest
- pytest-forked
- pytest-xdist
- python>=3.9,<3.11
- python>=3.9,<3.12
- pytorch-cuda=11.8
- pytorch=2.0.0
- recommonmark
Expand Down
4 changes: 2 additions & 2 deletions conda/environments/all_cuda-122_arch-x86_64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,14 @@ dependencies:
- nbsphinx
- nccl
- ninja
- numpy>=1.17
- numpy>=1.23
- numpydoc
- pre-commit
- pydata-sphinx-theme
- pytest
- pytest-forked
- pytest-xdist
- python>=3.9,<3.11
- python>=3.9,<3.12
- recommonmark
- scikit-build
- sphinx-copybutton
Expand Down
8 changes: 6 additions & 2 deletions dependencies.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -188,8 +188,12 @@ dependencies:
packages:
- python=3.10
- matrix:
py: "3.11"
packages:
- python>=3.9,<3.11
- python=3.11
- matrix:
packages:
- python>=3.9,<3.12
run:
common:
- output_types: [conda, requirements]
Expand All @@ -209,7 +213,7 @@ dependencies:
- output_types: [conda, requirements]
packages:
- ninja
- numpy>=1.17
- numpy>=1.23
- pytest
- pytest-forked
- pytest-xdist
Expand Down

0 comments on commit aafd5be

Please sign in to comment.