acoustic-carpenter-78188
07/20/2026, 4:44 PMmain (or any fresh pip install) currently fails all ConnectRPC/HTTPS calls with:
invalid peer certificate: UnknownIssuer
Root cause: pyqwest 0.7.0 was published 2026-07-19 and flipped tls_include_system_certs to default False. A client built with tls_ca_cert=None (the default secure path in _session.py) now gets an empty trust store and rejects every peer — including public CAs.
Nothing pins pyqwest: it's pulled transitively through connectrpc, which only requires pyqwest>=0.5.1 (uncapped). So fresh installs float onto 0.7.0 and break. Existing environments that resolved 0.6.2 (published 2026-06-15) still work because ≤0.6.2 trusts the system store by default.
Note:Fix Pin-based installs onuvare shielded bymain+uv.lock, so this bites[tool.uv] exclude-newer-style transitive resolution specifically.pip
pyqwest as a direct dependency (justified — _session.py does import pyqwest) and cap it below the breaking release:
"pyqwest>=0.5.1,<0.7.0",
uv.lock pyqwest pin bumped 0.5.1 → 0.6.2 (latest known-good).
Verification
• uv lock --check under CI-pinned uv 0.9.21 → passes
• uv run --frozen resolves pyqwest 0.6.2
• tests/flyte/remote/test_session.py → 28 passed
Follow-up
This is the interim unblock. A separate PR will bump pyqwest past 0.7.0 with the necessary TLS trust fix (restoring both public and enterprise/OS CA-root trust).
flyteorg/flyte-sdkacoustic-carpenter-78188
07/20/2026, 4:52 PM