-
Notifications
You must be signed in to change notification settings - Fork 305
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
CLion plugin is incompatible to bazel flag incompatible_disable_target_provider_fields #4714
Comments
I just noticed that this required moving the minimum supported version of Bazel to be 4.0.0. I'm not sure how many users are still on older versions, we can discuss this in the SIG meeting |
@mai93 did you receive feedback in the SIC meeting? With the release of Bazel 7, Bazel 4 is now deprecated. I don't know your user base, but to me requiring at least Bazel 4.0.0 from users seems like a reasonable thing. |
I think we already have Bazel 4.0.0 as the oldest supported Bazel version for a while now 8ec7779 |
So this issue is unblocked then by now? |
I think we will keep it at P3 for now, meaning that we do not have a plan to fix it but we can review PRs that address this. |
Thank you for contributing to the IntelliJ repository! This issue has been marked as stale since it has not had any activity in the last 6 months. It will be closed in the next 14 days unless any other activity occurs. If you think this issue is still relevant and should stay open, please post any comment here and the issue will no longer be marked as stale. |
The issue is still relevant |
Description of the bug:
A Bazel project using
incompatible_disable_target_provider_fields
to make sure it is not by accident using deprecated behavior is not compatible to the CLion Bazel plugin.Desired solution:
Changing the implementation to use the forward path pattern and then to use
incompatible_disable_target_provider_fields
in the CI to make sure the issue does not reappear until Bazel flips this flag in a future release.What's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.
.bazelrc
file in the project and add--incompatible_disable_target_provider_fields
Exemplary error:
Which Intellij IDE are you using? Please provide the specific version.
CLion 2023.1.1 Build #CL-231.8109.2222
What programming languages and tools are you using? Please provide specific versions.
Python 3.8, rules_python 0.8.0, bazel_skylib 1.4.1
What Bazel plugin version are you using?
2023.03.10.0.1-api-version-231
Have you found anything relevant by searching the web?
There are several automatically created issues which are closed without any comment:
Linked to the tracking issue for this incompatibility flag is this issue bazel-contrib/SIG-rules-authors#36. An existing bug bounty for resolving this is in my opinion a sign that the Bazel team indeed intends to flip this flag.
Any other information, logs, or outputs that you want to share?
To my knowledge flipping this flag (with an adapted implementation of course) is backwards compatible up until at least Bazel 4.0.0. I don't know what the status for even older versions is.
The text was updated successfully, but these errors were encountered: