Migrate Python guidelines from Poetry to uv

This commit is contained in:
2026-10-13 17:58:03 +02:00
parent 355a63fc43
commit 4689cd45bc
7 changed files with 75 additions and 47 deletions
+3 -3
View File
@@ -40,8 +40,8 @@ Set these as **user** variables on Windows:
| Variable | Used by | Value |
|----------|---------|-------|
| `NODE_EXTRA_CA_CERTS` | Node.js, npm, Electron, VS Code extensions | `C:\certs\ZscalerRootCertificate-2048-SHA256.crt` |
| `REQUESTS_CA_BUNDLE` | Python `requests`, Poetry, pip | same path |
| `SSL_CERT_FILE` | OpenSSL, Python `ssl` / `httpx` / `aiohttp` | same path |
| `REQUESTS_CA_BUNDLE` | Python `requests`, pip | same path |
| `SSL_CERT_FILE` | OpenSSL, Python `ssl` / `httpx` / `aiohttp`, uv | same path |
| `CURL_CA_BUNDLE` | curl | same path |
| `CARGO_HTTP_CAINFO` | cargo, crates.io | same path |
@@ -66,7 +66,7 @@ remote, not just the ones behind Zscaler.
curl -sSI https://pypi.org | head -1
git ls-remote https://github.com/git/git HEAD
node -e "require('https').get('https://registry.npmjs.org', r => console.log(r.statusCode))"
poetry run python -c "import requests; print(requests.get('https://pypi.org', timeout=10).status_code)"
uv run python -c "import requests; print(requests.get('https://pypi.org', timeout=10).status_code)"
```
All four must succeed without a certificate error.