Repository navigation
Sync WPT with upstream (28-06-2026) - #46043
Conversation
…4d94d83fc87' Signed-off-by: WPT Sync Bot <[email protected]>
Not yet sure what to make of this. Lines 129 to 135 in 76cdccc |
|
maybe try |
I would second this. If So either we add type annotations to the relevant parts, or we diff --git a/python/wpt/run.py b/python/wpt/run.py
index 0e20adbd74..8358f3ce6f 100644
--- a/python/wpt/run.py
+++ b/python/wpt/run.py
@@ -132,7 +132,7 @@
logger = wptrunner.setup_logging(kwargs, {"servo": sys.stdout})
handler = ServoHandler(detect_flakes=kwargs["retry_unexpected"] >= 1)
- logger.add_handler(handler)
+ logger.add_handler(handler) # type: ignore
with tempfile.TemporaryDirectory(prefix="servo-") as config_dir:
kwargs["binary_args"] += ["--config-dir", config_dir]Or just ignoring that particular error (missing-attribute): diff --git a/python/wpt/run.py b/python/wpt/run.py
index 0e20adbd74..8358f3ce6f 100644
--- a/python/wpt/run.py
+++ b/python/wpt/run.py
@@ -132,7 +132,7 @@
logger = wptrunner.setup_logging(kwargs, {"servo": sys.stdout})
handler = ServoHandler(detect_flakes=kwargs["retry_unexpected"] >= 1)
- logger.add_handler(handler)
+ logger.add_handler(handler) # type: ignore[missing-attribute]
with tempfile.TemporaryDirectory(prefix="servo-") as config_dir:
kwargs["binary_args"] += ["--config-dir", config_dir](FYI: I did not verify that it's |
|
The issue is that new context manager for logging is returning but the previous line is asserting a different variable.
For now I think we can just add |
|
@mukilan Sounds good, do you want to update this with the fix? |
Signed-off-by: Mukilan Thiyagarajan <[email protected]>
Automated downstream sync of changes from upstream as of 28-06-2026
[no-wpt-sync]