{"action":"created","issue":{"url":"https://api.github.com/repos/PDAL/lambda/issues/3","repository_url":"https://api.github.com/repos/PDAL/lambda","labels_url":"https://api.github.com/repos/PDAL/lambda/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/PDAL/lambda/issues/3/comments","events_url":"https://api.github.com/repos/PDAL/lambda/issues/3/events","html_url":"https://github.com/PDAL/lambda/pull/3","id":461946499,"node_id":"MDExOlB1bGxSZXF1ZXN0MjkyNzU5MTAw","number":3,"title":"Add python extension","user":{"login":"mathieu1","id":7703352,"node_id":"MDQ6VXNlcjc3MDMzNTI=","avatar_url":"https://avatars0.githubusercontent.com/u/7703352?v=4","gravatar_id":"","url":"https://api.github.com/users/mathieu1","html_url":"https://github.com/mathieu1","followers_url":"https://api.github.com/users/mathieu1/followers","following_url":"https://api.github.com/users/mathieu1/following{/other_user}","gists_url":"https://api.github.com/users/mathieu1/gists{/gist_id}","starred_url":"https://api.github.com/users/mathieu1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mathieu1/subscriptions","organizations_url":"https://api.github.com/users/mathieu1/orgs","repos_url":"https://api.github.com/users/mathieu1/repos","events_url":"https://api.github.com/users/mathieu1/events{/privacy}","received_events_url":"https://api.github.com/users/mathieu1/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2019-06-28T09:33:56Z","updated_at":"2019-07-02T13:32:51Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/PDAL/lambda/pulls/3","html_url":"https://github.com/PDAL/lambda/pull/3","diff_url":"https://github.com/PDAL/lambda/pull/3.diff","patch_url":"https://github.com/PDAL/lambda/pull/3.patch"},"body":"The goal of this PR is to be able to `import pdal` in a lambda function (`python 3.7`).\r\n\r\nThis is work in progress. Steps required for completion include:\r\n- [x] make `python -c \"import pdal\"` work in the Docker container\r\n- [x] include the necessary python packages (pdal/python, numpy, cython, ...) in the lambda layer\r\n\r\n Currently I'm stuck at the first step with a segfault. The image seems to build fine. Then starting a shell in the container using `docker run --rm -it pdal-lambda:latest sh` I get:\r\n```shell\r\nsh-4.2# pdal --version\r\n-------------------------------------------------------------------------\r\npdal 1.9.1 (git-version: 49eef8)\r\n-------------------------------------------------------------------------\r\n\r\nsh-4.2# python -c \"import pdal\"\r\nSegmentation fault\r\n```\r\n\r\nAny pointers on how to move forward from here / debug would be greatly appreciated. Feel free to close in case the functionality is not desired in this repo."},"comment":{"url":"https://api.github.com/repos/PDAL/lambda/issues/comments/507678584","html_url":"https://github.com/PDAL/lambda/pull/3#issuecomment-507678584","issue_url":"https://api.github.com/repos/PDAL/lambda/issues/3","id":507678584,"node_id":"MDEyOklzc3VlQ29tbWVudDUwNzY3ODU4NA==","user":{"login":"hobu","id":87751,"node_id":"MDQ6VXNlcjg3NzUx","avatar_url":"https://avatars2.githubusercontent.com/u/87751?v=4","gravatar_id":"","url":"https://api.github.com/users/hobu","html_url":"https://github.com/hobu","followers_url":"https://api.github.com/users/hobu/followers","following_url":"https://api.github.com/users/hobu/following{/other_user}","gists_url":"https://api.github.com/users/hobu/gists{/gist_id}","starred_url":"https://api.github.com/users/hobu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hobu/subscriptions","organizations_url":"https://api.github.com/users/hobu/orgs","repos_url":"https://api.github.com/users/hobu/repos","events_url":"https://api.github.com/users/hobu/events{/privacy}","received_events_url":"https://api.github.com/users/hobu/received_events","type":"User","site_admin":false},"created_at":"2019-07-02T13:32:51Z","updated_at":"2019-07-02T13:32:51Z","author_association":"MEMBER","body":"PDAL has been having issues with `PDAL_PYTHON_LIBRARY` in other contexts. We should fix the issue there, but I'm happy to merge this PR as-is for now and re-push the layers. Thanks for the contribution!"}}
{"actor":{"display_login":"hobu"}}