-
-
Notifications
You must be signed in to change notification settings - Fork 617
deps(gazelle): upgrade rules_go to remove patching of tree-sitter #3179
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?
Conversation
f8b94b9
to
63a642a
Compare
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.
Odd... how did you avoid the windows issues with go-tree-sitter that I was seeing in #2962?
Ah well, I'm not going to look a gift horse in the mouth. This is awesome, thanks!
Requests:
- Update
CHANGELOG.md
to specify the version upgrades and thatload
statements might get reordered. - Update
MODULE.bazel
'srules_go
version to match what's used bygazelle/MODULE.bazel
. - Update
internal_dev_deps.bzl
to match too. - Update
examples/(bzlmod_)build_file_generation
to match versions too.
I have no idea, don't jinx it! 😅 |
Now after upgrading things there's some odd failures. @dougthor42 can you take a look? |
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.
To summarize all the comments:
- You should be able to revert the
.bazelignore
and.bazelrc
changes.- Doing so tested just fine for me locally, so 🤞.
- You may be able to revert the change to root
MODULE.bazel
andWORKSPACE
- Sorry for requesting those initially!
- It seems like ae0f4be worked and just needs a CI retry.
- Some nits
ae0f4be
to
353ec71
Compare
c4004be
to
1ddc60b
Compare
This reverts commit 0f0ffe6.
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; I'm just going to test it on our internal monorepo this morning to double check, but I don't expect any issues.
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.
I opened #3180 for the CI flake.
I'm just going to test it on our internal monorepo this morning to double check, but I don't expect any issues.
Things look good on my end. Approved.
Update rules_go to include bazel-contrib/rules_go#4298
Update gazelle to align with the version the rules_go bzlmod will bring in, and ensure the go.mod version is the same as bzlmod version.
Update go to 1.21 to include the
slices
library that some of the go.mod updates depend on.Fixes #2956.