Python
build(memhub): pin hy-memory 2.0.10
alvinfei7a78fca807f0
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex 97e4530..b59854a 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -6,6 +6,8 @@ Hy Memory and MemHub are versioned and released independently.## Hy Memory 2.0.10 — 2026-11-01+- Published+ [`hy-memory==2.0.10`](https://pypi.org/project/hy-memory/2.0.10/).- New `hy_memory.reembed` module for switching the embeddingmodel. Writers must be paused for the whole run. Nothing is derived fromthe provider or endpoint: source and target are named explicitly, and thediff --git a/memhub/README.md b/memhub/README.mdindex 079e10b..bfffc98 100644--- a/memhub/README.md+++ b/memhub/README.md@@ -18,7 +18,7 @@ If you run into a problem, please open an Issue with the version, platform,repro## 发行与平台合同-源码当前固定使用公开 PyPI 正式版 `hy-memory==2.0.9`。MemHub 源码版本为 `1.0.5`+源码当前固定使用公开 PyPI 正式版 `hy-memory==2.0.10`。MemHub 源码版本为 `1.0.5`(build 36),GitHub 仓库为[`Tencent-Hunyuan/Hy-Memory`](https://github.com/Tencent-Hunyuan/Hy-Memory),npm 包名为`memhub-cli`。当前代码架构见@@ -118,7 +118,7 @@ MemHub 的 SQLite 数据默认位于 `~/.one-memory`,不在 npm 包或 Runtime## Hy Memory-SDK 依赖固定为公开 PyPI 正式版 `hy-memory==2.0.9`。SDK 配置、权限边界及 search+SDK 依赖固定为公开 PyPI 正式版 `hy-memory==2.0.10`。SDK 配置、权限边界及 search返回格式见 [`MEMORY.md`](MEMORY.md)。HY search 返回的 `content` 已包含 SDK 统一生成的逻辑时间和演化上下文;调用方不应再次转换时间戳或重复拼接 `When`。diff --git a/memhub/SBOM.spdx.json b/memhub/SBOM.spdx.jsonindex cc1d783..587d80a 100644--- a/memhub/SBOM.spdx.json+++ b/memhub/SBOM.spdx.json@@ -2352,7 +2352,7 @@{"SPDXID": "SPDXRef-Package-hy-memory","name": "hy-memory",- "versionInfo": "2.0.9",+ "versionInfo": "2.0.10","downloadLocation": "NOASSERTION","filesAnalyzed": false,"licenseConcluded": "Apache-2.0",diff --git a/memhub/THIRD_PARTY_NOTICES.md b/memhub/THIRD_PARTY_NOTICES.mdindex 39cb413..5f64b49 100644--- a/memhub/THIRD_PARTY_NOTICES.md+++ b/memhub/THIRD_PARTY_NOTICES.md@@ -9,7 +9,7 @@ Per-package license texts are not reproduced here yet; the licensecolumn is filled in as part of release review, and the SBOM records`NOASSERTION` until then rather than guessing.-## hy-memory 2.0.9+## hy-memory 2.0.10License: Apache-2.0diff --git a/memhub/apps/core/pyproject.toml b/memhub/apps/core/pyproject.tomlindex 55a3c17..46323d4 100644--- a/memhub/apps/core/pyproject.toml+++ b/memhub/apps/core/pyproject.toml@@ -12,7 +12,7 @@ dependencies = ["fastapi>=0.141.1","filelock>=3.32.4",# Public SDK version validated against MemHub's permission and recall contracts.- "hy-memory==2.0.9",+ "hy-memory==2.0.10",# chromadb arrives through the HY SDK; locked here so an unrelated upgrade# cannot move the SDK's store. Built-in embedding consumes numpy directly."chromadb==1.5.9",diff --git a/memhub/apps/core/src/one_memory/hy_runtime_config.py b/memhub/apps/core/src/one_memory/hy_runtime_config.pyindex 51d7e5e..dea7dc1 100644--- a/memhub/apps/core/src/one_memory/hy_runtime_config.py+++ b/memhub/apps/core/src/one_memory/hy_runtime_config.py@@ -14,7 +14,7 @@ from pathlib import Pathfrom typing import Literal, castHY_MEMORY_DISTRIBUTION = "hy-memory"-HY_MEMORY_VERSION = "2.0.9"+HY_MEMORY_VERSION = "2.0.10"HY_MEMORY_NAMESPACE = "governed-v2"DiagnosticLogLevel = Literal["error", "warning", "info", "debug"]diff --git a/memhub/apps/core/tests/test_sdk_migration_bundle.py b/memhub/apps/core/tests/test_sdk_migration_bundle.pyindex cc15256..b1c8f12 100644--- a/memhub/apps/core/tests/test_sdk_migration_bundle.py+++ b/memhub/apps/core/tests/test_sdk_migration_bundle.py@@ -91,7 +91,7 @@ def test_bundle_contains_management_sdk_config_and_verified_manifest(tmp_path):assert manifest["bundle_id"] == "migration-1"assert manifest["sdk_namespace"] == "governed-v2"assert manifest["runtime_build"] == "build-13"- assert manifest["snapshot_sdk_version"] == "2.0.9"+ assert manifest["snapshot_sdk_version"] == "2.0.10"paths = {item["path"]: item for item in manifest["files"]}assert {"management/one-memory.sqlite3",diff --git a/memhub/apps/core/uv.lock b/memhub/apps/core/uv.lockindex 01be6da..0649259 100644--- a/memhub/apps/core/uv.lock+++ b/memhub/apps/core/uv.lock@@ -991,7 +991,7 @@ wheels = [[[package]]name = "hy-memory"-version = "2.0.9"+version = "2.0.10"source = { registry = "https://pypi.org/simple" }dependencies = [{ name = "chromadb" },@@ -1008,9 +1008,9 @@ dependencies = [{ name = "scikit-learn" },{ name = "tiktoken" },]-sdist = { url = "https://files.pythonhosted.org/packages/48/28/e01fd9a92cd090c8236df0dd06dae049c5de66345e5bd9653497ed56125e/hy_memory-2.0.9.tar.gz", hash = "sha256:5f55ea92044ced19a00b4e56c565215adedd3439a1bdb9cfe9ffe42387c8f1a1", size = 858323, upload-time = "2026-11-01T00:29:49.914Z" }+sdist = { url = "https://files.pythonhosted.org/packages/86/ed/1e1264d5b8741237c34fdaf17ae68bf5d16d403ca73c054997a502cd06a3/hy_memory-2.0.10.tar.gz", hash = "sha256:0841a441862e2427f75898bb8c958ed22fa083d2c0326298687ee129bcb729a8", size = 881659, upload-time = "2026-11-01T11:33:33.742Z" }wheels = [- { url = "https://files.pythonhosted.org/packages/d5/44/4368555a408a58daf902c81b62184a3c99f12abd45d4f1144bf79f171a6f/hy_memory-2.0.9-py3-none-any.whl", hash = "sha256:95dbea232d2041f9b0ea3d08dd751603c2a5c0e4422b97e74f664e6ca913549e", size = 923250, upload-time = "2026-11-01T00:29:47.814Z" },+ { url = "https://files.pythonhosted.org/packages/9f/d6/c07a9d2d3af14da5a90c2bc466a46fc77068c24570fafe8f5729e46e2cae/hy_memory-2.0.10-py3-none-any.whl", hash = "sha256:54528d61a1730c7ea0f464f15144de3d1952f5d9aab1875bc841c97a193914b1", size = 947165, upload-time = "2026-11-01T11:33:31.66Z" },][[package]]@@ -1837,7 +1837,7 @@ requires-dist = [{ name = "fastapi", specifier = ">=0.141.1" },{ name = "filelock", specifier = ">=3.32.4" },{ name = "httpx", specifier = ">=0.28.1" },- { name = "hy-memory", specifier = "==2.0.9" },+ { name = "hy-memory", specifier = "==2.0.10" },{ name = "keyring", specifier = ">=25.7.0" },{ name = "numpy", specifier = "==2.5.2" },{ name = "onnxruntime", specifier = "==1.23.2" },diff --git a/memhub/docs/ARCHITECTURE.md b/memhub/docs/ARCHITECTURE.mdindex 40a68b9..8aae810 100644--- a/memhub/docs/ARCHITECTURE.md+++ b/memhub/docs/ARCHITECTURE.md@@ -282,7 +282,7 @@ Support is declared per immutable GitHub Release manifest:- Linux x64/arm64 Runtime on native GHA runners.- macOS arm64/x64 App/Runtime: Developer ID, notarization, native acceptance.- Windows is not supported.-- `hy-memory==2.0.9` is the current stable SDK dependency; the release+- `hy-memory==2.0.10` is the current stable SDK dependency; the releaselock and [`../MEMORY.md`](../MEMORY.md) are authoritative when the pin changes.See [`INSTALLATION.md`](INSTALLATION.md).diff --git a/memhub/scripts/generate_sbom.py b/memhub/scripts/generate_sbom.pyindex 3ffa897..8e495ad 100644--- a/memhub/scripts/generate_sbom.py+++ b/memhub/scripts/generate_sbom.py@@ -36,7 +36,7 @@ MEMMY_LICENSE = (MEMMY_PROVENANCE = MEMMY_LICENSE.with_name("PROVENANCE.md")MEMMY_PIN = "25acd5f29fc7df73b943713abe61f1b2f9839887"HY_MEMORY_NAME = "hy-memory"-HY_MEMORY_VERSION = "2.0.9"+HY_MEMORY_VERSION = "2.0.10"class SbomError(RuntimeError):diff --git a/memhub/scripts/install-docs.test.mjs b/memhub/scripts/install-docs.test.mjsindex d013f99..23f9833 100644--- a/memhub/scripts/install-docs.test.mjs+++ b/memhub/scripts/install-docs.test.mjs@@ -12,7 +12,7 @@ test("installation docs disclose publication and lifecycle boundaries", async ()"utf8",);- assert.match(readme, /`hy-memory==2\.0\.9`/);+ assert.match(readme, /`hy-memory==2\.0\.10`/);assert.match(readme, /`v1\.0\.5` 的发行目标是 Linux x64\/arm64 Runtime/);assert.match(readme, /Linux 制品由 GitHub Actions/);assert.match(readme, /macOS.*Developer ID 签名、公证/s);diff --git a/memhub/scripts/test_generate_sbom.py b/memhub/scripts/test_generate_sbom.pyindex 1644fd4..db2ab25 100644--- a/memhub/scripts/test_generate_sbom.py+++ b/memhub/scripts/test_generate_sbom.py@@ -13,7 +13,7 @@ spec.loader.exec_module(module)def test_hy_memory_notice_comes_from_the_installed_dist_info(tmp_path: Path) -> None:- dist_info = tmp_path / "hy_memory-2.0.9.dist-info"+ dist_info = tmp_path / "hy_memory-2.0.10.dist-info"licenses = dist_info / "licenses"licenses.mkdir(parents=True)(dist_info / "METADATA").write_text(@@ -21,7 +21,7 @@ def test_hy_memory_notice_comes_from_the_installed_dist_info(tmp_path: Path) ->("Metadata-Version: 2.4","Name: hy-memory",- "Version: 2.0.9",+ "Version: 2.0.10","License-Expression: Apache-2.0","",)@@ -38,7 +38,7 @@ def test_hy_memory_notice_comes_from_the_installed_dist_info(tmp_path: Path) ->notice = module.hy_memory_notice(dist_info)assert notice["name"] == "hy-memory"- assert notice["version"] == "2.0.9"+ assert notice["version"] == "2.0.10"assert notice["license"] == "Apache-2.0"assert notice["copyright"] == "Copyright (C) 2026 Tencent. All rights reserved."assert "Licensed under the Apache License" in notice["text"]