Skip to content

Commit aa3efbe

Browse files
authored
Merge branch 'master' into add-api-functions-to-usmarray
2 parents e611c03 + 9c2a53e commit aa3efbe

26 files changed

Lines changed: 297 additions & 94 deletions

.github/workflows/build-sphinx.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ jobs:
119119
- name: Setup miniconda
120120
id: setup_miniconda
121121
continue-on-error: true
122-
uses: conda-incubator/setup-miniconda@fc2d68f6413eb2d87b895e92f8584b5b94a10167 # v3.3.0
122+
uses: conda-incubator/setup-miniconda@8ee1f361103df19b6f8c8655fd3967a8ecb162d5 # v4.0.1
123123
with:
124124
miniforge-version: latest
125125
use-mamba: 'true'
@@ -129,7 +129,7 @@ jobs:
129129

130130
- name: ReSetup miniconda
131131
if: steps.setup_miniconda.outcome == 'failure'
132-
uses: conda-incubator/setup-miniconda@fc2d68f6413eb2d87b895e92f8584b5b94a10167 # v3.3.0
132+
uses: conda-incubator/setup-miniconda@8ee1f361103df19b6f8c8655fd3967a8ecb162d5 # v4.0.1
133133
with:
134134
miniforge-version: latest
135135
use-mamba: 'true'
@@ -224,7 +224,7 @@ jobs:
224224
if: env.GH_EVENT_OPEN_PR_UPSTREAM == 'true'
225225
env:
226226
PR_NUM: ${{ github.event.number }}
227-
uses: mshick/add-pr-comment@64b8e914979889d746c99dea15a76e77ef64580a # v3.10.0.8.3.10.0
227+
uses: mshick/add-pr-comment@8e4927817251f1ff60c001f04568532b38e0b4a0 # v3.11.0.8.3.11.0
228228
with:
229229
message-id: url_to_docs
230230
message: |
@@ -268,7 +268,7 @@ jobs:
268268
git push tokened_docs gh-pages
269269
270270
- name: Modify the comment with URL to official documentation
271-
uses: mshick/add-pr-comment@64b8e914979889d746c99dea15a76e77ef64580a # v3.10.0.8.3.10.0
271+
uses: mshick/add-pr-comment@8e4927817251f1ff60c001f04568532b38e0b4a0 # v3.11.0.8.3.11.0
272272
with:
273273
message-id: url_to_docs
274274
find: |

.github/workflows/check-onemath.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ jobs:
9595
- name: Setup miniconda
9696
id: setup_miniconda
9797
continue-on-error: true
98-
uses: conda-incubator/setup-miniconda@fc2d68f6413eb2d87b895e92f8584b5b94a10167 # v3.3.0
98+
uses: conda-incubator/setup-miniconda@8ee1f361103df19b6f8c8655fd3967a8ecb162d5 # v4.0.1
9999
with:
100100
miniforge-version: latest
101101
use-mamba: 'true'
@@ -106,7 +106,7 @@ jobs:
106106

107107
- name: ReSetup miniconda
108108
if: steps.setup_miniconda.outcome == 'failure'
109-
uses: conda-incubator/setup-miniconda@fc2d68f6413eb2d87b895e92f8584b5b94a10167 # v3.3.0
109+
uses: conda-incubator/setup-miniconda@8ee1f361103df19b6f8c8655fd3967a8ecb162d5 # v4.0.1
110110
with:
111111
miniforge-version: latest
112112
use-mamba: 'true'
@@ -165,7 +165,7 @@ jobs:
165165
- name: ReRun tensor tests on Linux
166166
if: env.rerun-tests-on-failure == 'true'
167167
id: run_tensor_tests
168-
uses: nick-fields/retry@ce71cc2ab81d554ebbe88c79ab5975992d79ba08 # v3.0.2
168+
uses: nick-fields/retry@ad984534de44a9489a53aefd81eb77f87c70dc60 # v4.0.0
169169
with:
170170
timeout_minutes: ${{ env.rerun-tests-timeout }}
171171
max_attempts: ${{ env.rerun-tests-max-attempts }}
@@ -227,7 +227,7 @@ jobs:
227227
- name: Setup miniconda
228228
id: setup_miniconda
229229
continue-on-error: true
230-
uses: conda-incubator/setup-miniconda@fc2d68f6413eb2d87b895e92f8584b5b94a10167 # v3.3.0
230+
uses: conda-incubator/setup-miniconda@8ee1f361103df19b6f8c8655fd3967a8ecb162d5 # v4.0.1
231231
with:
232232
miniforge-version: latest
233233
use-mamba: 'true'
@@ -238,7 +238,7 @@ jobs:
238238

239239
- name: ReSetup miniconda
240240
if: steps.setup_miniconda.outcome == 'failure'
241-
uses: conda-incubator/setup-miniconda@fc2d68f6413eb2d87b895e92f8584b5b94a10167 # v3.3.0
241+
uses: conda-incubator/setup-miniconda@8ee1f361103df19b6f8c8655fd3967a8ecb162d5 # v4.0.1
242242
with:
243243
miniforge-version: latest
244244
use-mamba: 'true'
@@ -297,7 +297,7 @@ jobs:
297297
- name: ReRun tensor tests on Linux
298298
if: env.rerun-tests-on-failure == 'true'
299299
id: run_tensor_tests_branch
300-
uses: nick-fields/retry@ce71cc2ab81d554ebbe88c79ab5975992d79ba08 # v3.0.2
300+
uses: nick-fields/retry@ad984534de44a9489a53aefd81eb77f87c70dc60 # v4.0.0
301301
with:
302302
timeout_minutes: ${{ env.rerun-tests-timeout }}
303303
max_attempts: ${{ env.rerun-tests-max-attempts }}

.github/workflows/conda-package.yml

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ jobs:
6161
- name: Setup miniconda
6262
id: setup_miniconda
6363
continue-on-error: true
64-
uses: conda-incubator/setup-miniconda@fc2d68f6413eb2d87b895e92f8584b5b94a10167 # v3.3.0
64+
uses: conda-incubator/setup-miniconda@8ee1f361103df19b6f8c8655fd3967a8ecb162d5 # v4.0.1
6565
with:
6666
miniforge-version: latest
6767
use-mamba: 'true'
@@ -71,7 +71,7 @@ jobs:
7171

7272
- name: ReSetup miniconda
7373
if: steps.setup_miniconda.outcome == 'failure'
74-
uses: conda-incubator/setup-miniconda@fc2d68f6413eb2d87b895e92f8584b5b94a10167 # v3.3.0
74+
uses: conda-incubator/setup-miniconda@8ee1f361103df19b6f8c8655fd3967a8ecb162d5 # v4.0.1
7575
with:
7676
miniforge-version: latest
7777
use-mamba: 'true'
@@ -91,15 +91,15 @@ jobs:
9191
- name: Build conda package
9292
id: build_conda_pkg
9393
continue-on-error: true
94-
run: conda build --no-test --python ${{ matrix.python }} --numpy 2.0 ${{ env.channels-list }} conda-recipe
94+
run: conda-build --no-test --python ${{ matrix.python }} --numpy 2.0 ${{ env.channels-list }} conda-recipe
9595
env:
96-
MAX_BUILD_CMPL_MKL_VERSION: '2026.0a0'
96+
MAX_BUILD_CMPL_MKL_VERSION: '2027.0a0'
9797

9898
- name: ReBuild conda package
9999
if: steps.build_conda_pkg.outcome == 'failure'
100-
run: conda build --no-test --python ${{ matrix.python }} --numpy 2.0 ${{ env.channels-list }} conda-recipe
100+
run: conda-build --no-test --python ${{ matrix.python }} --numpy 2.0 ${{ env.channels-list }} conda-recipe
101101
env:
102-
MAX_BUILD_CMPL_MKL_VERSION: '2026.0a0'
102+
MAX_BUILD_CMPL_MKL_VERSION: '2027.0a0'
103103

104104
- name: Upload artifact
105105
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
@@ -159,7 +159,7 @@ jobs:
159159
- name: Setup miniconda
160160
id: setup_miniconda
161161
continue-on-error: true
162-
uses: conda-incubator/setup-miniconda@fc2d68f6413eb2d87b895e92f8584b5b94a10167 # v3.3.0
162+
uses: conda-incubator/setup-miniconda@8ee1f361103df19b6f8c8655fd3967a8ecb162d5 # v4.0.1
163163
with:
164164
miniforge-version: latest
165165
use-mamba: 'true'
@@ -169,7 +169,7 @@ jobs:
169169

170170
- name: ReSetup miniconda
171171
if: steps.setup_miniconda.outcome == 'failure'
172-
uses: conda-incubator/setup-miniconda@fc2d68f6413eb2d87b895e92f8584b5b94a10167 # v3.3.0
172+
uses: conda-incubator/setup-miniconda@8ee1f361103df19b6f8c8655fd3967a8ecb162d5 # v4.0.1
173173
with:
174174
miniforge-version: latest
175175
use-mamba: 'true'
@@ -257,7 +257,7 @@ jobs:
257257
- name: Run tensor tests
258258
if: env.rerun-tests-on-failure == 'true'
259259
id: run_tests_tensor_linux
260-
uses: nick-fields/retry@ce71cc2ab81d554ebbe88c79ab5975992d79ba08 # v3.0.2
260+
uses: nick-fields/retry@ad984534de44a9489a53aefd81eb77f87c70dc60 # v4.0.0
261261
with:
262262
timeout_minutes: ${{ env.rerun-tests-timeout }}
263263
max_attempts: ${{ env.rerun-tests-max-attempts }}
@@ -321,7 +321,7 @@ jobs:
321321
- name: Setup miniconda
322322
id: setup_miniconda
323323
continue-on-error: true
324-
uses: conda-incubator/setup-miniconda@fc2d68f6413eb2d87b895e92f8584b5b94a10167 # v3.3.0
324+
uses: conda-incubator/setup-miniconda@8ee1f361103df19b6f8c8655fd3967a8ecb162d5 # v4.0.1
325325
with:
326326
miniforge-version: latest
327327
use-mamba: 'true'
@@ -331,7 +331,7 @@ jobs:
331331

332332
- name: ReSetup miniconda
333333
if: steps.setup_miniconda.outcome == 'failure'
334-
uses: conda-incubator/setup-miniconda@fc2d68f6413eb2d87b895e92f8584b5b94a10167 # v3.3.0
334+
uses: conda-incubator/setup-miniconda@8ee1f361103df19b6f8c8655fd3967a8ecb162d5 # v4.0.1
335335
with:
336336
miniforge-version: latest
337337
use-mamba: 'true'
@@ -377,7 +377,7 @@ jobs:
377377
MAMBA_NO_LOW_SPEED_LIMIT: 1
378378

379379
- name: Install OCL CPU RT from Intel channel
380-
run: mamba install intel-opencl-rt=*=intel_* ${{ env.channels-list }}
380+
run: mamba install ${{ env.package-name }}=${{ env.PACKAGE_VERSION }} intel-opencl-rt=*=intel_* ${{ env.channels-list }}
381381

382382
- name: List installed packages
383383
run: mamba list
@@ -439,7 +439,7 @@ jobs:
439439
- name: Run tensor tests
440440
if: env.rerun-tests-on-failure == 'true'
441441
id: run_tests_tensor_win
442-
uses: nick-fields/retry@ce71cc2ab81d554ebbe88c79ab5975992d79ba08 # v3.0.2
442+
uses: nick-fields/retry@ad984534de44a9489a53aefd81eb77f87c70dc60 # v4.0.0
443443
with:
444444
timeout_minutes: ${{ env.rerun-tests-timeout }}
445445
max_attempts: ${{ env.rerun-tests-max-attempts }}
@@ -493,7 +493,7 @@ jobs:
493493
- name: Setup miniconda
494494
id: setup_miniconda
495495
continue-on-error: true
496-
uses: conda-incubator/setup-miniconda@fc2d68f6413eb2d87b895e92f8584b5b94a10167 # v3.3.0
496+
uses: conda-incubator/setup-miniconda@8ee1f361103df19b6f8c8655fd3967a8ecb162d5 # v4.0.1
497497
with:
498498
miniforge-version: latest
499499
use-mamba: 'true'
@@ -503,7 +503,7 @@ jobs:
503503

504504
- name: ReSetup miniconda
505505
if: steps.setup_miniconda.outcome == 'failure'
506-
uses: conda-incubator/setup-miniconda@fc2d68f6413eb2d87b895e92f8584b5b94a10167 # v3.3.0
506+
uses: conda-incubator/setup-miniconda@8ee1f361103df19b6f8c8655fd3967a8ecb162d5 # v4.0.1
507507
with:
508508
miniforge-version: latest
509509
use-mamba: 'true'
@@ -578,7 +578,7 @@ jobs:
578578
- name: Setup miniconda
579579
id: setup_miniconda
580580
continue-on-error: true
581-
uses: conda-incubator/setup-miniconda@fc2d68f6413eb2d87b895e92f8584b5b94a10167 # v3.3.0
581+
uses: conda-incubator/setup-miniconda@8ee1f361103df19b6f8c8655fd3967a8ecb162d5 # v4.0.1
582582
with:
583583
miniforge-version: latest
584584
use-mamba: 'true'
@@ -588,7 +588,7 @@ jobs:
588588

589589
- name: ReSetup miniconda
590590
if: steps.setup_miniconda.outcome == 'failure'
591-
uses: conda-incubator/setup-miniconda@fc2d68f6413eb2d87b895e92f8584b5b94a10167 # v3.3.0
591+
uses: conda-incubator/setup-miniconda@8ee1f361103df19b6f8c8655fd3967a8ecb162d5 # v4.0.1
592592
with:
593593
miniforge-version: latest
594594
use-mamba: 'true'
@@ -696,7 +696,7 @@ jobs:
696696

697697
- name: Post result to PR
698698
if: ${{ github.event.pull_request && !github.event.pull_request.head.repo.fork }}
699-
uses: mshick/add-pr-comment@64b8e914979889d746c99dea15a76e77ef64580a # v3.10.0.8.3.10.0
699+
uses: mshick/add-pr-comment@8e4927817251f1ff60c001f04568532b38e0b4a0 # v3.11.0.8.3.11.0
700700
with:
701701
message-id: array_api_results
702702
message: |
@@ -727,7 +727,7 @@ jobs:
727727
- name: Setup miniconda
728728
id: setup_miniconda
729729
continue-on-error: true
730-
uses: conda-incubator/setup-miniconda@fc2d68f6413eb2d87b895e92f8584b5b94a10167 # v3.3.0
730+
uses: conda-incubator/setup-miniconda@8ee1f361103df19b6f8c8655fd3967a8ecb162d5 # v4.0.1
731731
with:
732732
miniforge-version: latest
733733
use-mamba: 'true'
@@ -737,7 +737,7 @@ jobs:
737737

738738
- name: ReSetup miniconda
739739
if: steps.setup_miniconda.outcome == 'failure'
740-
uses: conda-incubator/setup-miniconda@fc2d68f6413eb2d87b895e92f8584b5b94a10167 # v3.3.0
740+
uses: conda-incubator/setup-miniconda@8ee1f361103df19b6f8c8655fd3967a8ecb162d5 # v4.0.1
741741
with:
742742
miniforge-version: latest
743743
use-mamba: 'true'

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ jobs:
6161
- name: Setup miniconda
6262
id: setup_miniconda
6363
continue-on-error: true
64-
uses: conda-incubator/setup-miniconda@fc2d68f6413eb2d87b895e92f8584b5b94a10167 # v3.3.0
64+
uses: conda-incubator/setup-miniconda@8ee1f361103df19b6f8c8655fd3967a8ecb162d5 # v4.0.1
6565
with:
6666
miniforge-version: latest
6767
use-mamba: 'true'
@@ -72,7 +72,7 @@ jobs:
7272

7373
- name: ReSetup miniconda
7474
if: steps.setup_miniconda.outcome == 'failure'
75-
uses: conda-incubator/setup-miniconda@fc2d68f6413eb2d87b895e92f8584b5b94a10167 # v3.3.0
75+
uses: conda-incubator/setup-miniconda@8ee1f361103df19b6f8c8655fd3967a8ecb162d5 # v4.0.1
7676
with:
7777
miniforge-version: latest
7878
use-mamba: 'true'
@@ -81,6 +81,9 @@ jobs:
8181
python-version: ${{ matrix.python }}
8282
activate-environment: ${{ env.test-env-name }}
8383

84+
- name: Install OCL CPU RT from Intel channel
85+
run: mamba install intel-opencl-rt=*=intel_* ${{ env.channels-list }}
86+
8487
- name: Install dpnp
8588
id: install_dpnp
8689
continue-on-error: true
@@ -92,9 +95,6 @@ jobs:
9295
run: |
9396
mamba install ${{ env.package-name }}=${{ steps.find_latest_tag.outputs.tag }} ${{ env.test-packages }} ${{ env.channels-list }}
9497
95-
- name: Install OCL CPU RT from Intel channel
96-
run: mamba install intel-opencl-rt=*=intel_* ${{ env.channels-list }}
97-
9898
- name: List installed packages
9999
run: mamba list
100100

.github/workflows/generate_coverage.yaml

Lines changed: 18 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -46,16 +46,18 @@ jobs:
4646
echo "deb [signed-by=/usr/share/keyrings/oneapi-archive-keyring.gpg] https://apt.repos.intel.com/oneapi all main" | sudo tee /etc/apt/sources.list.d/oneAPI.list
4747
sudo apt update
4848
49-
- name: Install latest Intel OneAPI
49+
# Pinned to OneAPI 2025.3 due to known 2026.0 DPC++ compiler issue with Segfault during the sycl-post-link
50+
# TODO: renmove once CMPLRLLVM-75178 is resolved and released
51+
- name: Install Intel OneAPI
5052
if: env.oneapi-pkgs-env == ''
5153
run: |
52-
sudo apt install hwloc \
53-
intel-oneapi-mkl \
54-
intel-oneapi-umf \
55-
intel-oneapi-mkl-devel \
56-
intel-oneapi-tbb-devel \
57-
intel-oneapi-libdpstd-devel \
58-
intel-oneapi-compiler-dpcpp-cpp
54+
sudo apt install hwloc \
55+
intel-oneapi-mkl-2025.3 \
56+
intel-oneapi-umf-1.0 \
57+
intel-oneapi-mkl-devel-2025.3 \
58+
intel-oneapi-tbb-devel-2022.3 \
59+
intel-oneapi-libdpstd-devel-2022.10 \
60+
intel-oneapi-compiler-dpcpp-cpp-2025.3
5961
6062
- name: Checkout repo
6163
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
@@ -78,7 +80,7 @@ jobs:
7880
- name: Setup miniconda
7981
id: setup_miniconda
8082
continue-on-error: true
81-
uses: conda-incubator/setup-miniconda@fc2d68f6413eb2d87b895e92f8584b5b94a10167 # v3.3.0
83+
uses: conda-incubator/setup-miniconda@8ee1f361103df19b6f8c8655fd3967a8ecb162d5 # v4.0.1
8284
with:
8385
miniforge-version: latest
8486
use-mamba: 'true'
@@ -88,7 +90,7 @@ jobs:
8890

8991
- name: ReSetup miniconda
9092
if: steps.setup_miniconda.outcome == 'failure'
91-
uses: conda-incubator/setup-miniconda@fc2d68f6413eb2d87b895e92f8584b5b94a10167 # v3.3.0
93+
uses: conda-incubator/setup-miniconda@8ee1f361103df19b6f8c8655fd3967a8ecb162d5 # v4.0.1
9294
with:
9395
miniforge-version: latest
9496
use-mamba: 'true'
@@ -107,10 +109,14 @@ jobs:
107109
# with a newer version of the DPC++ compiler).
108110
# Installing dpctl via the pip manager has no such limitation, as the package has no
109111
# run dependency on the DPC++ RT pip package, so this is why the step is necessary here.
112+
# - name: Install dpctl
113+
# if: env.oneapi-pkgs-env == ''
114+
# run: |
115+
# pip install -r ${{ env.dpctl-pkg-txt }}
116+
# TODO: renmove pinning once CMPLRLLVM-75178 is resolved and released
110117
- name: Install dpctl
111-
if: env.oneapi-pkgs-env == ''
112118
run: |
113-
pip install -r ${{ env.dpctl-pkg-txt }}
119+
pip install dpctl>=0.23.0dev0 --index-url https://pypi.anaconda.org/dppy/label/coverage/simple
114120
115121
- name: Conda info
116122
run: |

.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@95e58e9a2cdfd71adc6e0353d5c52f41a045d225 # v4.35.2
75+
uses: github/codeql-action/upload-sarif@68bde559dea0fdcac2102bfdf6230c5f70eb485e # v4.35.4
7676
with:
7777
sarif_file: results.sarif

.pre-commit-config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ repos:
6969
- id: black
7070
exclude: "dpnp/_version.py"
7171
- repo: https://github.com/pycqa/isort
72-
rev: 8.0.1
72+
rev: 9.0.0a3
7373
hooks:
7474
- id: isort
7575
name: isort (python)
@@ -89,7 +89,7 @@ repos:
8989
- flake8-docstrings==1.7.0
9090
- flake8-bugbear==24.12.12
9191
- repo: https://github.com/pre-commit/mirrors-clang-format
92-
rev: v22.1.3
92+
rev: v22.1.5
9393
hooks:
9494
- id: clang-format
9595
args: ["-i"]
@@ -128,7 +128,7 @@ repos:
128128
hooks:
129129
- id: actionlint
130130
- repo: https://github.com/BlankSpruce/gersemi-pre-commit
131-
rev: 0.27.2
131+
rev: 0.27.4
132132
hooks:
133133
- id: gersemi
134134
exclude: "dpnp/backend/cmake/Modules/"

0 commit comments

Comments
 (0)