Dependencies: dataplane (Thrift) move to pip3 + SHA256 pinning of pip… #12982
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Signed-off-by: moderation [email protected]
Risk Level: Low
Testing:
bazel --nohome_rc test //test/extensions/filters/network/kafka/...
bazel --nohome_rc test //test/extensions/filters/network/thrift_proxy/...
/cc @htuch, @antoniovicente in case this triggers for Thrift the same issue you had with the Kafka transition to pip3 and @zuercher, @rgs1 because Thrift. I tried to convert the Twitter Thrift stuff to pip3 but couldn't make it work. The code is super old and deprecated. Couldn't get the Finagle protocol bits to be seen by
client.py
andserver.py
.Docs Changes:
DEPENDENCY_POLICY.md
if we think this approach is OK (SHA256 pinning of Python requirements.txt #12951 (comment))docs/generate_external_dep_rst.py
as we lose CPE metadata when moving frombazel/repository_location.bzl
to pip3 importRelease Notes: none required
Comment: I've included CPE metadata as comments in
bazel/repositories_extra.bzl
. I thought this would be better for programmatic inclusion indocs/generate_external_dep_rst.py