Skip to content
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 dupe_check for Bazel 7 #190

Merged
merged 4 commits into from Feb 29, 2024
Merged

Conversation

hjellek
Copy link
Contributor

@hjellek hjellek commented Feb 14, 2024

Fixes #180

As far as I can tell the problem comes from bazelbuild/bazel#16303

Depending on the executable directly solves this issue, as well as being easier to understand (for me, at least)

Depending on rules_python directly might actually not be necessary but from what I've read it's the best practice as there seems to be ongoing work on moving the python rules out from Bazel itself.

Suggestions are welcome!

@hjellek
Copy link
Contributor Author

hjellek commented Feb 26, 2024

Realized now that this change requires Bazel 6 or newer due to the rules_python package.

@plaird any thoughts on this? Is it a requirement to support Bazel 5 for rules_spring?

@plaird
Copy link
Contributor

plaird commented Feb 29, 2024

We can go with Bazel 6. Users of older Bazels can refer to an older commit.

@plaird plaird merged commit 758565c into salesforce:main Feb 29, 2024
1 check passed
@hjellek hjellek deleted the fix-python-scripts branch February 29, 2024 07:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

dupeclassescheck_enable = True does not work with Bazel 7.0
2 participants