Skip to content

Commit dd9fd8f

Browse files
authored
Update private pypi repo docs to reflect new UV variables (windmill-labs#829)
* Initial update * Replace tabs with spaces + reformat Note
1 parent f65eb7a commit dd9fd8f

File tree

1 file changed

+9
-3
lines changed
  • docs/advanced/15_dependencies_in_python

1 file changed

+9
-3
lines changed

docs/advanced/15_dependencies_in_python/index.mdx

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ def main(...):
242242

243243
### Private PyPI repository
244244

245-
Environment variables can be set to customize `pip`'s index-url and extra-index-url and certificate.
245+
Environment variables can be set to customize `uv`'s index-url and extra-index-url and certificate.
246246
This is useful for private repositories.
247247

248248
In a docker-compose file, you would add following lines:
@@ -252,9 +252,15 @@ windmill_worker:
252252
...
253253
environment:
254254
...
255-
- PIP_TRUSTED_HOST=pypi.org
256-
- PIP_INDEX_CERT=/custom-certs/root-ca.crt
255+
# Completely whitelist pypi.org
256+
- PY_TRUSTED_HOST=pypi.org
257+
# or specificy path to custom certificate
258+
- PY_INDEX_CERT=/custom-certs/root-ca.crt
257259
```
260+
:::note
261+
UV is not using system certificates by default, if you wish to use them, set `PY_NATIVE_CERT=true`
262+
:::
263+
258264

259265
"Pip index url" and "Pip extra index url" are filled through Windmill UI, in [Instance settings](../18_instance_settings/index.mdx#registries) under [Enterprise Edition](/pricing).
260266

0 commit comments

Comments
 (0)