Skip to content

Commit 5b6fd56

Browse files
committed
improve docs
1 parent a3452ae commit 5b6fd56

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

docs/reference.rst

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1094,7 +1094,8 @@ version of that package, eg:
10941094
another_package==5.1.2
10951095
10961096
When a specific version of a package is required, the ``==`` specifier must be used. Unpinned packages
1097-
(no version specified) are also accepted.
1097+
(no version specified) are also accepted, but the highest pinned version will always take precedence
1098+
when a package has been specified as a requirement multiple times.
10981099

10991100
Each app's or module's directory (assuming they use the directory-form of a package) can also
11001101
contain an optional ``requirements.txt`` file:
@@ -1111,9 +1112,6 @@ If a required package version differs from the installed one, no change is made
11111112
HASS has a requirement that pyscript should not change. In that case a warning message will be
11121113
logged and the requirement will be skipped.
11131114

1114-
When a package appears multiple times across all of your ``requirements.txt`` definitions, the
1115-
highest version specified will be installed.
1116-
11171115
Trigger Closures
11181116
^^^^^^^^^^^^^^^^
11191117

0 commit comments

Comments
 (0)