version
field not required in [project]
table when package-mode = false
#10032
Labels
version
field not required in [project]
table when package-mode = false
#10032
Description
This
pyproject.toml
file is allowed by Poetry 2.0.1:But should be disallowed according to PEP 621
According to the spec:
Since the
name
field is being required by Poetry, theversion
field should also be required to exist duringcheck
,lock
,sync
, etc.Workarounds
Manually verify you have added the
version
field to be compliant.Poetry Installation Method
pipx
Operating System
Windows 10
Poetry Version
Poetry (version 2.0.1)
Poetry Configuration
Python Sysconfig
sysconfig.log
Poetry Runtime Logs
The text was updated successfully, but these errors were encountered: