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 |
From: Bartosz Golaszewski <bartosz.golaszewski@linaro.org> On Thu, 24 Apr 2025 15:06:26 +0200, Bartosz Golaszewski wrote: > 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. > > [...] Applied, thanks! [1/2] bindings: python: add missing newline to pyproject.toml commit: d0c8c18ae803b75428e96f2d2b0c5860c49dba8a [2/2] bindings: python: make licensing information conform with PEP 639 commit: d9b156ecc2ecdec78f7a9d563df795ea09e70da9 Best regards,
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,