From 002abf495876d4ef81a9d5134391f530a1b7445b Mon Sep 17 00:00:00 2001 From: Pigbibi <20649888+Pigbibi@users.noreply.github.com> Date: Thu, 9 Jul 2026 07:45:51 +0800 Subject: [PATCH 1/3] chore(deps): align QPK pin to 8378e93 and add CI gate Bump quant-platform-kit git pin to QPK_PIN, refresh uv.lock, and fail CI when pyproject/lockfile pins drift. Co-Authored-By: Claude Co-authored-by: Cursor --- .github/workflows/ci.yml | 7 +++++++ pyproject.toml | 2 +- uv.lock | 4 ++-- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 16ae267..a63b631 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -78,6 +78,13 @@ jobs: set -euo pipefail ruff check . + - name: Check QPK pin and lock consistency + run: | + set -euo pipefail + python external/QuantPlatformKit/scripts/check_qpk_pin_consistency.py \ + --root . \ + --pin-file external/QuantPlatformKit/QPK_PIN + - name: Run unit tests run: | set -euo pipefail diff --git a/pyproject.toml b/pyproject.toml index 770b2ad..1c5de04 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -9,7 +9,7 @@ description = "Shared crypto strategy catalog and implementations" readme = "README.md" requires-python = ">=3.11" dependencies = [ - "quant-platform-kit @ git+https://github.com/QuantStrategyLab/QuantPlatformKit.git@0af622ac9d47f7ef93f9379f9ded314c27a344ff", + "quant-platform-kit @ git+https://github.com/QuantStrategyLab/QuantPlatformKit.git@8378e939d9324ea63a0f45c9f21ba0e2eeb1cfff", ] [tool.setuptools] diff --git a/uv.lock b/uv.lock index 246c2b3..711fba8 100644 --- a/uv.lock +++ b/uv.lock @@ -11,9 +11,9 @@ dependencies = [ ] [package.metadata] -requires-dist = [{ name = "quant-platform-kit", git = "https://github.com/QuantStrategyLab/QuantPlatformKit.git?rev=37c81901160c5b31127a27dba1c63944933fb6bf" }] +requires-dist = [{ name = "quant-platform-kit", git = "https://github.com/QuantStrategyLab/QuantPlatformKit.git?rev=8378e939d9324ea63a0f45c9f21ba0e2eeb1cfff" }] [[package]] name = "quant-platform-kit" version = "0.10.0" -source = { git = "https://github.com/QuantStrategyLab/QuantPlatformKit.git?rev=37c81901160c5b31127a27dba1c63944933fb6bf#37c81901160c5b31127a27dba1c63944933fb6bf" } +source = { git = "https://github.com/QuantStrategyLab/QuantPlatformKit.git?rev=8378e939d9324ea63a0f45c9f21ba0e2eeb1cfff#8378e939d9324ea63a0f45c9f21ba0e2eeb1cfff" } From c10bace6a885fedec224c952ee81e6c726176553 Mon Sep 17 00:00:00 2001 From: Pigbibi <20649888+Pigbibi@users.noreply.github.com> Date: Thu, 9 Jul 2026 07:51:40 +0800 Subject: [PATCH 2/3] test(governance): update QPK_HEALTH_COMMIT to QPK_PIN Co-Authored-By: Claude Co-authored-by: Cursor --- tests/test_contract_governance.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_contract_governance.py b/tests/test_contract_governance.py index 18bab92..b09fa47 100644 --- a/tests/test_contract_governance.py +++ b/tests/test_contract_governance.py @@ -35,7 +35,7 @@ "binance", "BINANCE_", ) -QPK_HEALTH_COMMIT = "0af622ac9d47f7ef93f9379f9ded314c27a344ff" +QPK_HEALTH_COMMIT = "8378e939d9324ea63a0f45c9f21ba0e2eeb1cfff" QPK_OLD_HEALTHLESS_COMMIT = "86f03fb8e83c0d372f4e1c64cccf3e6da50b8dd4" From 07dfcc9216bb841331fc4bbf3a108b5d6eca1da2 Mon Sep 17 00:00:00 2001 From: Pigbibi <20649888+Pigbibi@users.noreply.github.com> Date: Thu, 9 Jul 2026 07:57:52 +0800 Subject: [PATCH 3/3] ci: retrigger checks after gate cancellation Co-authored-by: Cursor