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
2 changes: 1 addition & 1 deletion build.zig.zon
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.{
.fingerprint = 0xa3d95bf7b905a401,
.name = .labelle_cli,
.version = "4.1.0",
.version = "4.1.1",
.minimum_zig_version = "0.16.0",
.dependencies = .{
// Issue #217: labelle-cli is a thin driver over the standalone
Expand Down
9 changes: 4 additions & 5 deletions test/provider_doctor_e2e.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,9 @@ def manifest(package, namespace, commands):
project = base / "project"
project.mkdir()
# `.backend = .wgpu`, `.gamepad = .none`: the core checks need no system
# library here, so whether they pass depends only on the host's Python
# (checked below). The explicit backend also shows which project the
# core half read.
# library here. Backend interpretation belongs to the assembler, which
# this provider-only fixture deliberately does not install. The explicit
# project-root report below proves which project the core half read.
def write_project(extra_deps=(), extra=""):
all_deps = ", ".join([*deps, *extra_deps])
(project / "project.labelle").write_text(
Expand Down Expand Up @@ -127,13 +127,12 @@ def core_ok(result):
assert len(invocations("alpha-pkg")) == 3

# From a subdirectory, BOTH halves use the project root: the core half
# reports the root and the project's own backend, and the provider
# reports the root, and the provider
# doctors run. The count check comes first so it tracks the runs above.
nested = project / "src" / "deep"
nested.mkdir(parents=True)
sub = run(cwd=nested)
assert f" project: {project}\n" in sub.stderr, sub.stderr
assert "backend: wgpu" in sub.stderr, sub.stderr
assert "Provider doctors: 2 checked, 0 failed" in sub.stderr, sub.stderr
assert len(invocations("alpha-pkg")) == 4 and len(invocations("beta-pkg")) == 4
# Neither the core half nor a provider wrote anything under the subdirectory.
Expand Down
Loading