-
Notifications
You must be signed in to change notification settings - Fork 581
{rules_python,rules_python_gazelle_plugin}@1.7.0-rc1 #6241
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
base: main
Are you sure you want to change the base?
{rules_python,rules_python_gazelle_plugin}@1.7.0-rc1 #6241
Conversation
|
Hello @rickeylev, @aignas, modules you maintain (rules_python, rules_python_gazelle_plugin) have been updated in this PR. |
|
@bazelbuild/bcr-maintainers presubmit has been changed; needs maintainer to approve and trigger CI |
|
@rickeylev @meteorcloudy the problem described in #6220 seems to persist. I can help look into it a bit later today if you don't get to it before me. |
|
Hrm. I thought the shell_commands part of the presubmit fixed that; In #6219 I managed to get presubmits happy. idea: maybe shell_commands needs to write to gazelle/examples/bzlmod_build_file_generation instead of the PWD? |
|
In #6219, the MODULE.bazel file had So basically |
|
Ahhh 🤦 Is that doc'd? I've opened bazel-contrib/rules_python#3382 to fix that. |
This is because the `--override_module` flag in BCR presubmit configs can't affect local_path_override in MODULE.bazel. Per bazelbuild/bazel-central-registry#6241 (comment)
|
I see, the code is here: commandOverrides does take priority, but not when it's |
|
Since #6241 (comment) is available as a workaround, I think I slightly prefer the current behavior. Being able to "unoverride" a regular override via the CLI feels a bit too magical. |
|
Can we get this submitted by EOD Wednesday the 29th? So that we can update |
This is because the `--override_module` flag in BCR presubmit configs can't affect local_path_override in MODULE.bazel. Per bazelbuild/bazel-central-registry#6241 (comment) (cherry picked from commit caab0fa)
|
We've put out an rc2 that reverts some pip integration changes: #6330 This pr (rc1) could be force merged if you just want some addressable version to put into Bazel 9. I think the part of interest to bazel are the flags, right? Those haven't changed in any of the 1.7 RCs. |
Require module maintainers' approval for newly pushed changes.
|
I managed to comment out the local_path_override with a shell command, but hit afterwards, like #6330 I prefer to not force merge a broken version, so please fix this with a new rc. |
rules_python 1.4 is when the python.defaults tag class was introduced, which is used in the example's module file. Fixes BCR presubmit failures in bazelbuild/bazel-central-registry#6330 and bazelbuild/bazel-central-registry#6241
|
FWIW, that error was present in prior release, just the local overrides were masking it. Its stemming from In any case, I've created bazel-contrib/rules_python#3383 to fix (setting rules_python=1.4.0, which should suffice i think) and will start rc3 shortly. |
rules_python 1.4 is when the python.defaults tag class was introduced, which is used in the example's module file. Fixes BCR presubmit failures in bazelbuild/bazel-central-registry#6330 and bazelbuild/bazel-central-registry#6241 (cherry picked from commit d08cf53)
Release: https://github.com/bazel-contrib/rules_python/releases/tag/1.7.0-rc1
Automated by Publish to BCR