Commit 129ed0e1 by Thomas Gaudin Committed by Arun Babu Neelicattu

Move multiple constraints note in dependency-specification.md

I think the "Expanded dependency specification syntax" paragraph added in
commit c94c34c8 was inserted in the wrong place
and cut the note from its corresponding block.
parent 7360b09e
...@@ -185,6 +185,11 @@ foo = [ ...@@ -185,6 +185,11 @@ foo = [
] ]
``` ```
!!!note
The constraints **must** have different requirements (like `python`)
otherwise it will cause an error when resolving dependencies.
## Expanded dependency specification syntax ## Expanded dependency specification syntax
In the case of more complex dependency specifications, you may find that you In the case of more complex dependency specifications, you may find that you
...@@ -212,8 +217,3 @@ markers = "platform_python_implementation == 'CPython'" ...@@ -212,8 +217,3 @@ markers = "platform_python_implementation == 'CPython'"
All of the same information is still present, and ends up providing the exact All of the same information is still present, and ends up providing the exact
same specification. It's simply split into multiple, slightly more readable, same specification. It's simply split into multiple, slightly more readable,
lines. lines.
!!!note
The constraints **must** have different requirements (like `python`)
otherwise it will cause an error when resolving dependencies.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment