Title: envkey-fetch_X.X.X_linux_arm64 missing from `ext/` · Issue #8 · envkey/envkey-python · GitHub
Open Graph Title: envkey-fetch_X.X.X_linux_arm64 missing from `ext/` · Issue #8 · envkey/envkey-python
X Title: envkey-fetch_X.X.X_linux_arm64 missing from `ext/` · Issue #8 · envkey/envkey-python
Description: Hello. Now that I finally have an Apple silicon Mac, I've been experimenting with trying to get various projects running on it. For projects where we build an arm64 Ubuntu Docker container, and install the EnvKey Python package, running ...
Open Graph Description: Hello. Now that I finally have an Apple silicon Mac, I've been experimenting with trying to get various projects running on it. For projects where we build an arm64 Ubuntu Docker container, and ins...
X Description: Hello. Now that I finally have an Apple silicon Mac, I've been experimenting with trying to get various projects running on it. For projects where we build an arm64 Ubuntu Docker container, and...
Opengraph URL: https://github.com/envkey/envkey-python/issues/8
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"envkey-fetch_X.X.X_linux_arm64 missing from `ext/`","articleBody":"Hello.\r\n\r\nNow that I finally have an Apple silicon Mac, I've been experimenting with trying to get various projects running on it. For projects where we build an arm64 Ubuntu Docker container, and install the EnvKey Python package, running the project / tests fails with this stacktrace:\r\n\r\n```\r\nTraceback (most recent call last):\r\n File \"manage.py\", line 6, in \u003cmodule\u003e\r\n import envkey # NOQA\r\n File \"/usr/local/lib/python3.8/dist-packages/envkey/__init__.py\", line 7, in \u003cmodule\u003e\r\n load(is_init=True)\r\n File \"/usr/local/lib/python3.8/dist-packages/envkey/loader.py\", line 26, in load\r\n fetch_res = fetch_env(key, cache_enabled=cache_enabled)\r\n File \"/usr/local/lib/python3.8/dist-packages/envkey/fetch.py\", line 55, in fetch_env\r\n res = subprocess.check_output(args).decode(encoding=\"utf-8\").rstrip()\r\n File \"/usr/lib/python3.8/subprocess.py\", line 415, in check_output\r\n return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,\r\n File \"/usr/lib/python3.8/subprocess.py\", line 493, in run\r\n with Popen(*popenargs, **kwargs) as process:\r\n File \"/usr/lib/python3.8/subprocess.py\", line 858, in __init__\r\n self._execute_child(args, executable, preexec_fn, close_fds,\r\n File \"/usr/lib/python3.8/subprocess.py\", line 1704, in _execute_child\r\n raise child_exception_type(errno_num, err_msg, err_filename)\r\nFileNotFoundError: [Errno 2] No such file or directory: '/usr/local/lib/python3.8/dist-packages/envkey/ext/envkey-fetch_1.2.9_linux_arm64/envkey-fetch'\r\n```\r\n\r\nI've experimented a little, and found that I can install and run `envkey-fetch` manually inside the container (presumably this installs the linux_arm64 version), but the python package doesn't use the one on the path. Obviously the easiest fix here is to include the linux_arm64 `envkey-fetch` inside `ext/` - if that's a bad idea for reasons that I'm unaware of, I'd be happy to open a PR that tries to fall back to an `envkey-fetch` executable on the path.\r\n\r\n","author":{"url":"https://github.com/drcongo","@type":"Person","name":"drcongo"},"datePublished":"2021-11-02T14:03:41.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/8/envkey-python/issues/8"}
| 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:26c60598-3489-00d7-66a7-970357be2eed |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 874C:7A74F:233166F:2EE86FE:6A5D7504 |
| html-safe-nonce | 03c9b7297cfbafadd3a16aa9c55509a718576322e0b486b14933abb232c2d212 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NzRDOjdBNzRGOjIzMzE2NkY6MkVFODZGRTo2QTVENzUwNCIsInZpc2l0b3JfaWQiOiIzMzE2MjExNTE4ODAzODk5NjUyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | b9228caa263594ad1912414d1dfde241348a0a6275bf9af08abc5fdf70f1b58f |
| hovercard-subject-tag | issue:1042407400 |
| 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/envkey/envkey-python/8/issue_layout |
| twitter:image | https://opengraph.githubassets.com/25026a1d467965604d3079fc9a27dd8ffaf8df0ff95ac97e761d65ed53cb2da2/envkey/envkey-python/issues/8 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/25026a1d467965604d3079fc9a27dd8ffaf8df0ff95ac97e761d65ed53cb2da2/envkey/envkey-python/issues/8 |
| og:image:alt | Hello. Now that I finally have an Apple silicon Mac, I've been experimenting with trying to get various projects running on it. For projects where we build an arm64 Ubuntu Docker container, and ins... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | drcongo |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5290d7e14309ad1e76106a9c4237bd1041517e83ea182c8ab756752cb0c6940b |
| turbo-cache-control | no-preview |
| go-import | github.com/envkey/envkey-python git https://github.com/envkey/envkey-python.git |
| octolytics-dimension-user_id | 25087335 |
| octolytics-dimension-user_login | envkey |
| octolytics-dimension-repository_id | 113816465 |
| octolytics-dimension-repository_nwo | envkey/envkey-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 113816465 |
| octolytics-dimension-repository_network_root_nwo | envkey/envkey-python |
| 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 | 9c975978430e9ad293956f2bbdaf153b1bd84a99 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width