Skip to content

Commit cc1b898

Browse files
authored
Fix license deprecation warning (#2511)
Table-based license keys of the form `license = {text = "<license-string>"}` are deprecated since `setuptools >= 77.0.0` and produces warning: > SetuptoolsDeprecationWarning: `project.license` as a TOML table is deprecated This PR aligns with new format of license expression ([PEP 639](https://peps.python.org/pep-0639/#add-license-expression-field)).
1 parent bc5dd4f commit cc1b898

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1919
* `--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)
2020
* Clarified description of `xp` keyword in docstring of `dpnp.interp` [#2506](https://github.com/IntelPython/dpnp/pull/2506)
2121
* Updated existing GitHub workflows to add testing with Python 3.13 [#2510](https://github.com/IntelPython/dpnp/pull/2510)
22+
* Aligned the license expression with `PEP-639` [#2511](https://github.com/IntelPython/dpnp/pull/2511)
2223

2324
### Deprecated
2425

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,8 @@ keywords = [
6666
"gpu",
6767
"dpcpp"
6868
]
69-
license = {text = "Apache 2.0"}
69+
license = "BSD-2-Clause"
70+
license-files = ["LICENSE.txt"]
7071
maintainers = [{name = "Intel Corporation"}]
7172
name = "dpnp"
7273
readme = {file = "README.md", content-type = "text/markdown"}

0 commit comments

Comments
 (0)