Skip to content

Add testing with python 3.13 in public CI #2510

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 9 commits into from
Jul 2, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 2 additions & 6 deletions .github/workflows/check-onemath.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,7 @@ jobs:
strategy:
fail-fast: false
matrix:
# python 3.13 is blocked since BLAS requires "mkl<2025.0" (see https://github.com/conda-forge/blas-feedstock/pull/128
# which depends on resolving MKL issue https://github.com/conda-forge/intel_repack-feedstock/issues/83)
python: ['3.12']
python: ['3.13']
os: [ubuntu-22.04] # windows-2022 - no DFT support for Windows in oneMKL

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

runs-on: ${{ matrix.os }}
Expand Down
19 changes: 6 additions & 13 deletions .github/workflows/conda-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,7 @@ env:
ver-script-part1: "import json; f = open('version.json', 'r'); j = json.load(f); f.close(); "
ver-script-part2: "d = j['dpnp'][0]; print('='.join((d[s] for s in ('version', 'build'))))"
fetch-depth: 1
# python 3.13 is blocked since BLAS requires "mkl<2025.0" (see https://github.com/conda-forge/blas-feedstock/pull/128
# which depends on resolving MKL issue https://github.com/conda-forge/intel_repack-feedstock/issues/83)
python-ver-test-all-dtypes: '3.12'
python-ver-test-all-dtypes: '3.13'
test-env-name: 'test'
rerun-tests-on-failure: 'true'
rerun-tests-max-attempts: 2
Expand All @@ -31,9 +29,7 @@ jobs:
strategy:
fail-fast: false
matrix:
# python 3.13 is blocked since BLAS requires "mkl<2025.0" (see https://github.com/conda-forge/blas-feedstock/pull/128
# which depends on resolving MKL issue https://github.com/conda-forge/intel_repack-feedstock/issues/83)
python: ['3.9', '3.10', '3.11', '3.12']
python: ['3.9', '3.10', '3.11', '3.12', '3.13']
os: [ubuntu-22.04, windows-2022]

permissions:
Expand Down Expand Up @@ -130,8 +126,7 @@ jobs:
strategy:
fail-fast: false
matrix:
# python 3.13 is blocked due to MKL issue
python: ['3.9', '3.10', '3.11', '3.12']
python: ['3.9', '3.10', '3.11', '3.12', '3.13']
os: [ubuntu-latest]

env:
Expand Down Expand Up @@ -258,8 +253,7 @@ jobs:
strategy:
fail-fast: false
matrix:
# python 3.13 is blocked due to MKL issue
python: ['3.9', '3.10', '3.11', '3.12']
python: ['3.9', '3.10', '3.11', '3.12', '3.13']
os: [windows-2022]

env:
Expand Down Expand Up @@ -408,8 +402,7 @@ jobs:
strategy:
fail-fast: false
matrix:
# python 3.13 is blocked due to MKL issue
python: ['3.9', '3.10', '3.11', '3.12']
python: ['3.9', '3.10', '3.11', '3.12', '3.13']
os: [ubuntu-22.04, windows-2022]

runs-on: ${{ matrix.os }}
Expand Down Expand Up @@ -507,7 +500,7 @@ jobs:
dpnp-repo-path: '${{ github.workspace }}/source/'
array-api-skips-file: '${{ github.workspace }}/source/.github/workflows/array-api-skips.txt'
create-conda-channel-env: 'source/environments/create_conda_channel.yml'
python-ver: '3.12' # it has to be aligned with python in create_conda_channel.yml
python-ver: '3.13' # it has to be aligned with python in create_conda_channel.yml
conda-env-name: 'array-api-conformity'
channel-path: '${{ github.workspace }}/channel/'
pkg-path-in-channel: '${{ github.workspace }}/channel/linux-64/'
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/cron-run-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,7 @@ jobs:
strategy:
fail-fast: false
matrix:
# python 3.13 is blocked since BLAS requires "mkl<2025.0" (see https://github.com/conda-forge/blas-feedstock/pull/128
# which depends on resolving MKL issue https://github.com/conda-forge/intel_repack-feedstock/issues/83)
python: ['3.9', '3.10', '3.11', '3.12']
python: ['3.9', '3.10', '3.11', '3.12', '3.13']
runner: [ubuntu-22.04, ubuntu-24.04, windows-2022]

steps:
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
* Simplifies backend implementation of `dpnp.kaiser` by getting rid of unnecessary template [#2472](https://github.com/IntelPython/dpnp/pull/2472)
* `--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)
* Clarified description of `xp` keyword in docstring of `dpnp.interp` [#2506](https://github.com/IntelPython/dpnp/pull/2506)
* Updated existing GitHub workflows to add testing with Python 3.13 [#2510](https://github.com/IntelPython/dpnp/pull/2510)

### Deprecated

Expand Down
2 changes: 1 addition & 1 deletion doc/quick_start_guide.rst
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Follow device driver installation instructions to complete the step.
Python Interpreter
==================

You will need Python 3.9, 3.10, 3.11 or 3.12 installed on your system. If you
You will need Python 3.9, 3.10, 3.11, 3.12 or 3.13 installed on your system. If you
do not have one yet the easiest way to do that is to install
`Intel Distribution for Python*`_. It installs all essential Python numerical
and machine learning packages optimized for the Intel hardware, including
Expand Down
2 changes: 1 addition & 1 deletion environments/building_docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Building docs specific packages
channels:
- conda-forge
dependencies:
- python=3.12
- python=3.13
- cupy
- sphinx
- sphinx_rtd_theme
Expand Down
2 changes: 1 addition & 1 deletion environments/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Coverage specific packages
channels:
- conda-forge
dependencies:
- python=3.12
- python=3.12 # no python 3.13 support by coveralls
- coverage[toml]
- llvm
- pytest-cov
Expand Down
2 changes: 1 addition & 1 deletion environments/create_conda_channel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ name: Create conda channel with DPNP package
channels:
- conda-forge
dependencies:
- python=3.12 # DPNP does not support python 3.13
- python=3.13
- conda-index=0.6.1
Loading