Closed DanLipsitt closed 1 year ago
Apologies if this bug should be filed in the PDM project instead of here. The behavior differs between pdm-pep517 versions and I filed it before I knew the cause.
We have rewritten the build backend in a way that it uses validate-pyproject
as the validator. It is still in alpha stage, please have a try.
I accidentally put a
source-includes
field in the[project]
section of my pyproject.toml instead of[tool.pdm]
. For versions of pdm-pep517 prior to 0.11.2 this was fine, but 0.12.0 up to the current 0.12.3, PDM gives the error below.Would it be possible to print line number and offending line (on stdout instead of in the log) when this happens? Even better, if we know that a field is correct but in the wrong section, the error could mention that.