Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When running under bazel, Emsdk should use the bazel python through something like py_binary instead of the system python #1263

Open
logankaser opened this issue Aug 7, 2023 · 1 comment

Comments

@logankaser
Copy link

It seems like the bazel wrapper escapes the bazel sandbox and relies on having the correct version of python installed on the system. Is there a way to force it to use the bazel python tool chain?

@logankaser logankaser changed the title Bazel wrapper uses system python instead of py_binary When running under bazel, Emsdk should use the bazel python through something like py_binary instead of the system python Aug 11, 2023
@allsey87
Copy link
Contributor

allsey87 commented Jul 8, 2024

It seems like the bazel wrapper escapes the bazel sandbox

Could you go into a bit more detail here? What sort of issues has this caused you? Referring to #1422, I am just using the native implementation of py_binary (not the one from rules_python) which I suspect still uses the system installed Python.

If I get time to work on #1422, I intend to switch it over to python_rules since that might work around bazelbuild/bazel#17629.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants