Skip to content

Commit ca225d8

Browse files
authored
Merge branch 'master' into impl_lu_solve_2D
2 parents 5dda424 + 1982dac commit ca225d8

File tree

4 files changed

+13
-1
lines changed

4 files changed

+13
-1
lines changed

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

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,20 @@ on:
88
schedule:
99
- cron: '28 2 * * 6' # Saturday at 02:28 UTC
1010

11+
permissions: read-all
12+
1113
jobs:
1214
autoupdate:
1315
name: Autoupdate
1416

1517
runs-on: ubuntu-latest
1618
timeout-minutes: 10
1719

20+
permissions:
21+
# Needed to create a PR with autoupdate changes
22+
contents: write
23+
pull-requests: write
24+
1825
steps:
1926
- name: Checkout DPNP repo
2027
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
6565
* Resolved the issue in `dpnp.random` functions to allow any value of `size` where each element is castable to `Py_ssize_t` type [#2578](https://github.com/IntelPython/dpnp/pull/2578)
6666
* Resolved `conda build --test` issue in python 3.9 environment [#2583](https://github.com/IntelPython/dpnp/pull/2583)
6767
* Fixed tests for the rounding functions to depend on minimum required numpy version [#2589](https://github.com/IntelPython/dpnp/pull/2589)
68+
* Fixed tests for the ufuncs to depend on minimum required numpy version [#2590](https://github.com/IntelPython/dpnp/pull/2590)
69+
* Added missing permission definition in `Autoupdate pre-commit` GitHub workflow [#2591](https://github.com/IntelPython/dpnp/pull/2591)
6870

6971
### Security
7072

dpnp/tests/test_mathematical.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1992,6 +1992,7 @@ def test_discont(self, dt):
19921992
assert result.dtype == ia.dtype == a.dtype
19931993

19941994

1995+
@testing.with_requires("numpy>=2.1.0")
19951996
@pytest.mark.usefixtures("suppress_divide_invalid_numpy_warnings")
19961997
@pytest.mark.parametrize("val_type", [bool, int, float])
19971998
@pytest.mark.parametrize("dtype", get_all_dtypes(no_none=True))

dpnp/tests/third_party/cupy/math_tests/test_arithmetic.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -367,6 +367,7 @@ def check_binary(self, xp):
367367
return y
368368

369369

370+
@testing.with_requires("numpy>=2.1.0")
370371
@testing.parameterize(
371372
*(
372373
testing.product(
@@ -409,6 +410,7 @@ def test_binary(self):
409410
self.check_binary()
410411

411412

413+
@testing.with_requires("numpy>=2.1.0")
412414
@testing.parameterize(
413415
*(
414416
testing.product(
@@ -487,7 +489,7 @@ def test_binary(self):
487489
self.check_binary()
488490

489491

490-
@testing.with_requires("numpy>=2.0")
492+
@testing.with_requires("numpy>=2.1.0")
491493
class TestArithmeticBinary3(ArithmeticBinaryBase):
492494

493495
@pytest.mark.parametrize(

0 commit comments

Comments
 (0)