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.1.tar.gz
(2.8 kB
view hashes)
Built Distribution
Close
Hashes for manylinux_max-1.0.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f6b1843343e925ad681381f2c2fd68adb226dc99bbd7a4c8bf76d0f78da0217b |
|
MD5 | b16f06f4d10878325642fdd53c9a4064 |
|
BLAKE2b-256 | 59a00d50c3565cf2933142e7b231519208634161b3a1d34de66c0cfa720db093 |