Skip to content

Use valid SPDX license in pyproject#3804

Merged
mitchdz merged 9 commits intomainfrom
mitch/spdx-string
Feb 17, 2026
Merged

Use valid SPDX license in pyproject#3804
mitchdz merged 9 commits intomainfrom
mitch/spdx-string

Conversation

@mitchdz
Copy link
Collaborator

@mitchdz mitchdz commented Jan 27, 2026

Fixes #3073

A notice is seen in our publishing pipeline:

  /tmp/pip-build-env-bvgfs9gp/overlay/lib/python3.10/site-packages/setuptools/config/_apply_pyprojecttoml.py:82: SetuptoolsDeprecationWarning: `project.license` as a TOML table is deprecated
  !!

          ********************************************************************************
          Please use a simple string containing a SPDX expression for `project.license`. You can also use `project.license-files`. (Both options available on setuptools>=77.0.0).

          By 2026-Feb-18, you need to update your project and remove deprecated calls
          or your builds will no longer be supported.

          See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
          ********************************************************************************

  !!
    corresp(dist, value, root_dir)

This fixes that.

Signed-off-by: Mitchell <mitch_dz@hotmail.com>
Signed-off-by: Mitchell <mitch_dz@hotmail.com>
Signed-off-by: Mitchell <mitch_dz@hotmail.com>
Signed-off-by: Mitchell <mitch_dz@hotmail.com>
github-actions bot pushed a commit that referenced this pull request Jan 27, 2026
@github-actions
Copy link

CUDA Quantum Docs Bot: A preview of the documentation can be found here.

@github-actions
Copy link

CUDA Quantum Docs Bot: A preview of the documentation can be found here.

Signed-off-by: Mitchell <mitch_dz@hotmail.com>
Signed-off-by: Mitchell <mitch_dz@hotmail.com>
github-actions bot pushed a commit that referenced this pull request Feb 13, 2026
@github-actions
Copy link

CUDA Quantum Docs Bot: A preview of the documentation can be found here.

github-actions bot pushed a commit that referenced this pull request Feb 14, 2026
@github-actions
Copy link

CUDA Quantum Docs Bot: A preview of the documentation can be found here.

Copy link
Collaborator

@1tnguyen 1tnguyen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@mitchdz mitchdz closed this Feb 17, 2026
github-actions bot pushed a commit that referenced this pull request Feb 17, 2026
@bettinaheim bettinaheim added the maintenance Work items to update and improve the code base label Mar 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

maintenance Work items to update and improve the code base

Projects

None yet

Development

Successfully merging this pull request may close these issues.

pyproject.toml license needs to be a valid SPDX license expression

3 participants