Skip to content

Commit 1eb62dd

Browse files
authored
Merge pull request #1944 from pradyunsg/allow-presenting-errors-on-missing-metadata
Allow errors for missing `[build-system]` table with no metadata
2 parents 03992e3 + a8d0421 commit 1eb62dd

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

source/specifications/pyproject-toml.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,10 @@ table then the default values as specified above should be used.
6161
If the table is specified but is missing required fields then the tool
6262
should consider it an error.
6363

64+
Tools may choose to present an error to the user if the file exists,
65+
``[build-system]`` table is missing, and there is no clear indication
66+
that the project should be built (e.g., no setup.py/setup.cfg or other
67+
build configuration files, and no ``[project]`` table).
6468

6569
To provide a type-specific representation of the resulting data from
6670
the TOML file for illustrative purposes only, the following

0 commit comments

Comments
 (0)