Use the [project] section in pyproject.toml according to PEP-621 and PEP-631
See original GitHub issue- I have searched the issues of this repo and believe that this is not a duplicate.
- I have searched the documentation and believe that my question is not covered.
Feature Request
PEP621 (Storing project metadata in pyproject.toml) and PEP631 (Dependency specification in pyproject.toml based on PEP 508) define a clear way how metadata and dependencies should be stored. Both of them have the status “accepted”. It would be good if poetry would use that.
For example, I’ve noticed that poetry init
generates a pretty similar pyproject.toml
, but puts the metadata in a poetry-specific section.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:97
- Comments:43 (9 by maintainers)
Top Results From Across the Web
PEP 621 – Storing project metadata in pyproject.toml
Abstract. This PEP specifies how to write a project's core metadata in a pyproject.toml file for packaging-related tools to consume.
Read more >PEP 621 Metadata - PDM
The project metadata are stored in the pyproject.toml . The specifications are defined by PEP 621, PEP 631 and PEP 639. Read the...
Read more >The pyproject.toml config file
Build system section . This tells tools like pip to build your project with flit. It's a standard defined by PEP 517. For...
Read more >Packaging in Python: Tools and Formats | by Martin Thoma
I hope that they will also implement PEP 621 and PEP 631 which gives metadata and dependencies an official place under the [project]...
Read more >Simple Python packaging
Classic files; Selecting a backend; pyproject.toml: build-system; pyproject.toml: project; Package structure; Versioning; Including/excluding files in the ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Just FYI, Setuptools has added experimental support in pypa/setuptools#1688 and publicly announced it.
AFAIK, this will leave Poetry as the only major modern build backend lacking support for the standard.
Status of PEP 621 is now: Final.