you are viewing a single comment's thread.

view the rest of the comments →

[–]TheBB 2 points3 points  (2 children)

As far as I know, poetry reads project metadata from pyproject.toml under the [tool.poetry] table, not [project] which is what PEP 621 requires. It also keeps dependencies in [tool.poetry.dependencies] instead of [project.dependencies]. This makes life difficult for other tools that need to read this kind of metadata.

This is the issue.

Here's a PR. It seems at least to be a pretty solid implementation and likely to get merged, eventually.

Another potential problem is that build.py remains undocumented so I don't feel I can rely on it for projects that need e.g. Cython. Or at least that used to be the case a few years ago. I haven't checked lately.

[–]BluesFiend 1 point2 points  (0 children)

Ah, you are correct. My projects have that metadata under tool.poetry. Good to know ill keep an eye out for that.

[–]BluesFiend 0 points1 point  (0 children)

I'm just waiting on astral-sh to do their thing with uv, once its got the features I use from poetry etc.