From f7c7db3f7184d465d8d5c81f72d2cb447f70acd6 Mon Sep 17 00:00:00 2001 From: Mukilan Thiyagarajan Date: Fri, 11 Jul 2025 22:16:22 +0530 Subject: [PATCH] ci: revert to non-relative import in export script (#38003) Fixes #37999. Testing: This has been tested on [my fork](https://github.com/mukilan/servo/actions/runs/16224926807/job/45814509714?pr=5). Signed-off-by: Mukilan Thiyagarajan Signed-off-by: Mukilan Thiyagarajan --- pyproject.toml | 1 + python/wpt/export.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 9bb977e068d..d90c732237e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -33,6 +33,7 @@ search-path = [ "tests/wpt/tests/tools/wptrunner", "tests/wpt/tests/tools/wptserve", "python/mach", + "python/wpt", ] project-includes = [ "python/wpt/**/*.py", diff --git a/python/wpt/export.py b/python/wpt/export.py index ebec24464a0..6f0d511063a 100755 --- a/python/wpt/export.py +++ b/python/wpt/export.py @@ -17,7 +17,7 @@ import logging import os import sys -from .exporter import WPTSync +from exporter import WPTSync def main() -> int: