Skip to content

Commit 4f321a2

Browse files
authored
Add 3.14 python (#2631)
This PR adds 3.14 to `pyproject.toml`
1 parent da3cac3 commit 4f321a2

File tree

12 files changed

+23
-18
lines changed

12 files changed

+23
-18
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 }}
@@ -161,7 +161,7 @@ jobs:
161161
strategy:
162162
fail-fast: false
163163
matrix:
164-
python: ['3.13']
164+
python: ['3.13'] # no dpctl package on PyPI with enabled python 3.14 support
165165
os: [ubuntu-22.04] # windows-2022 - no DFT support for Windows in oneMKL
166166

167167
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.10', '3.11', '3.12', '3.13']
32+
python: ['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.10', '3.11', '3.12', '3.13']
131+
python: ['3.10', '3.11', '3.12', '3.13', '3.14']
132132
os: [ubuntu-latest]
133133

134134
env:
@@ -261,7 +261,7 @@ jobs:
261261
strategy:
262262
fail-fast: false
263263
matrix:
264-
python: ['3.10', '3.11', '3.12', '3.13']
264+
python: ['3.10', '3.11', '3.12', '3.13', '3.14']
265265
os: [windows-2022]
266266

267267
env:
@@ -410,7 +410,7 @@ jobs:
410410
strategy:
411411
fail-fast: false
412412
matrix:
413-
python: ['3.10', '3.11', '3.12', '3.13']
413+
python: ['3.10', '3.11', '3.12', '3.13', '3.14']
414414
os: [ubuntu-22.04, windows-2022]
415415

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

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

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

4444
steps:

.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: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77
## [0.20.0] - MM/DD/2026
88

99
This release changes the license from `BSD-2-Clause` to `BSD-3-Clause`.
10-
The release drops support for Python 3.9, making Python 3.10 the minimum required version.
10+
This release achieves `dpnp` compatibility with Python 3.14 and enables distributing `dpnp` packages with the latest Python version.
11+
Also, that release drops support for Python 3.9, making Python 3.10 the minimum required version.
1112

1213
### Added
1314

@@ -16,6 +17,7 @@ The release drops support for Python 3.9, making Python 3.10 the minimum require
1617
* Added `dpnp.exceptions` submodule to aggregate the generic exceptions used by dpnp [#2616](https://github.com/IntelPython/dpnp/pull/2616)
1718
* Added implementation of `dpnp.scipy.special.erfcx` [#2596](https://github.com/IntelPython/dpnp/pull/2596)
1819
* Added implementation of `dpnp.scipy.special.erfinv` and `dpnp.scipy.special.erfcinv` [#2624](https://github.com/IntelPython/dpnp/pull/2624)
20+
* Enabled support of Python 3.14 [#2631](https://github.com/IntelPython/dpnp/pull/2631)
1921

2022
### Changed
2123

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
68+
- scipy # [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.10, 3.11, 3.12 or 3.13 installed on your system. If you
27+
You will need Python 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: 1 addition & 1 deletion
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
5+
- python=3.13 # no python 3.14 support by conda-build
66
- 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)