[PR #249] [MERGED] feat: add pybind support for Python 3.12 #1428

Closed
opened 2026-10-29 21:27:21 +00:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/kvcache-ai/Mooncake/pull/249
Author: @xiaguan
Created: 4/15/2025
Status: ✅ Merged
Merged: 4/15/2025
Merged by: @stmatengss

Base: main ← Head: support_3.12


📝 Commits (8)

  • 001bde3 feat: use pyproject.toml and simplify setup.py
  • 94e8de7 feat: add apache license and update pyproject.toml
  • 9bfe3e8 chore: use string quotes for python version in CI matrix
  • 30328b2 feat: build wheels for python 3.10 and 3.12
  • 3174745 chore: update wheel build process in CI/CD
  • d93cfa9 ci: refactor ci and release workflows for matrix builds
  • 96117e5 chore: remove unused workflow and fix license path
  • 74c752f feat: initialize git submodules in dependencies.sh

📊 Changes

7 files changed (+187 additions, -111 deletions)

View changed files

📝 .github/workflows/ci.yml (+48 -37)
📝 .github/workflows/release.yaml (+48 -20)
📝 dependencies.sh (+28 -0)
📝 mooncake-wheel/pyproject.toml (+38 -1)
📝 mooncake-wheel/setup.py (+2 -41)
📝 scripts/build_wheel.sh (+20 -9)
📝 scripts/run_tests.sh (+3 -3)

📄 Description

Because Python 3.12 introduced ABI incompatibilities, we need to package separately for versions 3.10 and above 3.12. Additionally, we should include installation tests for 3.12 in the CI pipeline.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/kvcache-ai/Mooncake/pull/249 **Author:** [@xiaguan](https://github.com/xiaguan) **Created:** 4/15/2025 **Status:** ✅ Merged **Merged:** 4/15/2025 **Merged by:** [@stmatengss](https://github.com/stmatengss) **Base:** `main` ← **Head:** `support_3.12` --- ### 📝 Commits (8) - [`001bde3`](https://github.com/kvcache-ai/Mooncake/commit/001bde398dfeb21546918363ced9fbbb787a2019) feat: use pyproject.toml and simplify setup.py - [`94e8de7`](https://github.com/kvcache-ai/Mooncake/commit/94e8de76aed864651792627d78787ecc0bb8749b) feat: add apache license and update pyproject.toml - [`9bfe3e8`](https://github.com/kvcache-ai/Mooncake/commit/9bfe3e8ebc0a0beb73cc4ef4464db17bb5ba2320) chore: use string quotes for python version in CI matrix - [`30328b2`](https://github.com/kvcache-ai/Mooncake/commit/30328b23bc9a4c424571a1eda7d36e3a42d3ecea) feat: build wheels for python 3.10 and 3.12 - [`3174745`](https://github.com/kvcache-ai/Mooncake/commit/317474595b5454fa4c56873c6f011db908a8355d) chore: update wheel build process in CI/CD - [`d93cfa9`](https://github.com/kvcache-ai/Mooncake/commit/d93cfa9a93d0907e5aa50ed7e63b6c9b8e3a573e) ci: refactor ci and release workflows for matrix builds - [`96117e5`](https://github.com/kvcache-ai/Mooncake/commit/96117e5ee5168c4bf0161ea29f1598e9894e9fb8) chore: remove unused workflow and fix license path - [`74c752f`](https://github.com/kvcache-ai/Mooncake/commit/74c752f0c7eba27f04496cd36f877be57f983585) feat: initialize git submodules in dependencies.sh ### 📊 Changes **7 files changed** (+187 additions, -111 deletions) <details> <summary>View changed files</summary> 📝 `.github/workflows/ci.yml` (+48 -37) 📝 `.github/workflows/release.yaml` (+48 -20) 📝 `dependencies.sh` (+28 -0) 📝 `mooncake-wheel/pyproject.toml` (+38 -1) 📝 `mooncake-wheel/setup.py` (+2 -41) 📝 `scripts/build_wheel.sh` (+20 -9) 📝 `scripts/run_tests.sh` (+3 -3) </details> ### 📄 Description Because Python 3.12 introduced ABI incompatibilities, we need to package separately for versions 3.10 and above 3.12. Additionally, we should include installation tests for 3.12 in the CI pipeline. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-29 21:27:21 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
kvcache-ai/Mooncake#1428
No description provided.