dynamically cap the version of manylinux when installing from pip
Project description
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
Release history Release notifications | RSS feed
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.0.tar.gz
(2.8 kB
view hashes)
Built Distribution
Close
Hashes for manylinux_max-1.0.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b43ac32158e513411619a8d70d2106c08afe987a08ad10d73b1d083ca8257a2e |
|
MD5 | 8ef5303243e2202640214a02adaaa928 |
|
BLAKE2b-256 | 770a7cca393b255dfb3e76981e8e6ce9fd8c3a4ae3f71945f0caab59ff419884 |