You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/advanced/15_dependencies_in_python/index.mdx
+9-3Lines changed: 9 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -242,7 +242,7 @@ def main(...):
242
242
243
243
### Private PyPI repository
244
244
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.
246
246
This is useful for private repositories.
247
247
248
248
In a docker-compose file, you would add following lines:
@@ -252,9 +252,15 @@ windmill_worker:
252
252
...
253
253
environment:
254
254
...
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
257
259
```
260
+
:::note
261
+
UV is not using system certificates by default, if you wish to use them, set `PY_NATIVE_CERT=true`
262
+
:::
263
+
258
264
259
265
"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).
0 commit comments