From 3c9cd59100c843e6cb69bbabc793ebd46bda3bd9 Mon Sep 17 00:00:00 2001 From: Anton Volkov Date: Thu, 3 Jul 2025 05:33:10 -0500 Subject: [PATCH 1/4] Fix license deprecation warning --- pyproject.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 486cbced9922..9f98dd250e0f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -66,7 +66,8 @@ keywords = [ "gpu", "dpcpp" ] -license = {text = "Apache 2.0"} +license = "Apache 2.0" +license-files = ["LICENSE.txt"] maintainers = [{name = "Intel Corporation"}] name = "dpnp" readme = {file = "README.md", content-type = "text/markdown"} From cef201a0a13a0cd42b3ce6200558fd32a04a2286 Mon Sep 17 00:00:00 2001 From: Anton Volkov Date: Thu, 3 Jul 2025 05:38:40 -0500 Subject: [PATCH 2/4] Add PR to the changelog --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7f34777e9b77..0c811c73ae49 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -19,6 +19,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 * `--onemkl-interfaces` and `--onemkl-interfaces-dir` options for building script are deprecated, instead `--onemath` and `--onemath-dir` are introduced to be aligned with [oneMath specification](https://oneapi-spec.uxlfoundation.org/specifications/oneapi/latest/elements/onemath/source/) [#2487](https://github.com/IntelPython/dpnp/pull/2487) * Clarified description of `xp` keyword in docstring of `dpnp.interp` [#2506](https://github.com/IntelPython/dpnp/pull/2506) * Updated existing GitHub workflows to add testing with Python 3.13 [#2510](https://github.com/IntelPython/dpnp/pull/2510) +* Aligned the license expression with `PEP-639` [#2511](https://github.com/IntelPython/dpnp/pull/2511) ### Deprecated From fcd9d4060655fefb876f3d2e0e4478435d4e11af Mon Sep 17 00:00:00 2001 From: Anton Volkov Date: Thu, 3 Jul 2025 05:49:20 -0500 Subject: [PATCH 3/4] Use valid SPDX license identifier --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 9f98dd250e0f..217b6e5f1196 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -66,7 +66,7 @@ keywords = [ "gpu", "dpcpp" ] -license = "Apache 2.0" +license = "Apache-2.0" license-files = ["LICENSE.txt"] maintainers = [{name = "Intel Corporation"}] name = "dpnp" From 6fc5730afc08603e36c8fea2157e651c1298b866 Mon Sep 17 00:00:00 2001 From: Anton <100830759+antonwolfy@users.noreply.github.com> Date: Thu, 3 Jul 2025 14:35:40 +0200 Subject: [PATCH 4/4] Update pyproject.toml Co-authored-by: Vahid Tavanashad <120411540+vtavana@users.noreply.github.com> --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 217b6e5f1196..3f3d83268779 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -66,7 +66,7 @@ keywords = [ "gpu", "dpcpp" ] -license = "Apache-2.0" +license = "BSD-2-Clause" license-files = ["LICENSE.txt"] maintainers = [{name = "Intel Corporation"}] name = "dpnp"