Skip to content

Commit bc5dd4f

Browse files
authored
Add testing with python 3.13 in public CI (#2510)
This PR add python 3.13 to GitHub workflows where possible. Note, coverage workflow can't be switched to python 3.13, since no support by dependent component `coverall`.
1 parent e3a9b5e commit bc5dd4f

File tree

8 files changed

+14
-26
lines changed

8 files changed

+14
-26
lines changed

.github/workflows/check-onemath.yaml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,7 @@ jobs:
6565
strategy:
6666
fail-fast: false
6767
matrix:
68-
# python 3.13 is blocked since BLAS requires "mkl<2025.0" (see https://github.com/conda-forge/blas-feedstock/pull/128
69-
# which depends on resolving MKL issue https://github.com/conda-forge/intel_repack-feedstock/issues/83)
70-
python: ['3.12']
68+
python: ['3.13']
7169
os: [ubuntu-22.04] # windows-2022 - no DFT support for Windows in oneMKL
7270

7371
runs-on: ${{ matrix.os }}
@@ -155,9 +153,7 @@ jobs:
155153
strategy:
156154
fail-fast: false
157155
matrix:
158-
# python 3.13 is blocked since BLAS requires "mkl<2025.0" (see https://github.com/conda-forge/blas-feedstock/pull/128
159-
# which depends on resolving MKL issue https://github.com/conda-forge/intel_repack-feedstock/issues/83)
160-
python: ['3.12']
156+
python: ['3.13']
161157
os: [ubuntu-22.04] # windows-2022 - no DFT support for Windows in oneMKL
162158

163159
runs-on: ${{ matrix.os }}

.github/workflows/conda-package.yml

Lines changed: 6 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,7 @@ env:
1616
ver-script-part1: "import json; f = open('version.json', 'r'); j = json.load(f); f.close(); "
1717
ver-script-part2: "d = j['dpnp'][0]; print('='.join((d[s] for s in ('version', 'build'))))"
1818
fetch-depth: 1
19-
# python 3.13 is blocked since BLAS requires "mkl<2025.0" (see https://github.com/conda-forge/blas-feedstock/pull/128
20-
# which depends on resolving MKL issue https://github.com/conda-forge/intel_repack-feedstock/issues/83)
21-
python-ver-test-all-dtypes: '3.12'
19+
python-ver-test-all-dtypes: '3.13'
2220
test-env-name: 'test'
2321
rerun-tests-on-failure: 'true'
2422
rerun-tests-max-attempts: 2
@@ -31,9 +29,7 @@ jobs:
3129
strategy:
3230
fail-fast: false
3331
matrix:
34-
# python 3.13 is blocked since BLAS requires "mkl<2025.0" (see https://github.com/conda-forge/blas-feedstock/pull/128
35-
# which depends on resolving MKL issue https://github.com/conda-forge/intel_repack-feedstock/issues/83)
36-
python: ['3.9', '3.10', '3.11', '3.12']
32+
python: ['3.9', '3.10', '3.11', '3.12', '3.13']
3733
os: [ubuntu-22.04, windows-2022]
3834

3935
permissions:
@@ -130,8 +126,7 @@ jobs:
130126
strategy:
131127
fail-fast: false
132128
matrix:
133-
# python 3.13 is blocked due to MKL issue
134-
python: ['3.9', '3.10', '3.11', '3.12']
129+
python: ['3.9', '3.10', '3.11', '3.12', '3.13']
135130
os: [ubuntu-latest]
136131

137132
env:
@@ -258,8 +253,7 @@ jobs:
258253
strategy:
259254
fail-fast: false
260255
matrix:
261-
# python 3.13 is blocked due to MKL issue
262-
python: ['3.9', '3.10', '3.11', '3.12']
256+
python: ['3.9', '3.10', '3.11', '3.12', '3.13']
263257
os: [windows-2022]
264258

265259
env:
@@ -408,8 +402,7 @@ jobs:
408402
strategy:
409403
fail-fast: false
410404
matrix:
411-
# python 3.13 is blocked due to MKL issue
412-
python: ['3.9', '3.10', '3.11', '3.12']
405+
python: ['3.9', '3.10', '3.11', '3.12', '3.13']
413406
os: [ubuntu-22.04, windows-2022]
414407

415408
runs-on: ${{ matrix.os }}
@@ -507,7 +500,7 @@ jobs:
507500
dpnp-repo-path: '${{ github.workspace }}/source/'
508501
array-api-skips-file: '${{ github.workspace }}/source/.github/workflows/array-api-skips.txt'
509502
create-conda-channel-env: 'source/environments/create_conda_channel.yml'
510-
python-ver: '3.12' # it has to be aligned with python in create_conda_channel.yml
503+
python-ver: '3.13' # it has to be aligned with python in create_conda_channel.yml
511504
conda-env-name: 'array-api-conformity'
512505
channel-path: '${{ github.workspace }}/channel/'
513506
pkg-path-in-channel: '${{ github.workspace }}/channel/linux-64/'

.github/workflows/cron-run-tests.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,7 @@ jobs:
3838
strategy:
3939
fail-fast: false
4040
matrix:
41-
# python 3.13 is blocked since BLAS requires "mkl<2025.0" (see https://github.com/conda-forge/blas-feedstock/pull/128
42-
# which depends on resolving MKL issue https://github.com/conda-forge/intel_repack-feedstock/issues/83)
43-
python: ['3.9', '3.10', '3.11', '3.12']
41+
python: ['3.9', '3.10', '3.11', '3.12', '3.13']
4442
runner: [ubuntu-22.04, ubuntu-24.04, windows-2022]
4543

4644
steps:

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1818
* Simplifies backend implementation of `dpnp.kaiser` by getting rid of unnecessary template [#2472](https://github.com/IntelPython/dpnp/pull/2472)
1919
* `--onemkl-interfaces` and `--onemkl-interfaces-dir` options for building script are deprecated, instead `--onemath` and `--onemath-dir` are introduced to be aligned with [oneMath specification](https://oneapi-spec.uxlfoundation.org/specifications/oneapi/latest/elements/onemath/source/) [#2487](https://github.com/IntelPython/dpnp/pull/2487)
2020
* Clarified description of `xp` keyword in docstring of `dpnp.interp` [#2506](https://github.com/IntelPython/dpnp/pull/2506)
21+
* Updated existing GitHub workflows to add testing with Python 3.13 [#2510](https://github.com/IntelPython/dpnp/pull/2510)
2122

2223
### Deprecated
2324

doc/quick_start_guide.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Follow device driver installation instructions to complete the step.
2424
Python Interpreter
2525
==================
2626

27-
You will need Python 3.9, 3.10, 3.11 or 3.12 installed on your system. If you
27+
You will need Python 3.9, 3.10, 3.11, 3.12 or 3.13 installed on your system. If you
2828
do not have one yet the easiest way to do that is to install
2929
`Intel Distribution for Python*`_. It installs all essential Python numerical
3030
and machine learning packages optimized for the Intel hardware, including

environments/building_docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Building docs specific packages
22
channels:
33
- conda-forge
44
dependencies:
5-
- python=3.12
5+
- python=3.13
66
- cupy
77
- sphinx
88
- sphinx_rtd_theme

environments/coverage.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Coverage specific packages
22
channels:
33
- conda-forge
44
dependencies:
5-
- python=3.12
5+
- python=3.12 # no python 3.13 support by coveralls
66
- coverage[toml]
77
- llvm
88
- pytest-cov

environments/create_conda_channel.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ name: Create conda channel with DPNP package
22
channels:
33
- conda-forge
44
dependencies:
5-
- python=3.12 # DPNP does not support python 3.13
5+
- python=3.13
66
- conda-index=0.6.1

0 commit comments

Comments
 (0)