mirror of
https://github.com/BerriAI/litellm.git
synced 2026-11-26 22:30:11 +00:00
* fix(proxy): start the Prisma engine on Python 3.10 and pin prisma to the versions it supports The port-owning query engine waited with asyncio.timeout, which only exists on Python 3.11+, so a proxy with a database could not start on 3.10. It now waits with asyncio.wait_for The engine subclass imports prisma.builder, which prisma 0.13 removed, so extra_proxy now allows prisma>=0.11.0,<0.13. prisma 0.12.0 passes the engine tests on 3.10 A fake query engine executable covers the connect, silent, and early-exit paths, and a new prisma-engine-python-310 CI shard runs those tests on Python 3.10 whenever the engine code changes * fix(proxy): run the Prisma engine on prisma 0.13+ and fix Python 3.10 chat with a database Drop the prisma<0.13 cap and make the engine subclass work on prisma 0.11 through 0.15. OVERWRITE_DATASOURCES is built with json.dumps instead of the removed prisma.builder, and the client's HTTP options reach the engine as http_config when its constructor takes it Build CallContext without the subscripted alias, which raised TypeError on Python 3.10 for every chat call with a database Move the engine tests that start a real process to tests/integration/database, and have the Python 3.10 CI shard install prisma 0.15.0 and run the dispatcher tests too * fix(proxy): set the Prisma client engine through its setter so prisma 0.15 connects * test(proxy): run the query engine spawn path in-process on Python 3.10 * fix(proxy): keep TimeoutError as the cause of the query engine connect timeout The connect timeout EngineConnectionError chains the TimeoutError again, as on the merge base, so the startup traceback keeps its direct cause block --------- Co-authored-by: mateo-berri <277851410+mateo-berri@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| ci | ||
| assert_ci_coverage.py | ||
| assert_secret_absent.py | ||
| assert_workflow_dir_hygiene.py | ||
| detect_changes.sh | ||
| e2e_egress_sentinel.py | ||
| e2e_fetch_fixture_bundle.sh | ||
| e2e_pack_fixture_bundle.sh | ||
| read_rc_version.py | ||
| restore_handwritten_description.py | ||
| run_llm_translation_tests.py | ||
| run_merge_smoke.py | ||
| scan_keywords.py | ||
| select_ui_test_scope.sh | ||
| setup_rust_environment.sh | ||
| smoke_test_native_wheel.py | ||
| uv_sync_with_retries.sh | ||
| verify_linux_native_wheel.py | ||