Skip to content

Fix license deprecation warning #2511

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Jul 3, 2025

Conversation

antonwolfy
Copy link
Contributor

@antonwolfy antonwolfy commented Jul 3, 2025

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).

  • Have you provided a meaningful PR description?
  • Have you added a test, reproducer or referred to an issue with a reproducer?
  • Have you tested your changes locally for CPU and GPU devices?
  • Have you made sure that new changes do not introduce compiler warnings?
  • Have you checked performance impact of proposed changes?
  • Have you added documentation for your changes, if necessary?
  • Have you added your changes to the changelog?

Copy link
Contributor

github-actions bot commented Jul 3, 2025

View rendered docs @ https://intelpython.github.io/dpnp/index.html

Copy link
Contributor

github-actions bot commented Jul 3, 2025

Array API standard conformance tests for dpnp=0.19.0dev0=py313h509198e_35 ran successfully.
Passed: 1227
Failed: 0
Skipped: 9

@coveralls
Copy link
Collaborator

coveralls commented Jul 3, 2025

Coverage Status

coverage: 72.052%. remained the same
when pulling 6fc5730 on deprecated-table-based-license-key
into bc5dd4f on master.

Co-authored-by: Vahid Tavanashad <[email protected]>
@antonwolfy antonwolfy merged commit cc1b898 into master Jul 3, 2025
95 of 98 checks passed
@antonwolfy antonwolfy deleted the deprecated-table-based-license-key branch July 3, 2025 14:33
github-actions bot added a commit that referenced this pull request Jul 3, 2025
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)). cc1b898
vtavana pushed a commit that referenced this pull request Jul 3, 2025
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)).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants