-
-
Notifications
You must be signed in to change notification settings - Fork 593
Deleted legacy pip_import rule #582
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
Conversation
@alexeagle @hrfuller Based on the conversation at #436 (comment), I've opened this PR. I think the rules have been communicated as EOL for some time so just deleting them feels acceptable to me but if you're hoping for a more transitional closure this code then I'm happy to defer to a PR from either one of you 😄 |
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.
LGTM, modulo comment about PR hygiene.
@@ -37,6 +37,7 @@ | ||
/bazel-genfiles | ||
/bazel-out | ||
/bazel-testlogs | ||
user.bazelrc |
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.
Is this a drive-by?
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.
This is a recommended pattern and was used in testing this Pr. I'd recommend it stay if possible
@@ -1 +1,2 @@ | ||
test --test_output=errors | ||
# https://docs.bazel.build/versions/main/best-practices.html#using-the-bazelrc-file | ||
try-import %workspace%/user.bazelrc |
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.
This change seems good but also unrelated to this PR. Should it be its own?
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.
Does it matter hugely if this is included? I was a way for me to test the changes since the examples are already a little difficult to run. I found this to be necessary in validating the changes were safe and would opt to leave it in.
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.
It doesn't matter hugely. In cases where we have to revert functionality it can matter, because this is a feature we want regardless of this PR.
@hrfuller i think the changes here should be merged as is. Do you feel super strongly otherwise? |
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.
Thanks!
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.
ooh this also has the amazing side-effect of reducing the size of this repo enough that I think we can just ship the GH archive file rather than uploading our own release artifact
PR Checklist
Please check if your PR fulfills the following requirements:
.par
files. See CONTRIBUTING.md for infoPR Type
What kind of change does this PR introduce?
What is the current behavior?
As described in #436 (comment), maybe it's time to clean out the old pip repository rules. In investigating cache invalidation issues. I've often been confused by what code path was being used since the two are quite similar.
Issue Number: #436 (comment)
What is the new behavior?
This change deletes some old rules that have long since been considered legacy and have modern replacements that are actively being developed.
Does this PR introduce a breaking change?
Other information