Skip to content

Commit 288db60

Browse files
felixgwilliamsabn
authored andcommitted
Update docs/pyproject.md
Co-authored-by: Arun Babu Neelicattu <[email protected]>
1 parent 94065d0 commit 288db60

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docs/pyproject.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -708,6 +708,7 @@ python = "^3.7"
708708

709709
{{% note %}}
710710
If you specify the compatible python versions in both `tool.poetry.dependencies` and in `project.requires-python`, then Poetry will use the information in `tool.poetry.dependencies` for locking, but the python versions must be a subset of those allowed by `project.requires-python`.
711+
711712
For example, the following is invalid and will result in an error, because versions `4.0` and greater are allowed by `tool.poetry.dependencies`, but not by `project.requires-python`.
712713

713714
```toml

0 commit comments

Comments
 (0)