Replies: 4 comments 3 replies
-
for issue number 1, have you tried setting the is_default to true when using toolchain 3.10 ? it could be that the 3.11 from rules_python is picked since it is the first default found |
Beta Was this translation helpful? Give feedback.
-
I was able to solve the duplicate symlink issue. I had some duplication going on with WORKSPACE.bzlmod and the module extension bzl. Removed the module extension and left only the hybrid-mode WORKSPACE.bzlmod (See https://bazel.build/external/migration#hybrid-mode) for now, and the tets pass :) |
Beta Was this translation helpful? Give feedback.
-
Great effort. Feel free to target the PR against this repo. |
Beta Was this translation helpful? Give feedback.
-
Let me start with a big disclaimer that I'm not a bazel expert and I've probably made some questionable decisions in how I'm going about this. I've been transitioning my company's open source repo (which depends on rules_ros2) to use bzlmod and in order to get it building I've quickly put together a registry containing the subset of rules_ros2 that my company's open source repo depends on: I admit this may be a bit of a strange way to solve this (i.e. just landing a custom registry into the repo itself), but I figured I would mention it on the off chance that it could be at all useful for this project. In particular, if you'd like me to push any of these changes upstream or to the central registry, I'd be happy to. On the other hand, I won't be offended if this looks like the wrong way to do things from y'all's perspective. Further disclaimers:
|
Beta Was this translation helpful? Give feedback.
-
I have some work in progress at lalten#1
I'm stuck on two issues:
Error in fail: Unable to find interpreter for pip hub 'rules_ros2_pip_deps' for python_version=3.10: Make sure a corresponding python.toolchain(python_version="3.10") call exists
. Changing to 3.11 works totally fine.rules_ros2/ros2/ament.bzl
Line 207 in 8fedbc7
Do you have any smart ideas @mvukov @ahans ? :)
Beta Was this translation helpful? Give feedback.
All reactions