Title: Publish musl wheels to PyPI · Issue #91 · aws/aws-lambda-python-runtime-interface-client · GitHub
Open Graph Title: Publish musl wheels to PyPI · Issue #91 · aws/aws-lambda-python-runtime-interface-client
X Title: Publish musl wheels to PyPI · Issue #91 · aws/aws-lambda-python-runtime-interface-client
Description: Currently only manylinux wheels are provided (screenshot below). As such, in order to install this package in musl-based distros such as 'Alpine` requires to either install system build deps. If however musl wheels will be published, pac...
Open Graph Description: Currently only manylinux wheels are provided (screenshot below). As such, in order to install this package in musl-based distros such as 'Alpine` requires to either install system build deps. If ho...
X Description: Currently only manylinux wheels are provided (screenshot below). As such, in order to install this package in musl-based distros such as 'Alpine` requires to either install system build deps. I...
Opengraph URL: https://github.com/aws/aws-lambda-python-runtime-interface-client/issues/91
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Publish musl wheels to PyPI","articleBody":"Currently only `manylinux` wheels are provided (screenshot below). As such, in order to install this package in `musl`-based distros such as 'Alpine` requires to either install system build deps. If however musl wheels will be published, package could be installed without any system deps hence simplifying the install process significantly.\r\n\r\nhttps://github.com/pypa/cibuildwheel might be of use to simplify that process\r\n\r\nInstalling on debian-based python without any system deps it installs just fine:\r\n\r\n```sh\r\n➜ docker run --rm -it python:3.10-slim pip install awslambdaric\r\nCollecting awslambdaric\r\n Downloading awslambdaric-2.0.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (338 kB)\r\n ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 338.5/338.5 kB 6.2 MB/s eta 0:00:00\r\nCollecting simplejson==3.17.2\r\n Downloading simplejson-3.17.2.tar.gz (83 kB)\r\n ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 83.2/83.2 kB 29.7 MB/s eta 0:00:00\r\n Preparing metadata (setup.py) ... done\r\nBuilding wheels for collected packages: simplejson\r\n Building wheel for simplejson (setup.py) ... done\r\n Created wheel for simplejson: filename=simplejson-3.17.2-py3-none-any.whl size=55475 sha256=92a2435595030632bd1adc0b05cdd4184fdd2196144e2e09a31a39ae8d88d6dd\r\n Stored in directory: /root/.cache/pip/wheels/4c/d2/65/e6ec94ca89c44483d8010d15e5fbead72b6411e01d26f90a31\r\nSuccessfully built simplejson\r\nInstalling collected packages: simplejson, awslambdaric\r\nSuccessfully installed awslambdaric-2.0.4 simplejson-3.17.2\r\nWARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv\r\n\r\n[notice] A new release of pip available: 22.2.2 -\u003e 22.3.1\r\n[notice] To update, run: pip install --upgrade pip\r\n```\r\n\r\nHowever installing it on `alpine` python without system deps currently results in this error:\r\n\r\n```sh\r\n➜ docker run --rm -it python:3.10-alpine pip install awslambdaric\r\nCollecting awslambdaric\r\n Downloading awslambdaric-2.0.4.tar.gz (4.4 MB)\r\n ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.4/4.4 MB 37.0 MB/s eta 0:00:00\r\n Preparing metadata (setup.py) ... error\r\n error: subprocess-exited-with-error\r\n\r\n × python setup.py egg_info did not run successfully.\r\n │ exit code: 1\r\n ╰─\u003e [13 lines of output]\r\n Error: cmake is not installed.\r\n Traceback (most recent call last):\r\n File \"\u003cstring\u003e\", line 2, in \u003cmodule\u003e\r\n File \"\u003cpip-setuptools-caller\u003e\", line 34, in \u003cmodule\u003e\r\n File \"/tmp/pip-install-c8hn2qrd/awslambdaric_63bc53b8fb0343188f4f437787e555d4/setup.py\", line 95, in \u003cmodule\u003e\r\n ext_modules=get_runtime_client_extension(),\r\n File \"/tmp/pip-install-c8hn2qrd/awslambdaric_63bc53b8fb0343188f4f437787e555d4/setup.py\", line 46, in get_runtime_client_extension\r\n extra_link_args=get_curl_extra_linker_flags(),\r\n File \"/tmp/pip-install-c8hn2qrd/awslambdaric_63bc53b8fb0343188f4f437787e555d4/setup.py\", line 19, in get_curl_extra_linker_flags\r\n check_call([\"./scripts/preinstall.sh\"])\r\n File \"/usr/local/lib/python3.10/subprocess.py\", line 369, in check_call\r\n raise CalledProcessError(retcode, cmd)\r\n subprocess.CalledProcessError: Command '['./scripts/preinstall.sh']' returned non-zero exit status 1.\r\n [end of output]\r\n\r\n note: This error originates from a subprocess, and is likely not a problem with pip.\r\nerror: metadata-generation-failed\r\n\r\n× Encountered error while generating package metadata.\r\n╰─\u003e See above for output.\r\n\r\nnote: This is an issue with the package mentioned above, not pip.\r\nhint: See above for details.\r\n\r\n[notice] A new release of pip available: 22.2.2 -\u003e 22.3.1\r\n[notice] To update, run: pip install --upgrade pip\r\n```\r\n\r\n---\r\n\r\nhttps://pypi.org/project/awslambdaric/#files\r\n\r\n\u003cimg width=\"824\" alt=\"image\" src=\"https://user-images.githubusercontent.com/932940/203576067-a231e3cb-8467-4816-a698-b886917afb29.png\"\u003e","author":{"url":"https://github.com/miki725","@type":"Person","name":"miki725"},"datePublished":"2022-11-23T14:56:16.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/91/aws-lambda-python-runtime-interface-client/issues/91"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:b92d66e8-b4b1-bcb4-e564-1a436d05f20d |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D51A:3A4603:FDC66C:16A3C91:6A63547C |
| html-safe-nonce | c76ed099f8b80339e6501d7bd506ff3db8cfe0f9a9bfcf4d497d50d26c67fc9c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENTFBOjNBNDYwMzpGREM2NkM6MTZBM0M5MTo2QTYzNTQ3QyIsInZpc2l0b3JfaWQiOiI0NDc5ODc4OTg4NjM2MDUwNTU2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 3fffe1634df7ad71a04be2627598a85bcda4cd28d81f1d0fd67e7aaba7c34f84 |
| hovercard-subject-tag | issue:1461911553 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/aws/aws-lambda-python-runtime-interface-client/91/issue_layout |
| twitter:image | https://opengraph.githubassets.com/c3f23682f06de5b86d0f3fccfbf59c25d437e2db6b8cc51f38a907b48c726e8a/aws/aws-lambda-python-runtime-interface-client/issues/91 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c3f23682f06de5b86d0f3fccfbf59c25d437e2db6b8cc51f38a907b48c726e8a/aws/aws-lambda-python-runtime-interface-client/issues/91 |
| og:image:alt | Currently only manylinux wheels are provided (screenshot below). As such, in order to install this package in musl-based distros such as 'Alpine` requires to either install system build deps. If ho... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | miki725 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 59e55daad7174ca59d63c6974d58276ccb5477442e550bebb3c035e1bef11c94 |
| turbo-cache-control | no-preview |
| go-import | github.com/aws/aws-lambda-python-runtime-interface-client git https://github.com/aws/aws-lambda-python-runtime-interface-client.git |
| octolytics-dimension-user_id | 2232217 |
| octolytics-dimension-user_login | aws |
| octolytics-dimension-repository_id | 292411453 |
| octolytics-dimension-repository_nwo | aws/aws-lambda-python-runtime-interface-client |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 292411453 |
| octolytics-dimension-repository_network_root_nwo | aws/aws-lambda-python-runtime-interface-client |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 990295d92a4cc7b63fbbd83a046217cd7d77d49c |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width