Skip to content

Commit 528b283

Browse files
authored
Update minimum Python version to Python 3.9 (rapidsai#1252)
Authors: - Ashwin Srinath (https://github.com/shwina) Approvers: - AJ Schmidt (https://github.com/ajschmidt8) - Vyas Ramasubramani (https://github.com/vyasr) URL: rapidsai#1252
1 parent a7f5d77 commit 528b283

File tree

7 files changed

+24
-28
lines changed

7 files changed

+24
-28
lines changed

.github/workflows/build.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ concurrency:
2828
jobs:
2929
cpp-build:
3030
secrets: inherit
31-
uses: rapidsai/shared-action-workflows/.github/workflows/conda-cpp-build.yaml@branch-23.06
31+
uses: rapidsai/shared-action-workflows/.github/workflows/conda-cpp-build.yaml@py-39
3232
with:
3333
build_type: ${{ inputs.build_type || 'branch' }}
3434
branch: ${{ inputs.branch }}
@@ -37,7 +37,7 @@ jobs:
3737
python-build:
3838
needs: [cpp-build]
3939
secrets: inherit
40-
uses: rapidsai/shared-action-workflows/.github/workflows/conda-python-build.yaml@branch-23.06
40+
uses: rapidsai/shared-action-workflows/.github/workflows/conda-python-build.yaml@py-39
4141
with:
4242
build_type: ${{ inputs.build_type || 'branch' }}
4343
branch: ${{ inputs.branch }}
@@ -46,7 +46,7 @@ jobs:
4646
upload-conda:
4747
needs: [cpp-build, python-build]
4848
secrets: inherit
49-
uses: rapidsai/shared-action-workflows/.github/workflows/conda-upload-packages.yaml@branch-23.06
49+
uses: rapidsai/shared-action-workflows/.github/workflows/conda-upload-packages.yaml@py-39
5050
with:
5151
build_type: ${{ inputs.build_type || 'branch' }}
5252
branch: ${{ inputs.branch }}
@@ -56,7 +56,7 @@ jobs:
5656
if: github.ref_type == 'branch' && github.event_name == 'push'
5757
needs: python-build
5858
secrets: inherit
59-
uses: rapidsai/shared-action-workflows/.github/workflows/custom-job.yaml@branch-23.06
59+
uses: rapidsai/shared-action-workflows/.github/workflows/custom-job.yaml@py-39
6060
with:
6161
build_type: branch
6262
node_type: "gpu-v100-latest-1"
@@ -65,7 +65,7 @@ jobs:
6565
run_script: "ci/build_docs.sh"
6666
wheel-build:
6767
secrets: inherit
68-
uses: rapidsai/shared-action-workflows/.github/workflows/wheels-manylinux-build.yml@branch-23.06
68+
uses: rapidsai/shared-action-workflows/.github/workflows/wheels-manylinux-build.yml@py-39
6969
with:
7070
build_type: ${{ inputs.build_type || 'branch' }}
7171
branch: ${{ inputs.branch }}
@@ -77,7 +77,7 @@ jobs:
7777
wheel-publish:
7878
needs: wheel-build
7979
secrets: inherit
80-
uses: rapidsai/shared-action-workflows/.github/workflows/wheels-manylinux-publish.yml@branch-23.06
80+
uses: rapidsai/shared-action-workflows/.github/workflows/wheels-manylinux-publish.yml@py-39
8181
with:
8282
build_type: ${{ inputs.build_type || 'branch' }}
8383
branch: ${{ inputs.branch }}

.github/workflows/pr.yaml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -21,40 +21,40 @@ jobs:
2121
- wheel-build
2222
- wheel-tests
2323
secrets: inherit
24-
uses: rapidsai/shared-action-workflows/.github/workflows/pr-builder.yaml@branch-23.06
24+
uses: rapidsai/shared-action-workflows/.github/workflows/pr-builder.yaml@py-39
2525
checks:
2626
secrets: inherit
27-
uses: rapidsai/shared-action-workflows/.github/workflows/checks.yaml@branch-23.06
27+
uses: rapidsai/shared-action-workflows/.github/workflows/checks.yaml@py-39
2828
with:
2929
enable_check_generated_files: false
3030
conda-cpp-build:
3131
needs: checks
3232
secrets: inherit
33-
uses: rapidsai/shared-action-workflows/.github/workflows/conda-cpp-build.yaml@branch-23.06
33+
uses: rapidsai/shared-action-workflows/.github/workflows/conda-cpp-build.yaml@py-39
3434
with:
3535
build_type: pull-request
3636
conda-cpp-tests:
3737
needs: conda-cpp-build
3838
secrets: inherit
39-
uses: rapidsai/shared-action-workflows/.github/workflows/conda-cpp-tests.yaml@branch-23.06
39+
uses: rapidsai/shared-action-workflows/.github/workflows/conda-cpp-tests.yaml@py-39
4040
with:
4141
build_type: pull-request
4242
conda-python-build:
4343
needs: conda-cpp-build
4444
secrets: inherit
45-
uses: rapidsai/shared-action-workflows/.github/workflows/conda-python-build.yaml@branch-23.06
45+
uses: rapidsai/shared-action-workflows/.github/workflows/conda-python-build.yaml@py-39
4646
with:
4747
build_type: pull-request
4848
conda-python-tests:
4949
needs: conda-python-build
5050
secrets: inherit
51-
uses: rapidsai/shared-action-workflows/.github/workflows/conda-python-tests.yaml@branch-23.06
51+
uses: rapidsai/shared-action-workflows/.github/workflows/conda-python-tests.yaml@py-39
5252
with:
5353
build_type: pull-request
5454
docs-build:
5555
needs: conda-python-build
5656
secrets: inherit
57-
uses: rapidsai/shared-action-workflows/.github/workflows/custom-job.yaml@branch-23.06
57+
uses: rapidsai/shared-action-workflows/.github/workflows/custom-job.yaml@py-39
5858
with:
5959
build_type: pull-request
6060
node_type: "gpu-v100-latest-1"
@@ -64,7 +64,7 @@ jobs:
6464
wheel-build:
6565
needs: checks
6666
secrets: inherit
67-
uses: rapidsai/shared-action-workflows/.github/workflows/wheels-manylinux-build.yml@branch-23.06
67+
uses: rapidsai/shared-action-workflows/.github/workflows/wheels-manylinux-build.yml@py-39
6868
with:
6969
build_type: pull-request
7070
package-dir: python
@@ -73,7 +73,7 @@ jobs:
7373
wheel-tests:
7474
needs: wheel-build
7575
secrets: inherit
76-
uses: rapidsai/shared-action-workflows/.github/workflows/wheels-manylinux-test.yml@branch-23.06
76+
uses: rapidsai/shared-action-workflows/.github/workflows/wheels-manylinux-test.yml@py-39
7777
with:
7878
build_type: pull-request
7979
package-name: rmm

.github/workflows/test.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,23 +16,23 @@ on:
1616
jobs:
1717
cpp-tests:
1818
secrets: inherit
19-
uses: rapidsai/shared-action-workflows/.github/workflows/conda-cpp-tests.yaml@branch-23.06
19+
uses: rapidsai/shared-action-workflows/.github/workflows/conda-cpp-tests.yaml@py-39
2020
with:
2121
build_type: nightly
2222
branch: ${{ inputs.branch }}
2323
date: ${{ inputs.date }}
2424
sha: ${{ inputs.sha }}
2525
python-tests:
2626
secrets: inherit
27-
uses: rapidsai/shared-action-workflows/.github/workflows/conda-python-tests.yaml@branch-23.06
27+
uses: rapidsai/shared-action-workflows/.github/workflows/conda-python-tests.yaml@py-39
2828
with:
2929
build_type: nightly
3030
branch: ${{ inputs.branch }}
3131
date: ${{ inputs.date }}
3232
sha: ${{ inputs.sha }}
3333
wheel-tests:
3434
secrets: inherit
35-
uses: rapidsai/shared-action-workflows/.github/workflows/wheels-manylinux-test.yml@branch-23.06
35+
uses: rapidsai/shared-action-workflows/.github/workflows/wheels-manylinux-test.yml@py-39
3636
with:
3737
build_type: nightly
3838
branch: ${{ inputs.branch }}

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ conda install -c rapidsai -c conda-forge -c nvidia \
4848
We also provide [nightly Conda packages](https://anaconda.org/rapidsai-nightly) built from the HEAD
4949
of our latest development branch.
5050

51-
Note: RMM is supported only on Linux, and only tested with Python versions 3.8 and 3.10.
51+
Note: RMM is supported only on Linux, and only tested with Python versions 3.9 and 3.10.
5252

5353

5454
Note: The RMM package from Conda requires building with GCC 9 or later. Otherwise, your application may fail to build.

conda/environments/all_cuda-118_arch-x86_64.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ dependencies:
1616
- pre-commit
1717
- pytest
1818
- pytest-cov
19-
- python>=3.8,<3.11
19+
- python>=3.9,<3.11
2020
- scikit-build>=0.13.1
2121
- spdlog>=1.11.0,<1.12
2222
- tomli

dependencies.yaml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ dependencies:
7171
packages:
7272
- fmt>=9.1.0,<10
7373
- spdlog>=1.11.0,<1.12
74-
- python>=3.8,<3.11
74+
- python>=3.9,<3.11
7575
- output_types: pyproject
7676
packages:
7777
- wheel
@@ -127,10 +127,6 @@ dependencies:
127127
specific:
128128
- output_types: conda
129129
matrices:
130-
- matrix:
131-
py: "3.8"
132-
packages:
133-
- python=3.8
134130
- matrix:
135131
py: "3.9"
136132
packages:

python/pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ authors = [
3434
{ name = "NVIDIA Corporation" },
3535
]
3636
license = { text = "Apache 2.0" }
37-
requires-python = ">=3.8"
37+
requires-python = ">=3.9"
3838
dependencies = [
3939
"cuda-python>=11.7.1,<12.0",
4040
"numba>=0.49",
@@ -46,7 +46,7 @@ classifiers = [
4646
"Topic :: Scientific/Engineering",
4747
"License :: OSI Approved :: Apache Software License",
4848
"Programming Language :: Python",
49-
"Programming Language :: Python :: 3.8",
49+
"Programming Language :: Python :: 3.9",
5050
"Programming Language :: Python :: 3.10",
5151
]
5252

@@ -61,7 +61,7 @@ Homepage = "https://github.com/rapidsai/rmm"
6161

6262
[tool.black]
6363
line-length = 79
64-
target-version = ["py38"]
64+
target-version = ["py39"]
6565
include = '\.py?$'
6666
exclude = '''
6767
/(

0 commit comments

Comments
 (0)