Skip to content

Commit ce58ea2

Browse files
authored
Merge branch 'master' into fix-interp-nan-at-knots
2 parents 8573ee7 + 8a9b1a3 commit ce58ea2

28 files changed

Lines changed: 263 additions & 312 deletions

.github/dependabot.yml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,42 @@ updates:
66
interval: "weekly"
77
day: "saturday"
88
rebase-strategy: "disabled"
9+
labels: ["autoupdate"]
10+
groups:
11+
github-actions:
12+
patterns: ["*"]
13+
14+
# Note: only "==" pins are bumped; ">=" floors and dev pre-releases are not
15+
- package-ecosystem: "pip"
16+
directory: "/environments"
17+
schedule:
18+
interval: "weekly"
19+
day: "saturday"
20+
rebase-strategy: "disabled"
21+
labels: ["autoupdate"]
22+
groups:
23+
pip:
24+
patterns: ["*"]
25+
26+
# Handles plain conda-forge "pkg=X.Y.Z" pins and pip: sections
27+
- package-ecosystem: "conda"
28+
directory: "/environments"
29+
schedule:
30+
interval: "weekly"
31+
day: "saturday"
32+
rebase-strategy: "disabled"
33+
labels: ["autoupdate"]
34+
groups:
35+
conda:
36+
patterns: ["*"]
37+
38+
- package-ecosystem: "pre-commit"
39+
directory: "/"
40+
schedule:
41+
interval: "weekly"
42+
day: "saturday"
43+
rebase-strategy: "disabled"
44+
labels: ["autoupdate"]
45+
groups:
46+
pre-commit:
47+
patterns: ["*"]

.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@8aad20d150bbac5944a9f9d289da16a4b0d87c1e # v4.36.2
75+
uses: github/codeql-action/upload-sarif@99df26d4f13ea111d4ec1a7dddef6063f76b97e9 # v4.37.0
7676
with:
7777
sarif_file: results.sarif

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

Lines changed: 0 additions & 50 deletions
This file was deleted.

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,14 +87,14 @@ repos:
8787
args: ["--config=.flake8"]
8888
additional_dependencies:
8989
- flake8-docstrings==1.7.0
90-
- flake8-bugbear==24.12.12
90+
- flake8-bugbear==25.11.29
9191
- repo: https://github.com/pre-commit/mirrors-clang-format
9292
rev: v22.1.5
9393
hooks:
9494
- id: clang-format
9595
args: ["-i"]
9696
- repo: https://github.com/gitleaks/gitleaks
97-
rev: v8.30.0
97+
rev: v8.30.1
9898
hooks:
9999
- id: gitleaks
100100
- repo: https://github.com/jumanjihouse/pre-commit-hooks

CHANGELOG.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@ This release is compatible with NumPy 2.5.
3232
* Improved performance of `dpnp.fft` functions for complex strided input by avoiding oversized allocations and extra copies [#2939](https://github.com/IntelPython/dpnp/pull/2939)
3333
* Refreshed `dpnp` documentation styling with the Furo theme [#2934](https://github.com/IntelPython/dpnp/pull/2934)
3434
* Updated Python Array API specification version supported to `2025.12` [#2899](https://github.com/IntelPython/dpnp/pull/2899)
35+
* Replaced references to the `dpnp.amax`/`dpnp.amin` aliases with the canonical `dpnp.max`/`dpnp.min` in docstrings and code internally [#2990](https://github.com/IntelPython/dpnp/pull/2990)
36+
* Aligned the signature of `dpnp.tensor.expand_dims` with the Python array API by making `axis` a required argument [#2988](https://github.com/IntelPython/dpnp/pull/2988)
37+
* Removed dead code branches guarded by outdated oneMKL and DPC++ compiler version checks [#2999](https://github.com/IntelPython/dpnp/pull/2999)
3538

3639
### Deprecated
3740

@@ -41,6 +44,7 @@ This release is compatible with NumPy 2.5.
4144

4245
* Removed support for arrays of 2-dimensional vectors in `dpnp.cross`, which now requires (arrays of) 3-dimensional vectors and raises `ValueError` otherwise [#2950](https://github.com/IntelPython/dpnp/pull/2950)
4346
* Removed `dpnp.row_stack` in favor of `dpnp.vstack` [#2956](https://github.com/IntelPython/dpnp/pull/2956)
47+
* Removed all references to the unimplemented `dpnp.ndarray.resize` method from the documentation [#2989](https://github.com/IntelPython/dpnp/pull/2989)
4448

4549
### Fixed
4650

@@ -59,8 +63,11 @@ This release is compatible with NumPy 2.5.
5963
* Fixed `dpnp.mgrid` and `dpnp.ogrid` to return consistent results between single-slice and tuple-of-slices syntax when the step is a complex number with a non-integer magnitude (e.g. `2.5j`) [#2971](https://github.com/IntelPython/dpnp/pull/2971)
6064
* Fixed `icx`/`icpx` warning during `conda build` by stripping the GCC-only `-fno-merge-constants` flag injected by conda-forge into `CFLAGS`/`CXXFLAGS` [#2978](https://github.com/IntelPython/dpnp/pull/2978)
6165
* Fixed `dpnp.asnumpy` and `dpnp.ndarray.asnumpy` ignoring the `order` keyword, which caused a non-contiguous source array to be returned with a non-contiguous layout even when `order="C"` was requested [#2980](https://github.com/IntelPython/dpnp/pull/2980)
66+
* Fixed a flood of deprecation warnings from the DPC++/SYCL headers when building `dpnp.tensor` on Windows [#2984](https://github.com/IntelPython/dpnp/pull/2984)
6267
* Fixed `dpnp.tensor.acosh` and `dpnp.tensor.acos` returning infinity for complex numbers with large negative real parts [#2928](https://github.com/IntelPython/dpnp/pull/2928)
63-
* Fixed `dpnp.interp` returning `nan` when querying at an exact knot point whose adjacent `fp` value is `inf` [#2985](https://github.com/IntelPython/dpnp/pull/2985)
68+
* Fixed `__array_namespace_info__().devices()` and `.default_device()` to return Python array API compatible device objects [#2979](https://github.com/IntelPython/dpnp/pull/2979)
69+
* Fixed `dpnp.interp` with an empty input array `x` to return an empty array with the correct dtype [#2985](https://github.com/IntelPython/dpnp/pull/2985)
70+
* Fixed `dpnp.interp` returning `nan` when querying at an exact knot point whose adjacent `fp` value is `inf` [#2986](https://github.com/IntelPython/dpnp/pull/2986)
6471

6572
### Security
6673

doc/reference/ndarray.rst

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -168,15 +168,14 @@ Array conversion
168168
Shape manipulation
169169
------------------
170170

171-
For reshape, resize, and transpose, the single tuple argument may be
172-
replaced with ``n`` integers which will be interpreted as an n-tuple.
171+
For reshape and transpose, the single tuple argument may be replaced with ``n``
172+
integers which will be interpreted as an n-tuple.
173173

174174
.. autosummary::
175175
:toctree: generated/
176176
:nosignatures:
177177

178178
ndarray.reshape
179-
ndarray.resize
180179
ndarray.transpose
181180
ndarray.swapaxes
182181
ndarray.flatten

0 commit comments

Comments
 (0)