mbox series

[libgpiod,0/2] bindings: python: make license information in pyproject.toml conform with PEP 639

Message ID 20250424-pyproject-toml-pep-639-v1-0-8150d3d807b1@linaro.org
Headers show
Series bindings: python: make license information in pyproject.toml conform with PEP 639 | expand

Message

Bartosz Golaszewski April 24, 2025, 1:06 p.m. UTC
setuptools v77 print the following warning when building libgpiod python
bindings:

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

Update pyproject.toml to make it conformant with PEP 639.

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
---
Bartosz Golaszewski (2):
      bindings: python: add missing newline to pyproject.toml
      bindings: python: make licensing information conform with PEP 639

 bindings/python/pyproject.toml | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
---
base-commit: 41231df28c9aecacaaae9e6493d31161023733d6
change-id: 20250424-pyproject-toml-pep-639-6ec84f8fd192

Best regards,