diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4bbbca5..32abf41 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -64,6 +64,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 982bf7e..9c62802 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -10,7 +10,7 @@ readme = "README.md" requires-python = ">=3.11" dependencies = [ "pandas>=2.0", - "quant-platform-kit @ git+https://github.com/QuantStrategyLab/QuantPlatformKit.git@0c69df08144872ccd1d8bf523738e80748d8d664", + "quant-platform-kit @ git+https://github.com/QuantStrategyLab/QuantPlatformKit.git@8378e939d9324ea63a0f45c9f21ba0e2eeb1cfff", ] [project.optional-dependencies] diff --git a/uv.lock b/uv.lock index 0602010..700169d 100644 --- a/uv.lock +++ b/uv.lock @@ -40,7 +40,7 @@ test = [ requires-dist = [ { name = "pandas", specifier = ">=2.0" }, { name = "pytest", marker = "extra == 'test'", specifier = ">=8" }, - { name = "quant-platform-kit", git = "https://github.com/QuantStrategyLab/QuantPlatformKit.git?rev=37c81901160c5b31127a27dba1c63944933fb6bf" }, + { name = "quant-platform-kit", git = "https://github.com/QuantStrategyLab/QuantPlatformKit.git?rev=8378e939d9324ea63a0f45c9f21ba0e2eeb1cfff" }, ] provides-extras = ["test"] @@ -315,7 +315,7 @@ wheels = [ [[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" } [[package]] name = "six"