question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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:open
  • Created 3 years ago
  • Reactions:97
  • Comments:43 (9 by maintainers)

github_iconTop GitHub Comments

35reactions
CAM-Gerlachcommented, Mar 3, 2022

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.

31reactions
yoursvivekcommented, Mar 6, 2021

Status of PEP 621 is now: Final.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found