mirror of
https://github.com/kvcache-ai/Mooncake.git
synced 2026-11-05 01:17:55 +00:00
[PR #1317] [CLOSED] feat: Add Python package version verification #2157
Labels
No labels
ascend
auto-closed
bug
bug
CI/Build
Common
documentation
enhancement
feature request
good first issue
help wanted
high priority
MetaX
nightly-failure
pull-request
PyTorch Backend
question
RFC
Roadmap
stale
Store
Tests
Transfer Engine
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
kvcache-ai/Mooncake#2157
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/kvcache-ai/Mooncake/pull/1317
Author: @LiYiMing-lg
Created: 1/1/2026
Status: ❌ Closed
Base:
main← Head:fix/979-version-verification-clean📝 Commits (10+)
b00e7f3feat: add Python package version verification - Implement version mismatch prevention - Validate client-master version compatibility - Closes #97996c0811refactor: implement single source of truth for versioning - Add packaging library for semantic version parsing - Dynamic version reading in setup.py from init.py - Improved version compatibility check (major version match) - Ensure English documentation consistency2912f1crefactor: implement single source of truth for versioning - Add packaging library for semantic version parsing - Dynamic version reading in setup.py from init.py - Improved version compatibility check (major version match) - Ensure English documentation consistency722d2e2resolve all merge conflicts - implement version verification1048893Merge branch 'main' into fix/979-version-verification-clean3af064efix: implement semantic version compatibility check - Use packaging.version.parse for version comparison - Compare major versions only - Add fallback to exact match on parsing errors98373adMerge branch 'fix/979-version-verification-clean' of https://github.com/LiYiMing-lg/Mooncake into fix/979-version-verification-cleane979a26fix: add graceful fallback when torch is not available - Build non-CUDA version if torch import fails - Improve CI compatibilitya2382f5fix: make packaging dependency optional - Use lazy import in check_version_compatibility - Add version-check extra dependencyf708230fix: clean setup.py - remove CUDA logic, keep only version verification📊 Changes
3 files changed (+80 additions, -0 deletions)
View changed files
📝
mooncake-wheel/mooncake/__init__.py(+39 -0)📝
mooncake-wheel/mooncake/mooncake_config.py(+13 -0)📝
mooncake-wheel/setup.py(+28 -0)📄 Description
Description
Implementation of Python package version verification mechanism as requested in #979.
Changes
Related Issues
Closes #979
Checklist
Notes
Clean re-submission focusing only on #979 requirements.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.