Skip to content
This repository was archived by the owner on Jan 14, 2026. It is now read-only.

Conversation

@thesayyn
Copy link
Collaborator

This is not final yet, I just want to test out with rules_python first. Welcome to review though.

Also due to bazelbuild/bazel#20297 i can't write unit tests for the incompatible flag. I'll look for a workaround.

@thesayyn thesayyn requested review from a team and comius as code owners November 22, 2023 23:34
Copy link
Collaborator

@comius comius left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i can't write unit tests for the incompatible flag. I'll look for a workaround.

I don't mind if some tests are omitted at this level of granularity. Also the code is copied from builtin proto_common.bzl, and already tested there on a slightly bigger granularity (i.e there are tests for proto_library/proto_lang_toolchain/java_proto_library)

@thesayyn
Copy link
Collaborator Author

I don't mind if some tests are omitted at this level of granularity. Also the code is copied from builtin proto_common.bzl, and already tested there on a slightly bigger granularity (i.e there are tests for proto_library/proto_lang_toolchain/java_proto_library)

hmm, I agree but I still believe we should test this repo with the incompatible flag to be safe even if it's not this granular.

@thesayyn thesayyn force-pushed the introduce_toolchains_helper branch from 66cc0df to 9befa0f Compare November 23, 2023 20:48
@thesayyn
Copy link
Collaborator Author

thesayyn commented Nov 23, 2023

@comius I propose adding a new test target to bazelci here that tests the incompatible flag against a prerelease of bazel. i can make that a follow-up

@thesayyn thesayyn force-pushed the introduce_toolchains_helper branch from 2832da5 to 251af60 Compare November 23, 2023 20:53
@thesayyn thesayyn requested a review from comius November 23, 2023 20:59
@thesayyn
Copy link
Collaborator Author

@comius PTAL. this is ready.

@comius comius added the ready to pull Required label for automatic import to Google label Nov 29, 2023
@comius comius merged commit f9b0b88 into main Nov 29, 2023
comius added a commit that referenced this pull request Feb 12, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

ready to pull Required label for automatic import to Google

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants