Skip to content

Commit 84752c5

Browse files
authored
Merge branch 'master' into onemath
2 parents c004d8b + 278cf42 commit 84752c5

File tree

4 files changed

+7
-8
lines changed

4 files changed

+7
-8
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
99
### Added
1010

1111
* Added `--target-cuda[=ARCH]` option to replace the deprecated `--target=cuda`, allowing users to build for CUDA devices with optional architecture selection using [CodePlay oneAPI plug-in](https://developer.codeplay.com/products/oneapi/nvidia/home/) [#2478](https://github.com/IntelPython/dpnp/pull/2478)
12+
* Enabled support of Python 3.13 [#2490](https://github.com/IntelPython/dpnp/pull/2490)
1213

1314
### Changed
1415

dpnp/tests/test_product.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -843,8 +843,7 @@ def test_dtype_matrix(self, dt_in1, dt_in2, dt_out, shape1, shape2):
843843
assert_raises(TypeError, dpnp.matmul, ia, ib, out=iout)
844844
assert_raises(TypeError, numpy.matmul, a, b, out=out)
845845

846-
# TODO: include numpy-2.3 when numpy-issue-29164 is resolved
847-
@testing.with_requires("numpy<2.3")
846+
@testing.with_requires("numpy!=2.3.0")
848847
@pytest.mark.parametrize("dtype", _selected_dtypes)
849848
@pytest.mark.parametrize("order1", ["C", "F", "A"])
850849
@pytest.mark.parametrize("order2", ["C", "F", "A"])
@@ -882,8 +881,7 @@ def test_order(self, dtype, order1, order2, order, shape1, shape2):
882881
assert result.flags.f_contiguous == expected.flags.f_contiguous
883882
assert_dtype_allclose(result, expected)
884883

885-
# TODO: include numpy-2.3 when numpy-issue-29164 is resolved
886-
@testing.with_requires("numpy<2.3")
884+
@testing.with_requires("numpy!=2.3.0")
887885
@pytest.mark.parametrize("dtype", _selected_dtypes)
888886
@pytest.mark.parametrize(
889887
"stride",

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,7 @@ def test_cupy_matmul(self, xp, dtype1, dtype2):
9999
)
100100
class TestMatmulOut(unittest.TestCase):
101101

102-
# TODO: include numpy-2.3 when numpy-issue-29164 is resolved
103-
@testing.with_requires("numpy<2.3")
102+
@testing.with_requires("numpy!=2.3.0")
104103
# no_int8=True is added to avoid overflow
105104
@testing.for_all_dtypes(name="dtype1", no_int8=True)
106105
@testing.for_all_dtypes(name="dtype2", no_int8=True)

pyproject.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ classifiers = [
3131
"Programming Language :: Python :: 3.10",
3232
"Programming Language :: Python :: 3.11",
3333
"Programming Language :: Python :: 3.12",
34+
"Programming Language :: Python :: 3.13",
3435
"Programming Language :: Python :: 3 :: Only",
3536
"Programming Language :: Python :: Implementation :: CPython",
3637
"Topic :: Software Development",
@@ -69,7 +70,7 @@ license = {text = "Apache 2.0"}
6970
maintainers = [{name = "Intel Corporation"}]
7071
name = "dpnp"
7172
readme = {file = "README.md", content-type = "text/markdown"}
72-
requires-python = ">=3.9,<3.13"
73+
requires-python = ">=3.9,<3.14"
7374

7475
[project.optional-dependencies]
7576
coverage = ["Cython", "pytest", "pytest-cov", "coverage", "tomli", "llvm"]
@@ -92,7 +93,7 @@ Repository = "https://github.com/IntelPython/dpnp.git"
9293

9394
[tool.black]
9495
line-length = 80
95-
target-version = ['py39', 'py310', 'py311', 'py312']
96+
target-version = ['py39', 'py310', 'py311', 'py312', 'py313']
9697

9798
[tool.codespell]
9899
builtin = "clear,rare,informal,names"

0 commit comments

Comments
 (0)