-
Notifications
You must be signed in to change notification settings - Fork 447
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
Load py_runtime/py_runtime_pair from rules_python #1189
Conversation
Hey, I just ran into this one as well. Would be awesome to get this landed as it looks to be blocking me from moving to bazel 8.x because of being pulled in by https://github.com/bazel-contrib/rules_jsonnet/tree/master. Although possibly that repo should actually change something so that BUILD files in this repo don't matter. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In platform_defs/BUILD
, the default_python3_toolchain
target, the toolchain_type
property should also change to the one in python_rules:
toolchain(
name = "default_python3_toolchain",
toolchain = ":just_python3",
toolchain_type = "@rules_python//python:toolchain_type",
)
Thanks for the fix! |
@mortenmj thanks for the fix, I guess you just need to update this: |
I've added a commit to use I'll look into it some more hopefully later today or early next week. |
Thank you for the fix. I'm still getting the error below in a rule using jsonnet. Repro: git clone https://github.com/google/earthengine-catalog ERROR: Traceback (most recent call last): |
There hasn't been a new jsonnet release yet, nor a new rules_jsonnet bazel module release; I would expect both are needed. I intend to make a new jsonnet release soon, but usually the jsonnet and go-jsonnet releases are coordinated so there is some extra work for me to do there. And then rules_jsonnet probably needs a new release as well (I'm not a maintainer for rules_jsonnet). If you want to get things working for now without waiting for a release, you can use
|
Thank you, that works. Do you have an ETA for rolling out the fix officially as you described? |
I can't make any guarantees or high confidence predictions as this is spare-time-only effort. But with a little luck I'll publish a new release by the end of January. |
Fixes #1188