Skip to content
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

Pin multibuild scripts to get manylinux1 wheels back #9216

Merged

Conversation

jtattermusch
Copy link
Contributor

Hotfix for #9180.

See #9180 (comment) for more context.

git clone https://github.com/matthew-brett/multibuild.git
(cd multibuild; git checkout 13a01725b0f0aa551ab34aa2311cdc1c77be4337)
Copy link
Contributor Author

Choose a reason for hiding this comment

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

For future reference, the manylinux version can be set by setting
MB_ML_VER=1 when invoking the build_wheel. But in our case it should only be done for x86_64 artifacts (aarch64 is only supported starting from manylinux2014)
https://github.com/matthew-brett/multibuild/blob/b89bb903e94308be79abefa4f436bf123ebb1313/travis_linux_steps.sh#L71

@haberman
Copy link
Member

Thanks Jan!

It looks like the Linux Python Release job failed, perhaps because this version of multibuild doesn't support Python 3.10?

ls: /opt/python/cp310-cp310/bin: No such file or directory

@jtattermusch
Copy link
Contributor Author

Thanks Jan!

It looks like the Linux Python Release job failed, perhaps because this version of multibuild doesn't support Python 3.10?

ls: /opt/python/cp310-cp310/bin: No such file or directory

Ok. I updated the PR:

  • I pinned multibuild at the last version that's currently available.
  • now setting MB_ML_VER explicitly for linux artifacts.

@jtattermusch
Copy link
Contributor Author

Thanks Jan!

It looks like the Linux Python Release job failed, perhaps because this version of multibuild doesn't support Python 3.10?

ls: /opt/python/cp310-cp310/bin: No such file or directory

Ok, I know what the problem is. It's not about multibuild version.

The issue is that manylinux1 doesn't have python3.10 support (and I assume it will never have it because it's too old).
The docker image quay.io/pypa/manylinux1_x86_64:latest only has python versions up to 3.9.

So for python3.10 we will need to opt for a newer version of manylinux image (which one? manylinux2010 or manylinux2014?)

@jtattermusch
Copy link
Contributor Author

@acozzette @haberman which manylinux version should we use for python3.10? We need to decide on that otherwise this PR will be stuck indefinitely.

@acozzette
Copy link
Member

I'm not very familiar with all this but I would vote for 2014 just because 2010 sounds pretty old at this point.

@haberman
Copy link
Member

haberman commented Dec 8, 2021

Can we try 2010? I think older is better here, since it increases our compatibility.

@acozzette
Copy link
Member

2010 sounds good to me.

@jtattermusch
Copy link
Contributor Author

I updated the python3.10 wheel build to use manylinux2010. Let's see what the tests say. If they pass, I think this PR is good to go.

@jtattermusch
Copy link
Contributor Author

Details

The wheels built by "Linux Python Release" job look good IMHO:
https://source.cloud.google.com/results/invocations/8f596554-2526-4504-9988-4123cff7b979/details

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants