We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
name
version
[project]
1 parent 88b2bab commit 1e1e272Copy full SHA for 1e1e272
docs/pyproject.md
@@ -14,7 +14,8 @@ menu:
14
In package mode, the only required fields are `name` and `version`
15
(either in the `project` section or in the `tool.poetry` section).
16
Other fields are optional.
17
-In non-package mode, all fields are optional.
+In non-package mode, the `name` and `version` fields are required
18
+if using the `project` section.
19
20
{{% note %}}
21
Run `poetry check` to print warnings about deprecated fields.
@@ -39,7 +40,7 @@ name = "my-package"
39
40
41
### version
42
-The version of the package. **Required in package mode**
43
+The version of the package. **Always required when the `project` section is specified**
44
45
This should be a valid [PEP 440](https://peps.python.org/pep-0440/) string.
46
0 commit comments