-
Notifications
You must be signed in to change notification settings - Fork 541
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
fix(rules): drop the unused argument #1953
Conversation
FYI @fmeum |
Once this is merged, we will need to cherry-pick and release a 0.33.1, IMHO. |
@rickeylev, feel free to take over the PR and finish it. Since I have started it, if you stamp after making any extra changes, you should be able to merge it. :) EDIT: I took a stab at implementing the tests myself, let me know what you think. I amended the CHANGELOG to assume that we are releasing 0.33.1 straight after and I checked locally with: $ bazel run --build_python_zip //tools/publish:twine
WARNING: Build option --build_python_zip has changed, discarding analysis cache (this can be expensive, see https://bazel.build/advanced/performance/iteration-speed).
INFO: Analyzed target //tools/publish:twine (61 packages loaded, 6988 targets configured).
INFO: Found 1 target...
Target //tools/publish:twine up-to-date:
bazel-bin/tools/publish/_twine.zip
bazel-bin/tools/publish/rules_python_entry_point_twine.py
bazel-bin/tools/publish/_twine
INFO: Elapsed time: 22.087s, Critical Path: 10.20s
INFO: 22 processes: 17 internal, 5 linux-sandbox.
INFO: Build completed successfully, 22 total actions
INFO: Running command line: bazel-bin/tools/publish/twine
usage: twine [-h] [--version] [--no-color] {check,upload,register}
twine: error: the following arguments are required: command, args So it does indeed seem to be an extra argument. |
It seems that there is an extra argument that is there but I am not sure about the reason, it is most likely a leftover. As part of this change we add an analysis test for non-windows zip building. I could reproduce the failure and now the newly added test passes. Fixes #1954
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.
Oops, thanks. Yeah, I missed that arg and there weren't tests covering it. Fix LGTM.
It seems that there is an extra argument that is there but I am not sure about the reason, it is most likely a leftover. As part of this change we add an analysis test for non-windows zip building. I could reproduce the failure and now the newly added test passes. Fixes bazelbuild#1954
It seems that there is an extra argument that is there but I am not sure about
the reason, it is most likely a leftover. As part of this change we add an
analysis test for non-windows zip building. I could reproduce the failure and
now the newly added test passes.
Fixes #1954