Skip to content

Commit ebc4fb6

Browse files
committed
add a note about uv and overrides
1 parent 7026568 commit ebc4fb6

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,10 @@ It is possible to add as many overrides as needed.
120120
When writing the *constraints-out*, the new version will be taken into account.
121121
If there is a source section defined for the same package, the source will be used and entries here are ignored.
122122

123+
Note: When using [uv](https://pypi.org/project/uv/) pip install the version overrides here are not needed, since it [supports overrides nativly](https://github.com/astral-sh/uv?tab=readme-ov-file#dependency-overrides).
124+
With uv it is recommended to create an `overrides.txt` file with the version overrides and use `uv pip install --overrides overrides.txt [..]` to install the packages.
125+
126+
123127
#### `ignores`
124128

125129
Ignore packages that are already defined in a dependent constraints file.

0 commit comments

Comments
 (0)