Skip to content

Commit 0316752

Browse files
authored
Backport gh-2631 (#2675)
This PR backports of #2631 from development branch to `maintenance/0.19.x`.
1 parent 42f712d commit 0316752

File tree

12 files changed

+31
-19
lines changed

12 files changed

+31
-19
lines changed

.github/workflows/check-onemath.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ jobs:
7070
strategy:
7171
fail-fast: false
7272
matrix:
73-
python: ['3.13']
73+
python: ['3.13'] # no dpctl package on PyPI with enabled python 3.14 support
7474
os: [ubuntu-22.04] # windows-2022 - no DFT support for Windows in oneMKL
7575

7676
runs-on: ${{ matrix.os }}
@@ -159,7 +159,7 @@ jobs:
159159
strategy:
160160
fail-fast: false
161161
matrix:
162-
python: ['3.13']
162+
python: ['3.13'] # no dpctl package on PyPI with enabled python 3.14 support
163163
os: [ubuntu-22.04] # windows-2022 - no DFT support for Windows in oneMKL
164164

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

.github/workflows/conda-package.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +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-ver-test-all-dtypes: '3.13'
19+
python-ver-test-all-dtypes: '3.14'
2020
test-env-name: 'test'
2121
rerun-tests-on-failure: 'true'
2222
rerun-tests-max-attempts: 2
@@ -29,7 +29,7 @@ jobs:
2929
strategy:
3030
fail-fast: false
3131
matrix:
32-
python: ['3.9', '3.10', '3.11', '3.12', '3.13']
32+
python: ['3.9', '3.10', '3.11', '3.12', '3.13', '3.14']
3333
os: [ubuntu-22.04, windows-2022]
3434

3535
permissions:
@@ -128,7 +128,7 @@ jobs:
128128
strategy:
129129
fail-fast: false
130130
matrix:
131-
python: ['3.9', '3.10', '3.11', '3.12', '3.13']
131+
python: ['3.9', '3.10', '3.11', '3.12', '3.13', '3.14']
132132
os: [ubuntu-latest]
133133

134134
env:
@@ -256,7 +256,7 @@ jobs:
256256
strategy:
257257
fail-fast: false
258258
matrix:
259-
python: ['3.9', '3.10', '3.11', '3.12', '3.13']
259+
python: ['3.9', '3.10', '3.11', '3.12', '3.13', '3.14']
260260
os: [windows-2022]
261261

262262
env:
@@ -405,7 +405,7 @@ jobs:
405405
strategy:
406406
fail-fast: false
407407
matrix:
408-
python: ['3.9', '3.10', '3.11', '3.12', '3.13']
408+
python: ['3.9', '3.10', '3.11', '3.12', '3.13', '3.14']
409409
os: [ubuntu-22.04, windows-2022]
410410

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

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
strategy:
3838
fail-fast: false
3939
matrix:
40-
python: ['3.9', '3.10', '3.11', '3.12', '3.13']
40+
python: ['3.9', '3.10', '3.11', '3.12', '3.13', '3.14']
4141
runner: [ubuntu-22.04, ubuntu-24.04, windows-2022]
4242
include:
4343
- python: 3.9

.github/workflows/pre-commit-autoupdate.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
- name: Set up python
3030
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
3131
with:
32-
python-version: '3.13'
32+
python-version: '3.14'
3333

3434
- name: Install pre-commit
3535
run: pip install pre-commit

.github/workflows/pre-commit.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
- name: Set up python
3939
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
4040
with:
41-
python-version: '3.13'
41+
python-version: '3.14'
4242

4343
- name: Run pre-commit checks
4444
uses: pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd # v3.0.1

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,15 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7+
## [0.19.1] - 2025-11-XX
8+
9+
This release achieves `dpnp` compatibility with Python 3.14 and enables distributing `dpnp` packages with the latest Python version.
10+
11+
### Added
12+
13+
* Enabled support of Python 3.14 [#2631](https://github.com/IntelPython/dpnp/pull/2631)
14+
15+
716
## [0.19.0] - 2025-10-06
817

918
This release introduces a set of new `dpnp.ndarray` methods and SciPy-compatible functions to improve CuPy compatibility.

conda-recipe/meta.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ source:
1414
requirements:
1515
host:
1616
- python
17+
- python-gil # [py>=314]
1718
- pip >=25.0
1819
- pybind11 >=2.13.6
1920
{% for dep in py_build_deps %}
@@ -41,6 +42,7 @@ requirements:
4142
- {{ compiler('dpcpp') }} >={{ required_compiler_and_mkl_version }},<{{ max_compiler_and_mkl_version }}
4243
run:
4344
- python
45+
- python-gil # [py>=314]
4446
- {{ pin_compatible('dpctl', min_pin='x.x.x', max_pin=None) }}
4547
- {{ pin_compatible('dpcpp-cpp-rt', min_pin='x.x', max_pin='x') }}
4648
- {{ pin_compatible('onemkl-sycl-blas', min_pin='x.x', max_pin='x') }}
@@ -63,7 +65,7 @@ test:
6365
requires:
6466
- pytest
6567
- setuptools
66-
- scipy # [py>39]
68+
- scipy # [py>39,py<314]
6769

6870
about:
6971
home: https://github.com/IntelPython/dpnp

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, 3.12 or 3.13 installed on your system. If you
27+
You will need Python 3.9, 3.10, 3.11, 3.12, 3.13 or 3.14 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/build_conda_pkg.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ name: Build DPNP conda package
22
channels:
33
- conda-forge
44
dependencies:
5-
- python=3.13
6-
- conda-build=25.7.0
5+
- python=3.13 # no python 3.14 support by conda-build
6+
- conda-build=25.9.0

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.13
5+
- python=3.13 # no dpctl package on PyPI with enabled python 3.14 support
66
- cupy
77
- sphinx
88
- sphinx_rtd_theme

0 commit comments

Comments
 (0)