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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 2 Python 3

File details

Details for the file manylinux_max-1.0.1.tar.gz.

File metadata

  • Download URL: manylinux_max-1.0.1.tar.gz
  • Upload date:
  • Size: 2.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.6

File hashes

Hashes for manylinux_max-1.0.1.tar.gz
Algorithm Hash digest
SHA256 41ad3de14814e95ba8a0f30f82b2eafc0839f411d8294850e049f7505241d4ef
MD5 e44914b84bfcfd7a8149ee060dbeea29
BLAKE2b-256 6135f93364d9ed2e285db5c71f6c2e23934199d03f8a56bbbf871c794e923782

See more details on using hashes here.

File details

Details for the file manylinux_max-1.0.1-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for manylinux_max-1.0.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 f6b1843343e925ad681381f2c2fd68adb226dc99bbd7a4c8bf76d0f78da0217b
MD5 b16f06f4d10878325642fdd53c9a4064
BLAKE2b-256 59a00d50c3565cf2933142e7b231519208634161b3a1d34de66c0cfa720db093

See more details on using hashes here.

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