Skip to content

Commit

Permalink
add a note about uv and overrides
Browse files Browse the repository at this point in the history
  • Loading branch information
jensens committed May 14, 2024
1 parent 7026568 commit ebc4fb6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,10 @@ It is possible to add as many overrides as needed.
When writing the *constraints-out*, the new version will be taken into account.
If there is a source section defined for the same package, the source will be used and entries here are ignored.

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).
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.


#### `ignores`

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

0 comments on commit ebc4fb6

Please sign in to comment.