python-poetry / python-poetry/poetry

Support reading metadata from PEP 621 compliant pyproject.toml

Open
#7,669 8 comments 0 reactions 1 assignee View on GitHub

@Secrus is already working on this.

Since Sep 25, 2024.

kind/bug status/triage
Dominant language
Python
Stars
34.3k
Forks
2.5k
Avg merge
2d 19h
Merged PRs (30d)
30

Description

Flit-core uses a dependencies block to determine requirements.

https://flit.pypa.io/en/stable/pyproject_toml.html?highlight=dependencies#dependencies

But if you look at utils/setup_reader.py -> read_setup_cfg() it only checks for "python_requires", "install_requires...etc"

Could we add support for other backends?

Also it looks like it's only able to get the requirements from setup.py or setup.cfg, why doesn't it read pyproject.toml?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.