-
Notifications
You must be signed in to change notification settings - Fork 1
chore: qsl runtime compatibility metadata #296
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,13 @@ | ||
| [qsl] | ||
| repo = "InteractiveBrokersPlatform" | ||
| tier = "runtime-platform" | ||
| ring = 3 | ||
| allow_legacy = false | ||
|
|
||
| [qsl.requires] | ||
| quant_platform_kit = "0063af3b4a974650ea58a7d3f26dd1b94f65d3e8" | ||
| us_equity_strategies = "46887bc3f5454d5b59623b1f5efb7c65912c6b8b" | ||
| hk_equity_strategies = "61993bf261aeccf64b5a75428b9405f4e1d1d682" | ||
|
|
||
| [qsl.compat] | ||
| bundle = "2026.07.0" | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,19 @@ | ||
| from __future__ import annotations | ||
|
|
||
| from pathlib import Path | ||
| import tomllib | ||
|
|
||
|
|
||
| def test_qsl_metadata_has_runtime_platform_fields() -> None: | ||
| qsl_path = Path(__file__).resolve().parents[1] / "qsl.toml" | ||
| with qsl_path.open("rb") as f: | ||
| qsl = tomllib.load(f)["qsl"] | ||
|
|
||
| assert qsl["tier"] == "runtime-platform" | ||
| assert qsl["ring"] == 3 | ||
| assert qsl.get("repo") == "InteractiveBrokersPlatform" | ||
| assert qsl["compat"]["bundle"] == "2026.07.0" | ||
| requires = qsl["requires"] | ||
| assert "quant_platform_kit" in requires | ||
| assert "us_equity_strategies" in requires | ||
| assert "hk_equity_strategies" in requires |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These new
qsl.requiresSHAs duplicate the install pins inpyproject.toml, but the blocking CI guard only runsscripts/check_qpk_pin_consistency.py, whosePINNED_FILE_GLOBSat line 22 omitsqsl.toml(the workflow invokes that guard at.github/workflows/ci.yml:113). When the normal dependency bump updatespyproject.toml/uv.lock, this metadata can silently stay on the old bundle and compatibility automation will consume stale pins; please add this file to the guard or make the test compare it to the actual dependency pins.Useful? React with 👍 / 👎.