[![Build Status](https://dev.azure.com/asottile/asottile/_apis/build/status/asottile.manylinux-max?branchName=main)](https://dev.azure.com/asottile/asottile/_build/latest?definitionId=75&branchName=main)
[![Azure DevOps coverage](https://img.shields.io/azure-devops/coverage/asottile/asottile/75/main.svg)](https://dev.azure.com/asottile/asottile/_build/latest?definitionId=75&branchName=main)
[![pre-commit.ci status](https://results.pre-commit.ci/badge/github/asottile/manylinux-max/main.svg)](https://results.pre-commit.ci/latest/github/asottile/manylinux-max/main)
manylinux-max
=============
dynamically cap the version of manylinux when installing from pip
## installation
```bash
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).
```bash
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)
```
Raw data
{
"_id": null,
"home_page": "https://github.com/asottile/manylinux-max",
"name": "manylinux-max",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.7",
"maintainer_email": "",
"keywords": "",
"author": "Anthony Sottile",
"author_email": "asottile@umich.edu",
"download_url": "https://files.pythonhosted.org/packages/61/35/f93364d9ed2e285db5c71f6c2e23934199d03f8a56bbbf871c794e923782/manylinux_max-1.0.1.tar.gz",
"platform": null,
"description": "[![Build Status](https://dev.azure.com/asottile/asottile/_apis/build/status/asottile.manylinux-max?branchName=main)](https://dev.azure.com/asottile/asottile/_build/latest?definitionId=75&branchName=main)\n[![Azure DevOps coverage](https://img.shields.io/azure-devops/coverage/asottile/asottile/75/main.svg)](https://dev.azure.com/asottile/asottile/_build/latest?definitionId=75&branchName=main)\n[![pre-commit.ci status](https://results.pre-commit.ci/badge/github/asottile/manylinux-max/main.svg)](https://results.pre-commit.ci/latest/github/asottile/manylinux-max/main)\n\nmanylinux-max\n=============\n\ndynamically cap the version of manylinux when installing from pip\n\n## installation\n\n```bash\npip install manylinux-max\n```\n\n## usage\n\ninstall this package before trying to install other packages.\n\nset the `MANYLINUX_MAX` environment variable to limit the candidate manylinux\nversions.\n\nthis is useful (for example) when using `pip install --target` to build a zip\nfor aws lambda (which has an old libc version -- and likely a different libc\nversion than your host machine).\n\n```bash\npip install manylinux-max\nMANYLINUX_MAX=2.26 pip install --target src -r requirements.txt\n```\n\n## example error that you may encounter from aws lambda\n\n```\nImportError: /lib64/libc.so.6: version `GLIBC_2.28' not found (required by /var/task/cryptography/hazmat/bindings/_rust.abi3.so)\n```\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "dynamically cap the version of manylinux when installing from pip",
"version": "1.0.1",
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"md5": "b16f06f4d10878325642fdd53c9a4064",
"sha256": "f6b1843343e925ad681381f2c2fd68adb226dc99bbd7a4c8bf76d0f78da0217b"
},
"downloads": -1,
"filename": "manylinux_max-1.0.1-py2.py3-none-any.whl",
"has_sig": false,
"md5_digest": "b16f06f4d10878325642fdd53c9a4064",
"packagetype": "bdist_wheel",
"python_version": "py2.py3",
"requires_python": ">=3.7",
"size": 3064,
"upload_time": "2022-12-21T19:11:13",
"upload_time_iso_8601": "2022-12-21T19:11:13.740429Z",
"url": "https://files.pythonhosted.org/packages/59/a0/0d50c3565cf2933142e7b231519208634161b3a1d34de66c0cfa720db093/manylinux_max-1.0.1-py2.py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"md5": "e44914b84bfcfd7a8149ee060dbeea29",
"sha256": "41ad3de14814e95ba8a0f30f82b2eafc0839f411d8294850e049f7505241d4ef"
},
"downloads": -1,
"filename": "manylinux_max-1.0.1.tar.gz",
"has_sig": false,
"md5_digest": "e44914b84bfcfd7a8149ee060dbeea29",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.7",
"size": 2812,
"upload_time": "2022-12-21T19:11:15",
"upload_time_iso_8601": "2022-12-21T19:11:15.032518Z",
"url": "https://files.pythonhosted.org/packages/61/35/f93364d9ed2e285db5c71f6c2e23934199d03f8a56bbbf871c794e923782/manylinux_max-1.0.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2022-12-21 19:11:15",
"github": true,
"gitlab": false,
"bitbucket": false,
"github_user": "asottile",
"github_project": "manylinux-max",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"tox": true,
"lcname": "manylinux-max"
}