Skip to content

wasm-sourcemap.py invocation change drops PYTHONPATH, breaks Bazel builds #25323

@stephenduong1004

Description

@stephenduong1004

The recent sourcemap improvements in commit #23741 introduced a change in how wasm-sourcemap.py is invoked, now using python exec-ing python. This causes environment variables like PYTHONPATH to be dropped.

This creates issues when building in isolated environments like Bazel, where third-party dependencies are not in the standard paths and rely on PYTHONPATH.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions