-
Notifications
You must be signed in to change notification settings - Fork 54
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
Bzlmod python_interpreter_target usage #66
Comments
I don't think pybind11_bazel can do better right now, but @rickeylev has (much) greater Bazel knowledge than I do, so there might be some way to get this working ahead of initial support for rules_python. :) |
I think this may be a critical bug for those on multiple platforms:
Will not register for |
Ping, @rickeylev! |
As of the v2.11.1.bzl.2 release, pybind11_bazel uses rules_python. Please refer to the latter's documentation for details about registering toolchains. |
How can I specify a specific Python toolchain with Bzlmod.
I have the following toolchain:
It works to specify the toolchain via resolved repo name but this requires hard-coding all versions:
I tried using the following alias target but it got not resolved correctly:
My guess would be that the following is not resolved correctly:
pybind11_bazel/python_configure.bzl
Lines 159 to 160 in 23926b0
Maybe this is because generated files are not supported by
repository_ctx.path()
:The text was updated successfully, but these errors were encountered: