Closed hofbi closed 4 months ago
Nothing too obvious. I'll have to dig deeper into this.
I checked with bazel cquery @ros_comm//:rospy --output=starlark --starlark:expr='providers(target).keys()'
and got
["LicenseInfo", "@@rules_python//python/private/common:providers.bzl%PyInfo", "@@_builtins//:common/python/providers.bzl%PyInfo", "InstrumentedFilesInfo", "@@rules_python//python/private/common:providers.bzl%PyCcLinkParamsProvider", "FileProvider", "FilesToRunProvider", "OutputGroupInfo"]
For bazel cquery @ros_ros//:rosunit --output=starlark --starlark:expr='providers(target).keys()'
I got
["LicenseInfo", "@@rules_python//python/private/common:providers.bzl%PyInfo", "@@_builtins//:common/python/providers.bzl%PyInfo", "InstrumentedFilesInfo", "@@rules_python//python/private/common:providers.bzl%PyCcLinkParamsProvider", "FileProvider", "FilesToRunProvider", "OutputGroupInfo"]
So both seem to have the PyInfo
provider.
Fixed via https://github.com/mvukov/rules_ros/pull/20.
Since https://github.com/aspect-build/rules_py/pull/311 was merged, I get the following error in my code when updating to a version that contains this PR
So far, I already checked the entire code for some hint on where the native/Java implementation of
py_library
could be used but was not able to find any. Any idea what could cause this issue?