From 80527e1dd5f51ca92a40ad284e2d2e89091b966c Mon Sep 17 00:00:00 2001 From: Pigbibi <20649888+Pigbibi@users.noreply.github.com> Date: Sat, 19 Sep 2026 23:57:27 +0800 Subject: [PATCH] chore(deps): adopt QPK T03 contract Co-Authored-By: Codex --- .github/workflows/drift-check.yml | 6 +++--- pyproject.toml | 2 +- qsl.toml | 2 +- tests/test_drift_workflow_config.py | 6 +++--- tests/test_qsl_compat_metadata.py | 2 +- uv.lock | 4 ++-- 6 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/drift-check.yml b/.github/workflows/drift-check.yml index 56129a1..3c29d2a 100644 --- a/.github/workflows/drift-check.yml +++ b/.github/workflows/drift-check.yml @@ -32,7 +32,7 @@ jobs: uses: actions/checkout@v6 with: repository: QuantStrategyLab/QuantPlatformKit - ref: 8e8ec51884bf8abb0a7ca699fc2da39fad134f89 + ref: 1a6ed98eea5d69ebe6d09ec1cb1e6ec10c4faeed path: external/QuantPlatformKit - name: Set up Python @@ -207,7 +207,7 @@ jobs: contents: read issues: write id-token: write - uses: QuantStrategyLab/QuantPlatformKit/.github/workflows/reusable-drift-check.yml@8e8ec51884bf8abb0a7ca699fc2da39fad134f89 + uses: QuantStrategyLab/QuantPlatformKit/.github/workflows/reusable-drift-check.yml@1a6ed98eea5d69ebe6d09ec1cb1e6ec10c4faeed with: strategy_domain: crypto caller_event_name: ${{ github.event_name }} @@ -216,7 +216,7 @@ jobs: snapshot_checkout_path: external/CryptoLivePoolPipelines snapshot_repository_ref: ${{ needs.preflight_backtests.outputs.snapshot_repository_ref }} ai_gateway_service_url: ${{ vars.AI_GATEWAY_SERVICE_URL }} - quant_platform_kit_ref: 8e8ec51884bf8abb0a7ca699fc2da39fad134f89 + quant_platform_kit_ref: 1a6ed98eea5d69ebe6d09ec1cb1e6ec10c4faeed lifecycle_preflight_artifact: lifecycle-preflight-${{ github.run_id }}-${{ github.run_attempt }} secrets: codex_audit_service_url: ${{ secrets.CODEX_AUDIT_SERVICE_URL }} diff --git a/pyproject.toml b/pyproject.toml index 92fd1e9..8695f39 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@8e8ec51884bf8abb0a7ca699fc2da39fad134f89", + "quant-platform-kit @ git+https://github.com/QuantStrategyLab/QuantPlatformKit.git@1a6ed98eea5d69ebe6d09ec1cb1e6ec10c4faeed", ] [project.optional-dependencies] diff --git a/qsl.toml b/qsl.toml index 73a2e5f..8eaa707 100644 --- a/qsl.toml +++ b/qsl.toml @@ -4,5 +4,5 @@ upgrade_ring = "ring_b" [compat] bundle = "2026.09.1" requires = [ - "quant-platform-kit @ git+https://github.com/QuantStrategyLab/QuantPlatformKit.git@8e8ec51884bf8abb0a7ca699fc2da39fad134f89", + "quant-platform-kit @ git+https://github.com/QuantStrategyLab/QuantPlatformKit.git@1a6ed98eea5d69ebe6d09ec1cb1e6ec10c4faeed", ] diff --git a/tests/test_drift_workflow_config.py b/tests/test_drift_workflow_config.py index 2e5a1ce..f1a45ee 100644 --- a/tests/test_drift_workflow_config.py +++ b/tests/test_drift_workflow_config.py @@ -25,10 +25,10 @@ def test_drift_workflow_wires_real_pipeline_inputs_and_preflight_bundle() -> Non assert "repository: QuantStrategyLab/QuantPlatformKit" in workflow assert ( "repository: QuantStrategyLab/QuantPlatformKit\n" - " ref: 8e8ec51884bf8abb0a7ca699fc2da39fad134f89\n" + " ref: 1a6ed98eea5d69ebe6d09ec1cb1e6ec10c4faeed\n" " path: external/QuantPlatformKit" ) in workflow - assert "quant_platform_kit_ref: 8e8ec51884bf8abb0a7ca699fc2da39fad134f89" in workflow + assert "quant_platform_kit_ref: 1a6ed98eea5d69ebe6d09ec1cb1e6ec10c4faeed" in workflow assert "python -m pip install --no-deps -e external/QuantPlatformKit" in workflow assert "scripts/run_walk_forward_backtest.py" in workflow assert '"--list-profiles"' in workflow @@ -38,7 +38,7 @@ def test_drift_workflow_wires_real_pipeline_inputs_and_preflight_bundle() -> Non assert "Upload lifecycle preflight artifact" in workflow assert "lifecycle-preflight-${{ github.run_id }}-${{ github.run_attempt }}" in workflow assert workflow.count("github.ref == format('refs/heads/{0}', github.event.repository.default_branch)") == 2 - assert "uses: QuantStrategyLab/QuantPlatformKit/.github/workflows/reusable-drift-check.yml@8e8ec51884bf8abb0a7ca699fc2da39fad134f89" in workflow + assert "uses: QuantStrategyLab/QuantPlatformKit/.github/workflows/reusable-drift-check.yml@1a6ed98eea5d69ebe6d09ec1cb1e6ec10c4faeed" in workflow assert "strategy_domain: crypto" in workflow assert "snapshot_repository: QuantStrategyLab/CryptoLivePoolPipelines" in workflow assert "snapshot_checkout_path: external/CryptoLivePoolPipelines" in workflow diff --git a/tests/test_qsl_compat_metadata.py b/tests/test_qsl_compat_metadata.py index 6858b1f..4781356 100644 --- a/tests/test_qsl_compat_metadata.py +++ b/tests/test_qsl_compat_metadata.py @@ -3,7 +3,7 @@ ROOT = Path(__file__).resolve().parents[1] -QPK_REVISION = "8e8ec51884bf8abb0a7ca699fc2da39fad134f89" +QPK_REVISION = "1a6ed98eea5d69ebe6d09ec1cb1e6ec10c4faeed" QPK_URL = ( "quant-platform-kit @ git+https://github.com/QuantStrategyLab/" f"QuantPlatformKit.git@{QPK_REVISION}" diff --git a/uv.lock b/uv.lock index ffc73cc..06dd988 100644 --- a/uv.lock +++ b/uv.lock @@ -32,7 +32,7 @@ research = [ requires-dist = [ { name = "numpy", marker = "extra == 'research'", specifier = ">=2.4.6" }, { name = "pandas", marker = "extra == 'research'", specifier = ">=3.0.5" }, - { name = "quant-platform-kit", git = "https://github.com/QuantStrategyLab/QuantPlatformKit.git?rev=8e8ec51884bf8abb0a7ca699fc2da39fad134f89" }, + { name = "quant-platform-kit", git = "https://github.com/QuantStrategyLab/QuantPlatformKit.git?rev=1a6ed98eea5d69ebe6d09ec1cb1e6ec10c4faeed" }, ] provides-extras = ["research"] @@ -271,7 +271,7 @@ wheels = [ [[package]] name = "quant-platform-kit" version = "1.0.0" -source = { git = "https://github.com/QuantStrategyLab/QuantPlatformKit.git?rev=8e8ec51884bf8abb0a7ca699fc2da39fad134f89#8e8ec51884bf8abb0a7ca699fc2da39fad134f89" } +source = { git = "https://github.com/QuantStrategyLab/QuantPlatformKit.git?rev=1a6ed98eea5d69ebe6d09ec1cb1e6ec10c4faeed#1a6ed98eea5d69ebe6d09ec1cb1e6ec10c4faeed" } [[package]] name = "six"