Skip to main content

dynamically cap the version of manylinux when installing from pip

Project description

Build Status Azure DevOps coverage pre-commit.ci status

manylinux-max

dynamically cap the version of manylinux when installing from pip

installation

pip install manylinux-max

usage

install this package before trying to install other packages.

set the MANYLINUX_MAX environment variable to limit the candidate manylinux versions.

this is useful (for example) when using pip install --target to build a zip for aws lambda (which has an old libc version -- and likely a different libc version than your host machine).

pip install manylinux-max
MANYLINUX_MAX=2.26 pip install --target src -r requirements.txt

example error that you may encounter from aws lambda

ImportError: /lib64/libc.so.6: version `GLIBC_2.28' not found (required by /var/task/cryptography/hazmat/bindings/_rust.abi3.so)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

manylinux_max-1.0.1.tar.gz (2.8 kB view hashes)

Uploaded Source

Built Distribution

manylinux_max-1.0.1-py2.py3-none-any.whl (3.1 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page