-
Notifications
You must be signed in to change notification settings - Fork 358
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
Incorrect glibc version used in x86_64 wheels #1117
Comments
I've been exploring the CI and build process to try and determine why this is happening. It appears to me that the process to build and upload the Python wheels is manual and the commands in Here are the commands to build the AArch64 manylinux wheels: # MAC: Aarch64 Manylinux and OSX
docker build -t wheelmaker:latest -f Dockerfile.manylinux .
docker run --rm -v .:/io wheelmaker build --release -o wheels-cpu -m mistralrs-pyo3/Cargo.toml --interpreter python3.10
docker run --rm -v .:/io wheelmaker build --release -o wheels-cpu -m mistralrs-pyo3/Cargo.toml --interpreter python3.11
docker run --rm -v .:/io wheelmaker build --release -o wheels-cpu -m mistralrs-pyo3/Cargo.toml --interpreter python3.12 Here are the commands to build the x64 manylinux wheels: # WINDOWS: x86_64 Manylinux, Windows
maturin build -o wheels-cpu -m mistralrs-pyo3/Cargo.toml --interpreter python3.10
maturin build -o wheels-cpu -m mistralrs-pyo3/Cargo.toml --interpreter python3.11
maturin build -o wheels-cpu -m mistralrs-pyo3/Cargo.toml --interpreter python3.12 It seems like the x86_64 builds should also use the Docker container in order to avoid compiling using the host system's glibc version for broader Linux compatibility. #1061 may be related to this. |
Hi @jncraton! You are correct, I will include this process in the next release. |
Sounds great! Thanks for taking the time to look into this and make this adjustment for future packages. |
Thanks! Actually, I'll reopen this so we can close it when it is fixed in 0.4.1 - will update you then! |
That makes sense. Thanks for the update. |
I'm attempting to install the most recent version of the
mistralrs
Python package on an Ubuntu Jammy system. Unfortunately,pip install
fails because there is no matching distribution:There is a built distribution for manylinux x86_64 listed on PyPI:
The required version of gcc (2.39+) is only about a year old. My Jammy system is still on 2.35 from 2022, and that is preventing a matching built distribution from being found.
The ARM64 built distribution only requires glibc 2.17+:
Linux users are often using older versions of glibc. Would it be possible to provide built distributions for Linux that require only glibc 2.17+ on x86_64 as well as ARM64?
The text was updated successfully, but these errors were encountered: