python-poetry / python-poetry/poetry
Support reading metadata from PEP 621 compliant pyproject.toml
Open
@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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.