Skip to content

Add warning for deprecated project.license as TOML table (PEP 639-related)#4840

Merged
abravalheri merged 3 commits into
pypa:feature/pep639from
abravalheri:pep639-warnings
Feb 18, 2025
Merged

Add warning for deprecated project.license as TOML table (PEP 639-related)#4840
abravalheri merged 3 commits into
pypa:feature/pep639from
abravalheri:pep639-warnings

Conversation

@abravalheri

Copy link
Copy Markdown
Contributor

Summary of changes

Alongside with #4838, the objective of this PR is to introduce more deprecation warnings and prepare for an eventual feature removal in the spirit of PEP 639.

I am assuming that if a project is using pyproject.toml with setuptools it is relatively new and the maintainers are likely to be around.

Also the best is to introduce the warning as soon as possible, so that the clock starts ticking for the removal.

/cc @cdce8p

Pull Request Checklist

@abravalheri abravalheri mentioned this pull request Feb 18, 2025
6 tasks
@abravalheri abravalheri marked this pull request as ready for review February 18, 2025 18:58

@cdce8p cdce8p left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM!

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