From 1c798bc737bc92fa5eca85dd0663dc608104f721 Mon Sep 17 00:00:00 2001 From: PureSaber Date: Wed, 14 Oct 2026 22:43:44 +0800 Subject: [PATCH] build: align factor package with shared allocation protocol dependency --- README.md | 2 +- pyproject.toml | 6 +++--- requirements.lock | 4 ++-- tests/test_release_metadata.py | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index c5f887b..0e2dc43 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,7 @@ python -m pip check It is not part of the default factor set. The historical `downside_vol_20d` retains its clipped-return standard-deviation formula for reproducible old runs. -本版本将QDK固定到`fd080755eebdd5851d98e2b00830235f39ea5ce7`, +本版本将QDK固定到`ad3440700b226497c40093197f1df4321b49d1e8`, 包含共享不可变快照与CAS接口。依赖声明、Python3.10–3.12锁及版本一致性测试 同步使用该提交;旧发布标签保持原版本。 diff --git a/pyproject.toml b/pyproject.toml index 1bfe56f..0f4f190 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -10,7 +10,7 @@ readme = "README.md" license = { text = "MIT" } requires-python = ">=3.10" dependencies = [ - "quant-data-kit @ git+https://github.com/PureSaber/quant-data-kit.git@fd080755eebdd5851d98e2b00830235f39ea5ce7", + "quant-data-kit @ git+https://github.com/PureSaber/quant-data-kit.git@ad3440700b226497c40093197f1df4321b49d1e8", "pandas>=2.0", "numpy>=1.24", "pyarrow>=14.0", @@ -18,8 +18,8 @@ dependencies = [ ] [project.optional-dependencies] -research = ["quant-lab[statistics] @ git+https://github.com/PureSaber/quant-lab.git@a923a791315312a4d9caecf3b9776f08d53bb736"] -dev = ["pytest>=7.4", "pytest-cov>=5.0", "ruff>=0.9.0", "exceptiongroup>=1", "tomli>=1", "setuptools>=68", "wheel>=0.46", "quant-lab[statistics] @ git+https://github.com/PureSaber/quant-lab.git@a923a791315312a4d9caecf3b9776f08d53bb736"] +research = ["quant-lab[statistics] @ git+https://github.com/PureSaber/quant-lab.git@e189eaf7004fe6749d9dd675870e32ae51c45a7a"] +dev = ["pytest>=7.4", "pytest-cov>=5.0", "ruff>=0.9.0", "exceptiongroup>=1", "tomli>=1", "setuptools>=68", "wheel>=0.46", "quant-lab[statistics] @ git+https://github.com/PureSaber/quant-lab.git@e189eaf7004fe6749d9dd675870e32ae51c45a7a"] [tool.quant-workspace] layer = "strategy" diff --git a/requirements.lock b/requirements.lock index 722b73d..d90a830 100644 --- a/requirements.lock +++ b/requirements.lock @@ -78,9 +78,9 @@ pyyaml==6.0.3 # quant-factors (pyproject.toml) # quant-data-kit # quant-lab -quant-data-kit @ git+https://github.com/PureSaber/quant-data-kit.git@fd080755eebdd5851d98e2b00830235f39ea5ce7 +quant-data-kit @ git+https://github.com/PureSaber/quant-data-kit.git@ad3440700b226497c40093197f1df4321b49d1e8 # via quant-factors (pyproject.toml) -quant-lab @ git+https://github.com/PureSaber/quant-lab.git@a923a791315312a4d9caecf3b9776f08d53bb736 +quant-lab @ git+https://github.com/PureSaber/quant-lab.git@e189eaf7004fe6749d9dd675870e32ae51c45a7a # via quant-factors (pyproject.toml) referencing==0.37.0 # via diff --git a/tests/test_release_metadata.py b/tests/test_release_metadata.py index 4cc7703..d35a612 100644 --- a/tests/test_release_metadata.py +++ b/tests/test_release_metadata.py @@ -1,7 +1,7 @@ from pathlib import Path ROOT = Path(__file__).resolve().parents[1] -QDK_COMMIT = "fd080755eebdd5851d98e2b00830235f39ea5ce7" +QDK_COMMIT = "ad3440700b226497c40093197f1df4321b49d1e8" def test_cross_interpreter_constraint_is_applied_to_generated_lock() -> None: