Skip to content

Commit 90b4524

Browse files
authored
feat: add support for Python 3.13 (#1475)
Contributes to rapidsai/build-planning#120 This PR adds support for Python 3.13. ## Notes for Reviewers This is part of ongoing work to add Python 3.13 support across RAPIDS. It temporarily introduces a build/test matrix including Python 3.13, from rapidsai/shared-workflows#268. A follow-up PR will revert back to pointing at the `branch-25.06` branch of `shared-workflows` once all RAPIDS repos have added Python 3.13 support. ### This will fail until all dependencies have been updated to Python 3.13 CI here is expected to fail until all of this project's upstream dependencies support Python 3.13. This can be merged whenever all CI jobs are passing. Authors: - Gil Forsyth (https://github.com/gforsyth) Approvers: - Bradley Dice (https://github.com/bdice) URL: #1475
1 parent fca083f commit 90b4524

13 files changed

+25
-20
lines changed

.github/workflows/build-ucxx.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ concurrency:
4242
jobs:
4343
conda-python-build:
4444
secrets: inherit
45-
uses: rapidsai/shared-workflows/.github/workflows/conda-python-build.yaml@branch-25.06
45+
uses: rapidsai/shared-workflows/.github/workflows/conda-python-build.yaml@python-3.13
4646
with:
4747
build_type: ${{ inputs.build_type || 'branch' }}
4848
branch: ${{ inputs.branch }}

.github/workflows/build.yaml

+5-5
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ concurrency:
2828
jobs:
2929
conda-python-build:
3030
secrets: inherit
31-
uses: rapidsai/shared-workflows/.github/workflows/conda-python-build.yaml@branch-25.06
31+
uses: rapidsai/shared-workflows/.github/workflows/conda-python-build.yaml@python-3.13
3232
with:
3333
build_type: ${{ inputs.build_type || 'branch' }}
3434
branch: ${{ inputs.branch }}
@@ -38,7 +38,7 @@ jobs:
3838
if: github.ref_type == 'branch'
3939
needs: [conda-python-build]
4040
secrets: inherit
41-
uses: rapidsai/shared-workflows/.github/workflows/custom-job.yaml@branch-25.06
41+
uses: rapidsai/shared-workflows/.github/workflows/custom-job.yaml@python-3.13
4242
with:
4343
arch: "amd64"
4444
branch: ${{ inputs.branch }}
@@ -51,15 +51,15 @@ jobs:
5151
upload-conda:
5252
needs: [conda-python-build]
5353
secrets: inherit
54-
uses: rapidsai/shared-workflows/.github/workflows/conda-upload-packages.yaml@branch-25.06
54+
uses: rapidsai/shared-workflows/.github/workflows/conda-upload-packages.yaml@python-3.13
5555
with:
5656
build_type: ${{ inputs.build_type || 'branch' }}
5757
branch: ${{ inputs.branch }}
5858
date: ${{ inputs.date }}
5959
sha: ${{ inputs.sha }}
6060
wheel-build:
6161
secrets: inherit
62-
uses: rapidsai/shared-workflows/.github/workflows/wheels-build.yaml@branch-25.06
62+
uses: rapidsai/shared-workflows/.github/workflows/wheels-build.yaml@python-3.13
6363
with:
6464
build_type: ${{ inputs.build_type || 'branch' }}
6565
branch: ${{ inputs.branch }}
@@ -76,7 +76,7 @@ jobs:
7676
wheel-publish:
7777
needs: wheel-build
7878
secrets: inherit
79-
uses: rapidsai/shared-workflows/.github/workflows/wheels-publish.yaml@branch-25.06
79+
uses: rapidsai/shared-workflows/.github/workflows/wheels-publish.yaml@python-3.13
8080
with:
8181
build_type: ${{ inputs.build_type || 'branch' }}
8282
branch: ${{ inputs.branch }}

.github/workflows/pr.yaml

+5-5
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
- wheel-tests
2121
- telemetry-setup
2222
secrets: inherit
23-
uses: rapidsai/shared-workflows/.github/workflows/pr-builder.yaml@branch-25.06
23+
uses: rapidsai/shared-workflows/.github/workflows/pr-builder.yaml@python-3.13
2424
with:
2525
needs: ${{ toJSON(needs) }}
2626
telemetry-setup:
@@ -37,13 +37,13 @@ jobs:
3737
checks:
3838
secrets: inherit
3939
needs: telemetry-setup
40-
uses: rapidsai/shared-workflows/.github/workflows/checks.yaml@branch-25.06
40+
uses: rapidsai/shared-workflows/.github/workflows/checks.yaml@python-3.13
4141
with:
4242
ignored_pr_jobs: telemetry-summarize
4343
conda-python-build:
4444
needs: checks
4545
secrets: inherit
46-
uses: rapidsai/shared-workflows/.github/workflows/conda-python-build.yaml@branch-25.06
46+
uses: rapidsai/shared-workflows/.github/workflows/conda-python-build.yaml@python-3.13
4747
with:
4848
build_type: pull-request
4949
conda-python-tests:
@@ -55,7 +55,7 @@ jobs:
5555
docs-build:
5656
needs: conda-python-build
5757
secrets: inherit
58-
uses: rapidsai/shared-workflows/.github/workflows/custom-job.yaml@branch-25.06
58+
uses: rapidsai/shared-workflows/.github/workflows/custom-job.yaml@python-3.13
5959
with:
6060
build_type: pull-request
6161
node_type: "gpu-l4-latest-1"
@@ -64,7 +64,7 @@ jobs:
6464
run_script: "ci/build_docs.sh"
6565
wheel-build:
6666
secrets: inherit
67-
uses: rapidsai/shared-workflows/.github/workflows/wheels-build.yaml@branch-25.06
67+
uses: rapidsai/shared-workflows/.github/workflows/wheels-build.yaml@python-3.13
6868
with:
6969
build_type: pull-request
7070
# Package is pure Python and only ever requires one build.

.github/workflows/test-ucxx.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ on:
3333
jobs:
3434
conda-python-ucxx-tests:
3535
secrets: inherit
36-
uses: rapidsai/shared-workflows/.github/workflows/conda-python-tests.yaml@branch-25.06
36+
uses: rapidsai/shared-workflows/.github/workflows/conda-python-tests.yaml@python-3.13
3737
with:
3838
build_type: ${{ inputs.build_type }}
3939
branch: ${{ inputs.branch }}

.github/workflows/trigger-breaking-change-alert.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
trigger-notifier:
1313
if: contains(github.event.pull_request.labels.*.name, 'breaking')
1414
secrets: inherit
15-
uses: rapidsai/shared-workflows/.github/workflows/breaking-change-alert.yaml@branch-25.06
15+
uses: rapidsai/shared-workflows/.github/workflows/breaking-change-alert.yaml@python-3.13
1616
with:
1717
sender_login: ${{ github.event.sender.login }}
1818
sender_avatar: ${{ github.event.sender.avatar_url }}

conda/environments/all_cuda-114_arch-aarch64.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ dependencies:
2424
- pytest
2525
- pytest-cov
2626
- pytest-timeout
27-
- python>=3.10,<3.13
27+
- python>=3.10,<3.14
2828
- rapids-build-backend>=0.3.0,<0.4.0dev0
2929
- rapids-dask-dependency==25.6.*,>=0.0.0a0
3030
- setuptools>=64.0.0

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ dependencies:
2424
- pytest
2525
- pytest-cov
2626
- pytest-timeout
27-
- python>=3.10,<3.13
27+
- python>=3.10,<3.14
2828
- rapids-build-backend>=0.3.0,<0.4.0dev0
2929
- rapids-dask-dependency==25.6.*,>=0.0.0a0
3030
- setuptools>=64.0.0

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ dependencies:
2424
- pytest
2525
- pytest-cov
2626
- pytest-timeout
27-
- python>=3.10,<3.13
27+
- python>=3.10,<3.14
2828
- rapids-build-backend>=0.3.0,<0.4.0dev0
2929
- rapids-dask-dependency==25.6.*,>=0.0.0a0
3030
- setuptools>=64.0.0

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ dependencies:
2424
- pytest
2525
- pytest-cov
2626
- pytest-timeout
27-
- python>=3.10,<3.13
27+
- python>=3.10,<3.14
2828
- rapids-build-backend>=0.3.0,<0.4.0dev0
2929
- rapids-dask-dependency==25.6.*,>=0.0.0a0
3030
- setuptools>=64.0.0

conda/environments/all_cuda-128_arch-aarch64.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ dependencies:
2525
- pytest
2626
- pytest-cov
2727
- pytest-timeout
28-
- python>=3.10,<3.13
28+
- python>=3.10,<3.14
2929
- rapids-build-backend>=0.3.0,<0.4.0dev0
3030
- rapids-dask-dependency==25.6.*,>=0.0.0a0
3131
- setuptools>=64.0.0

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ dependencies:
2525
- pytest
2626
- pytest-cov
2727
- pytest-timeout
28-
- python>=3.10,<3.13
28+
- python>=3.10,<3.14
2929
- rapids-build-backend>=0.3.0,<0.4.0dev0
3030
- rapids-dask-dependency==25.6.*,>=0.0.0a0
3131
- setuptools>=64.0.0

dependencies.yaml

+5-1
Original file line numberDiff line numberDiff line change
@@ -145,8 +145,12 @@ dependencies:
145145
packages:
146146
- python=3.12
147147
- matrix:
148+
py: "3.13"
148149
packages:
149-
- python>=3.10,<3.13
150+
- python=3.13
151+
- matrix:
152+
packages:
153+
- python>=3.10,<3.14
150154
run_python:
151155
common:
152156
- output_types: [conda, requirements, pyproject]

pyproject.toml

+1
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ classifiers = [
3434
"Programming Language :: Python :: 3.10",
3535
"Programming Language :: Python :: 3.11",
3636
"Programming Language :: Python :: 3.12",
37+
"Programming Language :: Python :: 3.13",
3738
]
3839

3940
[project.scripts]

0 commit comments

Comments
 (0)