Replies: 4 comments 2 replies
-
Here is a quick test example to show the differences in the requirements.bzl Using WORKSPACE and pip_parse:
Using the new MODULE.bazel and pip.parse:
You can see the new test.bzl misses:
Is this a bug in the new pip.parse? |
Beta Was this translation helpful? Give feedback.
-
There are no plans to add vendoring in the same way it was done in |
Beta Was this translation helpful? Give feedback.
-
We have some internal custom bazel rules that
The python modules directory under runfiles also look different, eg: module Is it possible to configure pip.parse to behave more like pip_parse to make the rules_python WORKSPACE to bzlmod migration easier? |
Beta Was this translation helpful? Give feedback.
-
It seems that you may be depending on implementation details within
You can go the other way though to first make Since there is nothing to do here, I will migrate this to a discussion. |
Beta Was this translation helpful? Give feedback.
-
We are currently using WORKSPACE and pip_parse_vendored following the examples in https://github.com/bazelbuild/rules_python/tree/main/examples/pip_parse_vendored
While migrating to MODULE.bazel, there are no similar pip.parse_vendored example. In particular, I am looking for the equivalent of https://github.com/bazelbuild/rules_python/blob/main/examples/pip_parse_vendored/BUILD.bazel#L24-L34
Looking at pip_parse generated @pip_deps_to_be_vendored//:requirements.bzl and pip.parse generated :requirements.bzl , I see the latter misses
_config = { ... }
and_packages = [ ... ]
Is that a bug?
Beta Was this translation helpful? Give feedback.
All reactions