UCL / UCL/TLOmodel

Update project license configuration in `pyproject`

Open
#1,644 0 comments 0 reactions 1 assignee View on GitHub

@tamuri is already working on this.

Since Jul 7, 2025.

warning
Dominant language
Python
Stars
35
Forks
17
PR merge metrics
No merged PRs in 30d

Description

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

Warning presented in tox -e check:

/private/var/folders/5j/xnd974x90nv26p17z3b28rdr0000gn/T/build-env-cjl4bc7m/lib/python3.11/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)
/private/var/folders/5j/xnd974x90nv26p17z3b28rdr0000gn/T/build-env-cjl4bc7m/lib/python3.11/site-packages/setuptools/config/_apply_pyprojecttoml.py:61: SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!

        ********************************************************************************
        Please consider removing the following classifiers in favor of a SPDX license expression:

        License :: MIT

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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.