-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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][build] Fix pulsar-client-python installation on ARM arch #22733
Conversation
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
Looks like the HEREDOC syntax isn't supported in the GitHub Actions VM. |
It might require setting |
Another advice is to prefix the Dockerfile with |
@nodece Can you take a look as soon as possible, because this PR is marked as release/blocker |
f55e233
to
0d56114
Compare
/pulsarbot rerun-failure-checks |
I'm using podman to build the Pulsar image, it works fine. The docker may not support HEREDOC in the GitHub Actions. Use |
No libre2.so..., Remove the |
Signed-off-by: Zixuan Liu <[email protected]>
ebe0e82
to
d53c411
Compare
I provided the links that explained what needs to be done to support the syntax. It would be great to start using HEREDOC syntax. Adding |
It sounds like I should have enabled both configurations, and when I enabled one configuration it was invalid(this idea has been tried). Use echo -e is simpler, and we also need to move the installation command of the pulsar-client-python to the finally stage to fix the libre.so issue. |
@coderzc Could you cherry-pick this PR to branch-3.3? |
Signed-off-by: Zixuan Liu <[email protected]> (cherry picked from commit 2308f27)
Motivation
The [email protected] is installed by apk, and [email protected] requires grpcio>=1.60.0, which causes the grpcio to be reinstalled by pip, but the grpcio doesn't provide the arm64 wheel, and then pip3 will take a long time to compile the grpcio locally, please see job for detailed compilation information.
Contexts:
Modifications
pip install
with--only-binary
option avoids compiling the grpcio locally, so the python-deps stage is unnecessaryVerifying this change
Verified locally and works fine. After this PR has been merged, I will add a job to verify the multi-arch image.
Documentation
doc
doc-required
doc-not-needed
doc-complete