Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions scripts/check_core_api_signatures.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,8 @@
``None`` with it. While any ``None`` entry exists, the test (with
LEDMATRIX_CORE) insists HEAD reports ``UNTAGGED_SATISFIED_BY`` and no tag does.

Every entry below first shipped in v3.4.0 (tagged at core 9e3f184d), so none
is ``None`` today. ``UNTAGGED_SATISFIED_BY`` is only consulted by a ``None``
row: before adding one, set it to the version core main reports once main is
No entry below is ``None`` today: each names the tag that first ships it.
``UNTAGGED_SATISFIED_BY`` is only consulted by a ``None`` row: before adding one, set it to the version core main reports once main is
bumped past the latest tag.

Limits: an API not in the table is assumed old enough (add a row when core
Expand Down Expand Up @@ -110,6 +109,10 @@ class ApiChange(NamedTuple):
"3.4.0", "core #523"),
ApiChange("set_pixels_per_frame", None, None, "src/common/scroll_helper.py",
"3.4.0", "core scroll_helper"),
ApiChange("request_on_demand", None, None, "src/plugin_system/base_plugin.py",
"3.8.1", "core #768"),
ApiChange("end_on_demand", None, None, "src/plugin_system/base_plugin.py",
"3.8.1", "core #768"),
)

#: Floor that satisfies a ``None`` (untagged) entry; none exist today. See
Expand Down
2 changes: 1 addition & 1 deletion scripts/test_check_core_api_signatures.py
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ def method(body, indent=" "):
print("\ntable vs core")

core = os.environ.get("LEDMATRIX_CORE", "")
TAGS = ["3.0.0", "3.1.0", "3.2.0", "3.3.0", "3.3.1", "3.4.0"]
TAGS = ["3.0.0", "3.1.0", "3.2.0", "3.3.0", "3.3.1", "3.4.0", "3.5.0", "3.6.0", "3.6.1", "3.6.2", "3.7.0", "3.8.0", "3.8.1"]


def show(ref, path):
Expand Down
Loading