[Midnightbsd-cvs] [MidnightBSD/mports] ecae7d: ai/py-litellm: update to 1.102.1, convert to cargo...
Lucas Holt
noreply at github.com
Wed Sep 23 11:53:26 EDT 2026
Branch: refs/heads/ai/py-litellm
Home: https://github.com/MidnightBSD/mports
Commit: ecae7d8acbd426ec30ce8796ea0737edc18e8e2e
https://github.com/MidnightBSD/mports/commit/ecae7d8acbd426ec30ce8796ea0737edc18e8e2e
Author: Lucas Holt <luke at foolishgames.com>
Date: 2026-09-23 (Wed, 23 Sep 2026)
Changed paths:
M ai/py-litellm/Makefile
A ai/py-litellm/Makefile.crates
M ai/py-litellm/distinfo
M ai/py-litellm/files/patch-pyproject.toml
Log Message:
-----------
ai/py-litellm: update to 1.102.1, convert to cargo + maturin
>From 1.92.0 upstream switched the build backend from uv_build to
maturin and ships a pyo3 Rust extension (litellm.rust_bridge._native),
so the package is no longer pure Python.
- USES=cargo with CARGO_CARGOTOML/CARGO_CARGOLOCK pointing at the
litellm-rust workspace; maturin drives cargo (CARGO_BUILD/INSTALL=no,
MAKE_ENV=${CARGO_ENV}, BINARY_ALIAS python3), modelled on
textproc/py-tokenizers. 411 crates in Makefile.crates.
- Set DISTFILES explicitly so the sdist is not dropped when cargo.mk
appends the crates.
- BUILD_DEPENDS: py-uv-build -> py-maturin; drop NO_ARCH.
- LIB_DEPENDS on devel/oniguruma: the extension links libonig.so.5 via
the tokenizers crate (same as py-tokenizers).
- Replace files/patch-pyproject.toml: relax the exact maturin==1.15.0
pin to >=1.13 to match devel/py-maturin 1.13.3.
- RUN_DEPENDS: aiohttp >=3.14.2, add pydantic-settings >=2.14.1 and
boto3 >=1.43.1, as required by upstream.
Closes #1271
AI-Assisted-by: Claude Opus 5.5 <noreply at anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply at anthropic.com>
Signed-off-by: Lucas Holt <luke at foolishgames.com>
To unsubscribe from these emails, change your notification settings at https://github.com/MidnightBSD/mports/settings/notifications
More information about the Midnightbsd-cvs
mailing list