Skip to content

Conversation

@kurtmckee
Copy link
Contributor

When building pyjwt, a number of warnings are thrown:

SetuptoolsDeprecationWarning: License classifiers are deprecated.

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

License :: OSI Approved :: MIT License

See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
********************************************************************************
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.
********************************************************************************

These warnings are addressed in the obvious ways,
and the build system (setuptools) now requires 77.0.3 or higher
to ensure base compatibility with the changes.

When building pyjwt, a number of warnings are thrown:

```
SetuptoolsDeprecationWarning: License classifiers are deprecated.

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

License :: OSI Approved :: MIT License

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

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

These warnings are addressed in the obvious ways,
and the build system (`setuptools`) now requires 77.0.3 or higher
to ensure base compatibility with the changes.
@auvipy auvipy merged commit e228ec0 into jpadilla:master Oct 22, 2025
23 checks passed
@kurtmckee kurtmckee deleted the fix-builds branch October 22, 2025 15:41
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.

2 participants