Skip to content

Commit a1b2e51

Browse files
authored
Merge branch 'master' into impl-frexp
2 parents ceb4bca + aa5800e commit a1b2e51

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+904
-991
lines changed

.flake8

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@ exclude =
5555
benchmarks/*.py,
5656
build,
5757
dpnp/_version.py,
58-
dpnp/to_numba/*.py,
5958
conda.recipe,
6059
dpnp/tests/*.py,
6160
tests_external/*.py,

.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/generate_coverage.yaml

Lines changed: 3 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -57,11 +57,6 @@ jobs:
5757
intel-oneapi-libdpstd-devel \
5858
intel-oneapi-compiler-dpcpp-cpp
5959
60-
- name: Install Lcov
61-
run: |
62-
sudo apt-get install lcov
63-
sudo gem install coveralls-lcov
64-
6560
- name: Checkout repo
6661
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
6762
with:
@@ -142,32 +137,6 @@ jobs:
142137
echo "Total number of coverage attempts: ${{ steps.build_coverage.outputs.total_attempts }}"
143138
144139
- name: Upload coverage data to coveralls.io
145-
run: |
146-
echo "Processing pytest-coverage"
147-
export DPNP_PYTEST_LCOV=$(find . -name dpnp_pytest.lcov)
148-
coveralls-lcov -v -n $DPNP_PYTEST_LCOV > pytest-dpnp-c-api-coverage.json
149-
150-
# merge file with coverage data and upload
151-
echo "Merging files with coverage data"
152-
coveralls --service=github --merge=pytest-dpnp-c-api-coverage.json
153-
env:
154-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
155-
COVERALLS_PARALLEL: true
156-
157-
coveralls:
158-
name: Indicate completion to coveralls.io
159-
160-
needs: generate-coverage
161-
162-
runs-on: ubuntu-latest
163-
timeout-minutes: 10
164-
165-
container: python:3-slim
166-
167-
steps:
168-
- name: Finished
169-
run: |
170-
pip3 install --upgrade coveralls==3.3.1
171-
coveralls --service=github --finish
172-
env:
173-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
140+
uses: coverallsapp/github-action@648a8eb78e6d50909eff900e4ec85cab4524a45b # v2.3.6
141+
with:
142+
github-token: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/openssf-scorecard.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,6 @@ jobs:
7272

7373
# Upload the results to GitHub's code scanning dashboard.
7474
- name: "Upload to code-scanning"
75-
uses: github/codeql-action/upload-sarif@4e94bd11f71e507f7f87df81788dff88d1dacbfb # v4.31.0
75+
uses: github/codeql-action/upload-sarif@0499de31b99561a6d14a36a5f662c2a54f91beee # v4.31.2
7676
with:
7777
sarif_file: results.sarif

.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

.gitignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,10 @@ doc/reference/*.inc
1616
.vscode
1717

1818
# Files from test of code coverage
19-
coverage.xml
19+
.coverage
20+
*.lcov
21+
dpnp/**/*.cxx
22+
dpnp_pytest.*
2023

2124
# Backup files kept after git merge/rebase
2225
*.orig

CHANGELOG.md

Lines changed: 6 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,18 +17,22 @@ 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
* Added implementation of `dpnp.frexp` [#2635](https://github.com/IntelPython/dpnp/pull/2635)
2022

2123
### Changed
2224

2325
* Silenced `pybind11` CMake message due to using compatibility mode for Python [#2614](https://github.com/IntelPython/dpnp/pull/2614)
2426
* Changed the license from `BSD-2-Clause` to `BSD-3-Clause` [#2593](https://github.com/IntelPython/dpnp/pull/2593)
27+
* Defined explicit versions range of the Python interpreter which is needed during the build [#2634](https://github.com/IntelPython/dpnp/pull/2634)
28+
* Aligned documentation with NumPy and CuPy style by using short function names [#2633](https://github.com/IntelPython/dpnp/pull/2633)
2529

2630
### Deprecated
2731

2832
### Removed
2933

3034
* Dropped support for Python 3.9 [#2626](https://github.com/IntelPython/dpnp/pull/2626)
35+
* Removed the obsolete interface from DPNP to Numba JIT [#2647](https://github.com/IntelPython/dpnp/pull/2647)
3136

3237
### Fixed
3338

0 commit comments

Comments
 (0)