Support CPython 3.15 in livekit-local-inference

Đang mở
#8,237 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

@GriffinCanCode đang làm issue này rồi.

Từ ngày 29/10/2026.

  • #8238 của @GriffinCanCode — đang mở
  • #8251 của @GriffinCanCode — đang mở

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
32/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
python
Lĩnh vực
audio-video-rtc, backend

Hướng nghiên cứu

Start by inspecting the livekit-local-inference package metadata and the CPython 3.15.2 installation failure described in the issue. The requested work needs genuine native wheels or the source and build recipe for macOS arm64 and Linux x86_64/aarch64, while preserving the existing audio v1-mini model and inference contract. Done means the package installs on those targets and passes the listed real-audio, recurrent-state, reset, concurrency, and malformed-input checks.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

We’re moving our application to CPython 3.15.2. livekit-local-inference==0.2.7 currently prevents that migration: PyPI has CPython 3.10–3.14 wheels, with no source distribution, abi3 wheel or cp315 wheel.

This reproduces on macOS arm64 with standard, GIL-enabled CPython 3.15.2:

uv venv --python 3.15.2 .venv315
uv pip install --python .venv315/bin/python livekit-local-inference==0.2.7

The resolver reports:

livekit-local-inference==0.2.7 has no wheels with a matching Python ABI tag
(e.g., cp315)

Can you publish genuine cp315-cp315 wheels for macOS arm64 and Linux x86_64/aarch64, or provide the source and build recipe needed to produce them? Our Linux target is glibc 2.28 or newer. We need the existing audio v1-mini EOT model and its native inference contract; every Python process must run 3.15.2.

We can run real-audio, recurrent-state, reset, concurrent-instance and malformed-input checks against the existing 0.2.7 engine. The public Silero model covers VAD, but it does not replace the proprietary audio EOT model. Changing that EOT model needs separate quality qualification.

The Agents package also currently declares requires-python = ">=3.10,<3.15". Raising that declaration alone does not supply the missing native engine.

Package files: https://pypi.org/project/livekit-local-inference/0.2.7/#files

Ngôn ngữ chính
Python
Star
14.6k
Fork
3.9k
Merge trung bình
2 ngày 2 giờ
Pull request đã merge (30 ngày)
224

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của livekit/agents

Tất cả issue của livekit/agents

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.