Skip to content

Commit 53c2ad9

Browse files
authored
Merge branch 'maintenance/0.19.x' into backport-gh-2646
2 parents b47c014 + c171ad8 commit 53c2ad9

File tree

4 files changed

+16
-3
lines changed

4 files changed

+16
-3
lines changed

.github/workflows/check-onemath.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ jobs:
100100
miniforge-version: latest
101101
use-mamba: 'true'
102102
conda-remove-defaults: 'true'
103+
python-version: ${{ matrix.python }}
103104
environment-file: ${{ env.environment-file }}
104105
activate-environment: ${{ env.test-env-name }}
105106

@@ -110,6 +111,7 @@ jobs:
110111
miniforge-version: latest
111112
use-mamba: 'true'
112113
conda-remove-defaults: 'true'
114+
python-version: ${{ matrix.python }}
113115
environment-file: ${{ env.environment-file }}
114116
activate-environment: ${{ env.test-env-name }}
115117

@@ -204,6 +206,7 @@ jobs:
204206
miniforge-version: latest
205207
use-mamba: 'true'
206208
conda-remove-defaults: 'true'
209+
python-version: ${{ matrix.python }}
207210
environment-file: ${{ env.environment-file }}
208211
activate-environment: ${{ env.test-env-name }}
209212

@@ -214,6 +217,7 @@ jobs:
214217
miniforge-version: latest
215218
use-mamba: 'true'
216219
conda-remove-defaults: 'true'
220+
python-version: ${{ matrix.python }}
217221
environment-file: ${{ env.environment-file }}
218222
activate-environment: ${{ env.test-env-name }}
219223

.github/workflows/conda-package.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,13 +93,13 @@ jobs:
9393
continue-on-error: true
9494
run: conda build --no-test --python ${{ matrix.python }} --numpy 2.0 ${{ env.channels-list }} conda-recipe
9595
env:
96-
MAX_BUILD_CMPL_MKL_VERSION: '2025.3a0'
96+
MAX_BUILD_CMPL_MKL_VERSION: '2026.0a0'
9797

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

104104
- name: Upload artifact
105105
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
@@ -139,6 +139,11 @@ jobs:
139139
ver-json-path: '${{ github.workspace }}/version.json'
140140

141141
steps:
142+
- name: Set Swap Space
143+
uses: pierotofy/set-swap-space@49819abfb41bd9b44fb781159c033dba90353a7c # v1.0
144+
with:
145+
swap-size-gb: 8
146+
142147
- name: Checkout DPNP repo
143148
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
144149
with:

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@ This release achieves `dpnp` compatibility with Python 3.14 and enables distribu
1212

1313
* Enabled support of Python 3.14 [#2631](https://github.com/IntelPython/dpnp/pull/2631)
1414

15+
### Fixed
16+
17+
* Updated tests for erf functions to pass with `scipy>=0.16.0` per each integer dtype [#2669](https://github.com/IntelPython/dpnp/pull/2669)
18+
1519

1620
## [0.19.0] - 2025-10-06
1721

dpnp/tests/test_special.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ def test_basic(self, func, dt):
2929
expected = getattr(scipy.special, func)(a)
3030

3131
# scipy >= 0.16.0 returns float64, but dpnp returns float32
32-
to_float32 = dt in (dpnp.bool, dpnp.float16)
32+
to_float32 = dpnp.result_type(dt, dpnp.float32) == dpnp.float32
3333
only_type_kind = installed("scipy>=0.16.0") and to_float32
3434
assert_dtype_allclose(
3535
result, expected, check_only_type_kind=only_type_kind

0 commit comments

Comments
 (0)