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
Build Python wheels with tag manylinux2010 #20282
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.
👍
RUN /opt/python/cp37-cp37m/bin/pip install cython | ||
|
||
#################################################### | ||
# Install auditwheel with fix for namespace packages |
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.
Is this necessary?
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.
For infrastructure code, I think pin the version of auditwheel is better than always use the latest version.
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.
Agree. The question is whether the install from a git repository is still necessary or not.
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.
I will investigate and see if I can remove all of the hack, or part of the hack 👌
Would this by any chance help with the problem described here: #20100 (comment) (it's preventing us from upgrading third_party/boringssl)? Update: it seems this would help because manylinux2010 has gcc8.3.1
|
@jtattermusch As commented in #20100, this will be helpful eventually. But for now, we won't be able to remove |
@jtattermusch PTALA. All failures are not-related to this PR. |
@@ -79,12 +79,12 @@ ${SETARCH_CMD} "${PYTHON}" tools/distrib/python/grpcio_tools/setup.py bdist_whee | |||
if [ "$GRPC_BUILD_MANYLINUX_WHEEL" != "" ] | |||
then | |||
for wheel in dist/*.whl; do | |||
"${AUDITWHEEL}" show "$wheel" | tee /dev/stderr | grep \"manylinux1 | |||
"${AUDITWHEEL}" show "$wheel" | tee /dev/stderr | grep -E -w 'manylinux(1|2010)_(x86_64|i686)' |
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.
Nice change!
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.
Let's see if the tests are happy.