Skip to content

Commit

Permalink
docs(pip-compile): Add note re proper usage of index-url (#29421)
Browse files Browse the repository at this point in the history
  • Loading branch information
craigds committed Jun 5, 2024
1 parent 203c3c5 commit da580ad
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/usage/getting-started/private-packages.md
Original file line number Diff line number Diff line change
Expand Up @@ -466,6 +466,9 @@ name = "pypi"
The pip-compile manager extracts `--index-url` and `--extra-index-url` directives from its input file.
Renovate will match those URLs with credentials from matching `hostRules` blocks in its configuration and pass them to `pip-compile` via environment variables.

> [!NOTE]
> Placing the `--[extra-]index-url` in the lockfile is not supported; it must go in the `.in` file for it to be used by pip-compile during renovate jobs.
```title="requirements.in"
--extra-index-url https://pypi.my.domain/simple
Expand Down

0 comments on commit da580ad

Please sign in to comment.