Skip to content

Update license information in pyproject.toml - #496

Open
aytekinar wants to merge 2 commits into
openai:mainfrom
aytekinar:patch-1
Open

Update license information in pyproject.toml#496
aytekinar wants to merge 2 commits into
openai:mainfrom
aytekinar:patch-1

Conversation

@aytekinar

@aytekinar aytekinar commented Feb 11, 2026

Copy link
Copy Markdown

Make the licensing of the project PEP 639 compatible.

See the user guide, respective PEP, and the support in setuptools.

Closes #125.
Fixes #362.

Make the licensing of the project PEP 639 compatible.
@dmholtz

dmholtz commented Aug 19, 2026

Copy link
Copy Markdown

+1 for this change. This resolves deprecation warnings with modern versions of setuptools

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

@sylvesterkaczmarek sylvesterkaczmarek left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

One compatibility bit looks missing here. The new PEP 639 license / license-files form needs Setuptools 77+, but build-system.requires still allows setuptools>=62.4. So an otherwise allowed older build backend can reject this pyproject.toml. I think the Setuptools floor should move to 77+ with this change.

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.

The license file is not well referenced

4 participants