Python
build(memhub): pin hy-memory 2.0.9
alvinfeic1e5916b5131
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex b424bcc..00c9fe9 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -96,6 +96,8 @@ authority on first launch.## Hy Memory 2.0.9 — 2026-11-01+- Published+ [`hy-memory==2.0.9`](https://pypi.org/project/hy-memory/2.0.9/).- Placeholder values no longer overwrite the user's basic profile (L0). Asmall extraction model filled `basic_info` with `{"name": "用户"}`,`The user` or `N/A` when the user had said nothing about themselves, anddiff --git a/memhub/README.md b/memhub/README.mdindex 5eae040..079e10b 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.8`。MemHub 源码版本为 `1.0.5`+源码当前固定使用公开 PyPI 正式版 `hy-memory==2.0.9`。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.8`。SDK 配置、权限边界及 search+SDK 依赖固定为公开 PyPI 正式版 `hy-memory==2.0.9`。SDK 配置、权限边界及 search返回格式见 [`MEMORY.md`](MEMORY.md)。HY search 返回的 `content` 已包含 SDK 统一生成的逻辑时间和演化上下文;调用方不应再次转换时间戳或重复拼接 `When`。diff --git a/memhub/SBOM.spdx.json b/memhub/SBOM.spdx.jsonindex cff821a..cc1d783 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.8",+ "versionInfo": "2.0.9","downloadLocation": "NOASSERTION","filesAnalyzed": false,"licenseConcluded": "Apache-2.0",diff --git a/memhub/THIRD_PARTY_NOTICES.md b/memhub/THIRD_PARTY_NOTICES.mdindex 58b9923..39cb413 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.8+## hy-memory 2.0.9License: Apache-2.0diff --git a/memhub/apps/core/pyproject.toml b/memhub/apps/core/pyproject.tomlindex c36f94d..55a3c17 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.8",+ "hy-memory==2.0.9",# 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 cef9958..51d7e5e 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.8"+HY_MEMORY_VERSION = "2.0.9"HY_MEMORY_NAMESPACE = "governed-v2"DiagnosticLogLevel = Literal["error", "warning", "info", "debug"]diff --git a/memhub/apps/core/src/one_memory/hy_sdk_migration.py b/memhub/apps/core/src/one_memory/hy_sdk_migration.pyindex e111eac..1e858aa 100644--- a/memhub/apps/core/src/one_memory/hy_sdk_migration.py+++ b/memhub/apps/core/src/one_memory/hy_sdk_migration.py@@ -497,7 +497,7 @@ def _ensure_coding_schema(path: Path) -> None:CodingMemoryStore,)- # Relies on the pinned SDK's internals (hy-memory==2.0.8 is pinned exactly).+ # Relies on the pinned SDK's internals (hy-memory==2.0.9 is pinned exactly).store = CodingMemoryStore.__new__(CodingMemoryStore)store._db_path = str(path)store._conn = Nonediff --git a/memhub/apps/core/tests/test_sdk_migration_bundle.py b/memhub/apps/core/tests/test_sdk_migration_bundle.pyindex 5f06d89..cc15256 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.8"+ assert manifest["snapshot_sdk_version"] == "2.0.9"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 64584a9..01be6da 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.8"+version = "2.0.9"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/21/15/83ca83b649ead238f186fdb33efdc73615fbba279efbbdca3857c1a86beb/hy_memory-2.0.8.tar.gz", hash = "sha256:0fa0ed1a1160b389a3d7c13a9fb6528b140d7ec23cf49e65f1be5974820a576b", size = 856025, upload-time = "2026-10-28T07:35:47.783Z" }+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" }wheels = [- { url = "https://files.pythonhosted.org/packages/11/6a/c699cac0ff06bd089fceeff90446130763d8187e649dbdb0313014491a10/hy_memory-2.0.8-py3-none-any.whl", hash = "sha256:68bd789df24e51e64bb231e97a8d24ee89b4aa5f9ba14c3e0824589e9213bf7c", size = 921119, upload-time = "2026-10-28T07:35:45.571Z" },+ { 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" },][[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.8" },+ { name = "hy-memory", specifier = "==2.0.9" },{ 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 26d05dc..ab6a6c8 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.8` is the current stable SDK dependency; the release+- `hy-memory==2.0.9` 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 c163ba0..3ffa897 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.8"+HY_MEMORY_VERSION = "2.0.9"class SbomError(RuntimeError):diff --git a/memhub/scripts/install-docs.test.mjs b/memhub/scripts/install-docs.test.mjsindex fc3e918..d013f99 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\.8`/);+ assert.match(readme, /`hy-memory==2\.0\.9`/);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 0a11785..1644fd4 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.8.dist-info"+ dist_info = tmp_path / "hy_memory-2.0.9.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.8",+ "Version: 2.0.9","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.8"+ assert notice["version"] == "2.0.9"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"]