diff --git a/.github/workflows/drift-check.yml b/.github/workflows/drift-check.yml index ef67f4a..fb5724e 100644 --- a/.github/workflows/drift-check.yml +++ b/.github/workflows/drift-check.yml @@ -181,7 +181,7 @@ jobs: PY - name: Upload lifecycle preflight artifact - uses: actions/upload-artifact@v5 + uses: actions/upload-artifact@v6 with: name: lifecycle-preflight-${{ github.run_id }}-${{ github.run_attempt }} path: ${{ runner.temp }}/lifecycle-preflight-bundle @@ -194,7 +194,7 @@ jobs: contents: read issues: write id-token: write - uses: QuantStrategyLab/QuantPlatformKit/.github/workflows/reusable-drift-check.yml@6b887d9954eb656141597eac077ca22053a525ef + uses: QuantStrategyLab/QuantPlatformKit/.github/workflows/reusable-drift-check.yml@b939522701b527096e5d028346e777714466bcc5 with: strategy_domain: us_equity caller_event_name: ${{ github.event_name }} @@ -203,7 +203,7 @@ jobs: snapshot_checkout_path: external/UsEquitySnapshotPipelines snapshot_repository_ref: ${{ needs.preflight_backtests.outputs.snapshot_repository_ref }} ai_gateway_service_url: ${{ vars.AI_GATEWAY_SERVICE_URL }} - quant_platform_kit_ref: 6b887d9954eb656141597eac077ca22053a525ef + quant_platform_kit_ref: b939522701b527096e5d028346e777714466bcc5 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 b802803..69c1e99 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -11,7 +11,7 @@ requires-python = ">=3.11" dependencies = [ "pandas>=2.0", "pytz>=2024.1", - "quant-platform-kit @ git+https://github.com/QuantStrategyLab/QuantPlatformKit.git@6b887d9954eb656141597eac077ca22053a525ef", + "quant-platform-kit @ git+https://github.com/QuantStrategyLab/QuantPlatformKit.git@b939522701b527096e5d028346e777714466bcc5", ] [tool.setuptools] diff --git a/qsl.toml b/qsl.toml index 44b942d..df660ae 100644 --- a/qsl.toml +++ b/qsl.toml @@ -6,5 +6,5 @@ bundle = "2026.08.0" requires = [ "pandas>=2.0", "pytz>=2024.1", - "quant-platform-kit @ git+https://github.com/QuantStrategyLab/QuantPlatformKit.git@6b887d9954eb656141597eac077ca22053a525ef", + "quant-platform-kit @ git+https://github.com/QuantStrategyLab/QuantPlatformKit.git@b939522701b527096e5d028346e777714466bcc5", ] diff --git a/tests/test_drift_workflow_config.py b/tests/test_drift_workflow_config.py index 7b360bc..0f53be5 100644 --- a/tests/test_drift_workflow_config.py +++ b/tests/test_drift_workflow_config.py @@ -21,7 +21,7 @@ def test_drift_workflow_wires_real_snapshot_history_and_preflight_bundle() -> No assert '"conclusion": "success"' in workflow assert '"QuantStrategyLab/UsEquitySnapshotPipelines"' in workflow assert "repository: QuantStrategyLab/QuantPlatformKit" in workflow - assert "ref: 6b887d9954eb656141597eac077ca22053a525ef" in workflow + assert "ref: b939522701b527096e5d028346e777714466bcc5" 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-lifecycle-profiles"' in workflow @@ -29,8 +29,8 @@ def test_drift_workflow_wires_real_snapshot_history_and_preflight_bundle() -> No assert "--returns-output" in workflow assert "LIFECYCLE_PREFLIGHT_BUNDLE_ROOT" in workflow assert "Upload lifecycle preflight artifact" in workflow - assert "actions/upload-artifact@v5" in workflow - assert "uses: QuantStrategyLab/QuantPlatformKit/.github/workflows/reusable-drift-check.yml@6b887d9954eb656141597eac077ca22053a525ef" in workflow + assert "actions/upload-artifact@v6" in workflow + assert "uses: QuantStrategyLab/QuantPlatformKit/.github/workflows/reusable-drift-check.yml@b939522701b527096e5d028346e777714466bcc5" in workflow assert "strategy_domain: us_equity" in workflow assert "caller_event_name: ${{ github.event_name }}" in workflow assert "caller_pr_head_repository: ${{ github.event.pull_request.head.repo.full_name || '' }}" in workflow @@ -38,6 +38,6 @@ def test_drift_workflow_wires_real_snapshot_history_and_preflight_bundle() -> No assert "snapshot_checkout_path: external/UsEquitySnapshotPipelines" in workflow assert "ai_gateway_service_url: ${{ vars.AI_GATEWAY_SERVICE_URL }}" in workflow assert "lifecycle_preflight_artifact: lifecycle-preflight-${{ github.run_id }}-${{ github.run_attempt }}" in workflow - assert "quant_platform_kit_ref: 6b887d9954eb656141597eac077ca22053a525ef" in workflow + assert "quant_platform_kit_ref: b939522701b527096e5d028346e777714466bcc5" in workflow assert "codex_audit_service_url: ${{ secrets.CODEX_AUDIT_SERVICE_URL }}" in workflow assert "secrets.SNAPSHOT_REPOSITORY_TOKEN || secrets.QSL_REPO_SYNC_TOKEN || github.token" in workflow diff --git a/tests/test_qsl_compat_metadata.py b/tests/test_qsl_compat_metadata.py index 7c6bdca..5b7ea27 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 = "6b887d9954eb656141597eac077ca22053a525ef" +QPK_REVISION = "b939522701b527096e5d028346e777714466bcc5" QPK_URL = ( "quant-platform-kit @ git+https://github.com/QuantStrategyLab/" f"QuantPlatformKit.git@{QPK_REVISION}" diff --git a/uv.lock b/uv.lock index 3a09fd8..33a3b43 100644 --- a/uv.lock +++ b/uv.lock @@ -241,7 +241,7 @@ wheels = [ [[package]] name = "quant-platform-kit" version = "0.10.0" -source = { git = "https://github.com/QuantStrategyLab/QuantPlatformKit.git?rev=6b887d9954eb656141597eac077ca22053a525ef#6b887d9954eb656141597eac077ca22053a525ef" } +source = { git = "https://github.com/QuantStrategyLab/QuantPlatformKit.git?rev=b939522701b527096e5d028346e777714466bcc5#b939522701b527096e5d028346e777714466bcc5" } [[package]] name = "six" @@ -275,5 +275,5 @@ dependencies = [ requires-dist = [ { name = "pandas", specifier = ">=2.0" }, { name = "pytz", specifier = ">=2024.1" }, - { name = "quant-platform-kit", git = "https://github.com/QuantStrategyLab/QuantPlatformKit.git?rev=6b887d9954eb656141597eac077ca22053a525ef" }, + { name = "quant-platform-kit", git = "https://github.com/QuantStrategyLab/QuantPlatformKit.git?rev=b939522701b527096e5d028346e777714466bcc5" }, ]