Title: Unable to import module 'api': /lib64/libc.so.6: version `GLIBC_2.28' not found (required by /tmp/sls-py-req/cryptography/hazmat/bindings/_rust.abi3.so) · Issue #765 · serverless/serverless-python-requirements · GitHub
Open Graph Title: Unable to import module 'api': /lib64/libc.so.6: version `GLIBC_2.28' not found (required by /tmp/sls-py-req/cryptography/hazmat/bindings/_rust.abi3.so) · Issue #765 · serverless/serverless-python-requirements
X Title: Unable to import module 'api': /lib64/libc.so.6: version `GLIBC_2.28' not found (required by /tmp/sls-py-req/cryptography/hazmat/bindings/_rust.abi3.so) · Issue #765 · serverless/serverless-python-requirements
Description: Are you certain it's a bug? Yes, it looks like a bug Are you using the latest plugin release? Yes, I'm using the latest plugin release Is there an existing issue for this? I have searched existing issues, it hasn't been reported yet Issu...
Open Graph Description: Are you certain it's a bug? Yes, it looks like a bug Are you using the latest plugin release? Yes, I'm using the latest plugin release Is there an existing issue for this? I have searched existing ...
X Description: Are you certain it's a bug? Yes, it looks like a bug Are you using the latest plugin release? Yes, I'm using the latest plugin release Is there an existing issue for this? I have searched e...
Opengraph URL: https://github.com/serverless/serverless-python-requirements/issues/765
X: @github
Domain: github.com
IPv4 address: 140.82.114.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Unable to import module 'api': /lib64/libc.so.6: version `GLIBC_2.28' not found (required by /tmp/sls-py-req/cryptography/hazmat/bindings/_rust.abi3.so)","articleBody":"### Are you certain it's a bug?\n\n- [X] Yes, it looks like a bug\n\n### Are you using the latest plugin release?\n\n- [X] Yes, I'm using the latest plugin release\n\n### Is there an existing issue for this?\n\n- [X] I have searched existing issues, it hasn't been reported yet\n\n### Issue description\n\nI get the below error after deploy serverless lambda function.\r\n\r\nUnable to import module 'api': /lib64/libc.so.6: version `GLIBC_2.28' not found (required by /tmp/sls-py-req/cryptography/hazmat/bindings/_rust.abi3.so)\r\n\r\npython runtime: 3.9\n\n### Service configuration (serverless.yml) content\n\n```yaml\npythonRequirements:\r\n dockerizePip: non-linux \r\n zip: true\r\n useDownloadCache: true\r\n useStaticCache: true\r\n staticCacheMaxVersions: 10\r\n slim: true\r\n # layer: true\r\n strip: false\r\n slimPatternsAppendDefaults: false\r\n slimPatterns:\r\n - '**/*.py[c|o]'\r\n - '**/__pycache__*'\r\n - '**/*.egg-info*'\r\n noDeploy:\r\n - pytest\r\n - boto3\r\n - botocore\r\n - docutils\r\n - jmespath\r\n - pip\r\n - python-dateutil\r\n - s3transfer\r\n - setuptools\r\n - six\n```\n\n\n### Command name and used flags\n\nsls deploy --stage dev --region ap-east-1 --verbose \n\n### Command output\n\n```shell\nAdding Python requirements helper to apis/xxxxx\r\nAdding Python requirements helper to apis/yyyyy\r\nGenerated requirements from /home/runner/work/apis/xxxxx/requirements.txt in /home/runner/work/.serverless/apis/xxxxx/requirements.txt\r\nInstalling requirements from \"/home/runner/.cache/serverless-python-requirements/52e8e73b448018a1369d4f64ef169579fb6397704f9a51744dfa78c2a6e65611_x86_64_slspyc/requirements.txt\"\r\nUsing download cache directory /home/runner/.cache/serverless-python-requirements/downloadCacheslspyc\r\nRunning ...\r\nGenerated requirements from /home/runner/work/apis/yyyyy/requirements.txt in /home/runner/work/.serverless/apis/yyyyy/requirements.txt\r\nInstalling requirements from \"/home/runner/.cache/serverless-python-requirements/deedc524f94a2ae84b643da28db4779abd06c0e4362c975c7473481cdbcc8a6f_x86_64_slspyc/requirements.txt\"\r\nUsing download cache directory /home/runner/.cache/serverless-python-requirements/downloadCacheslspyc\r\nRunning ...\r\nZipping required Python packages for apis/xxxxx\r\nZipping required Python packages for apis/yyyyy\r\nExcluding development dependencies for function \"xxxxx\"\r\nExcluding development dependencies for function \"yyyyy\"\r\nRemoving Python requirements helper from apis/xxxxx\r\nRemoving Python requirements helper from apis/yyyyy\r\nInjecting required Python packages to package\n```\n\n\n### Environment information\n\n```shell\nRunning \"serverless\" from node_modules\r\nFramework Core: 3.22.0 (local) 3.29.0 (global)\r\nPlugin: 6.2.2\r\nSDK: 4.3.2\n```\n","author":{"url":"https://github.com/Areix","@type":"Person","name":"Areix"},"datePublished":"2023-04-07T14:31:50Z","url":"https://github.com/serverless/serverless-python-requirements/issues/765"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| 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:3297935b-268d-fca6-3ca9-ed661f374ebc |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 86AC:346CFE:2756320:33A96BC:6B042C04 |
| html-safe-nonce | 9b1abc35f76a6889cdecd461db3a1eb09670310c2ba0d606c0033388665add72 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NkFDOjM0NkNGRToyNzU2MzIwOjMzQTk2QkM6NkIwNDJDMDQiLCJ2aXNpdG9yX2lkIjoiMTU1NDU1NDcxMTk1Nzk0NDM2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 880a7cf53349ad2aa3cf522a4e5af911f46059f0cfe933ac644aee3c28d11d9f |
| hovercard-subject-tag | issue:1658868656 |
| 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/serverless/serverless-python-requirements/765/issue_layout |
| twitter:image | https://opengraph.githubassets.com/cc7f8c72a8d21eb13b5697921fc68b6c072d21d9ed6df94cc46183c4edd9897b/serverless/serverless-python-requirements/issues/765 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/cc7f8c72a8d21eb13b5697921fc68b6c072d21d9ed6df94cc46183c4edd9897b/serverless/serverless-python-requirements/issues/765 |
| og:image:alt | Are you certain it's a bug? Yes, it looks like a bug Are you using the latest plugin release? Yes, I'm using the latest plugin release Is there an existing issue for this? I have searched existing ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Areix |
| hostname | github.com |
| expected-hostname | github.com |
| None | b7a1d2b9101496921b08579fbee988d014345aef2f5bd660d1f8c7332d81560e |
| turbo-cache-control | no-preview |
| go-import | github.com/serverless/serverless-python-requirements git https://github.com/serverless/serverless-python-requirements.git |
| octolytics-dimension-user_id | 13742415 |
| octolytics-dimension-user_login | serverless |
| octolytics-dimension-repository_id | 76508594 |
| octolytics-dimension-repository_nwo | serverless/serverless-python-requirements |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 76508594 |
| octolytics-dimension-repository_network_root_nwo | serverless/serverless-python-requirements |
| 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 | c3dd496c3da6ea6b77e69c09279d2b81604654f1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width