Skip to content

chore: Define project metadata via [project] table (PEP 621) - #607

Merged
frostming merged 2 commits into
python-poetry:masterfrom
hroncok:pep621
Sep 18, 2026
Merged

frostming merged 2 commits into
python-poetry:masterfrom
hroncok:pep621

Conversation

@hroncok

@hroncok hroncok commented Sep 18, 2026

Copy link
Copy Markdown
Contributor

Summary

This leads to a small METADATA diff:

 Name: tomlkit
 Version: 0.15.1
 Summary: Style preserving TOML library
-License: MIT
+License-Expression: MIT
 License-File: LICENSE
 Author: Sébastien Eustace
 Author-email: sebastien@eustace.io
 Requires-Python: >=3.9
-Classifier: License :: OSI Approved :: MIT License
 Classifier: Programming Language :: Python :: 3
 Classifier: Programming Language :: Python :: 3.9

The difference is only wrt. license, PEP 639.

The required poetry-core version was bumped to support this.

There is no immediate need for this change,
it's pure modernization.
My personal motivation is for me to make it easier to experiment with different build backends.

Agent Drafting Metadata

  • Agent: Claude
  • Model: Opus 5
  • Notes: I used LLM to draft this change, then I reviewed it line by line and changed whitespace slightly. I asked for build artefacts before and after the change and to note their results. I verified those differences myself.

@hroncok

hroncok commented Sep 18, 2026

Copy link
Copy Markdown
Contributor Author

The pre-commit fix is not related to my changes at all.

@hroncok
hroncok force-pushed the pep621 branch 2 times, most recently from c9a853e to e35967e Compare September 18, 2026 10:21
This leads to a small METADATA diff:

     Name: tomlkit
     Version: 0.15.1
     Summary: Style preserving TOML library
    -License: MIT
    +License-Expression: MIT
     License-File: LICENSE
     Author: Sébastien Eustace
     Author-email: sebastien@eustace.io
     Requires-Python: >=3.9
    -Classifier: License :: OSI Approved :: MIT License
     Classifier: Programming Language :: Python :: 3
     Classifier: Programming Language :: Python :: 3.9

The difference is only wrt. license, PEP 639.

The required poetry-core version was bumped to support this.

There is no immediate need for this change,
it's pure modernization.
My personal motivation is for me to make it easier
to experiment with different build backends.

I used LLM to draft this change, then I reviewed it line by line.

Assisted-By: Claude Opus 5
@frostming
frostming merged commit 8c959b5 into python-poetry:master Sep 18, 2026
25 checks passed
Comment thread pyproject.toml
@hroncok
hroncok deleted the pep621 branch September 18, 2026 17:07
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.

3 participants