diff --git a/pyproject.toml b/pyproject.toml index 9cee399..46700bf 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@b0eacd2fe4884f7f2447b704a232e9a121f396c4", + "quant-platform-kit @ git+https://github.com/QuantStrategyLab/QuantPlatformKit.git@0063af3b4a974650ea58a7d3f26dd1b94f65d3e8", ] [tool.setuptools] diff --git a/qsl.toml b/qsl.toml new file mode 100644 index 0000000..2218494 --- /dev/null +++ b/qsl.toml @@ -0,0 +1,8 @@ +tier = "strategy-library" +ring = 1 + +[compat] +bundle = "2026.07.0" +requires = [ + "quant-platform-kit @ git+https://github.com/QuantStrategyLab/QuantPlatformKit.git@0063af3b4a974650ea58a7d3f26dd1b94f65d3e8", +] diff --git a/tests/test_contract_governance.py b/tests/test_contract_governance.py index ba50092..7f049b3 100644 --- a/tests/test_contract_governance.py +++ b/tests/test_contract_governance.py @@ -35,7 +35,7 @@ "binance", "BINANCE_", ) -QPK_HEALTH_COMMIT = "b0eacd2fe4884f7f2447b704a232e9a121f396c4" +QPK_HEALTH_COMMIT = "0063af3b4a974650ea58a7d3f26dd1b94f65d3e8" QPK_OLD_HEALTHLESS_COMMIT = "86f03fb8e83c0d372f4e1c64cccf3e6da50b8dd4" diff --git a/tests/test_qsl_compat_metadata.py b/tests/test_qsl_compat_metadata.py new file mode 100644 index 0000000..c3218f5 --- /dev/null +++ b/tests/test_qsl_compat_metadata.py @@ -0,0 +1,11 @@ +from pathlib import Path +import tomllib + + +def test_qsl_compat_metadata_exists_and_bundle() -> None: + qsl_path = Path(__file__).resolve().parents[1] / "qsl.toml" + assert qsl_path.exists(), "qsl.toml missing" + with qsl_path.open("rb") as f: + data = tomllib.load(f) + + assert data.get("compat", {}).get("bundle") == "2026.07.0", "compat.bundle mismatch" diff --git a/uv.lock b/uv.lock index c76fb3d..7465d4b 100644 --- a/uv.lock +++ b/uv.lock @@ -1,2 +1,19 @@ -# uv lock file for CryptoStrategies -# Generated: 2026-06-30 +version = 1 +revision = 3 +requires-python = ">=3.11" + +[[package]] +name = "crypto-strategies" +version = "0.4.11" +source = { editable = "." } +dependencies = [ + { name = "quant-platform-kit" }, +] + +[package.metadata] +requires-dist = [{ name = "quant-platform-kit", git = "https://github.com/QuantStrategyLab/QuantPlatformKit.git?rev=0063af3b4a974650ea58a7d3f26dd1b94f65d3e8" }] + +[[package]] +name = "quant-platform-kit" +version = "0.10.0" +source = { git = "https://github.com/QuantStrategyLab/QuantPlatformKit.git?rev=0063af3b4a974650ea58a7d3f26dd1b94f65d3e8#0063af3b4a974650ea58a7d3f26dd1b94f65d3e8" }