Title: `pdal.Pipeline` + `filters.python` is broken on Python >= 3.8 · Issue #75 · PDAL/python · GitHub
Open Graph Title: `pdal.Pipeline` + `filters.python` is broken on Python >= 3.8 · Issue #75 · PDAL/python
X Title: `pdal.Pipeline` + `filters.python` is broken on Python >= 3.8 · Issue #75 · PDAL/python
Description: Starting in Python 3.8 (https://docs.python.org/3/whatsnew/3.8.html) C extensions to python shouldn't link against libpython: "On Unix, C extensions are no longer linked to libpython except on Android and Cygwin" libpdal_plugin_filter_py...
Open Graph Description: Starting in Python 3.8 (https://docs.python.org/3/whatsnew/3.8.html) C extensions to python shouldn't link against libpython: "On Unix, C extensions are no longer linked to libpython except on Andr...
X Description: Starting in Python 3.8 (https://docs.python.org/3/whatsnew/3.8.html) C extensions to python shouldn't link against libpython: "On Unix, C extensions are no longer linked to libpython excep...
Opengraph URL: https://github.com/PDAL/python/issues/75
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"`pdal.Pipeline` + `filters.python` is broken on Python >= 3.8","articleBody":"Starting in Python 3.8 (https://docs.python.org/3/whatsnew/3.8.html) C extensions to python shouldn't link against libpython:\r\n\r\n\"On Unix, C extensions are no longer linked to libpython except on Android and Cygwin\"\r\n\r\nlibpdal_plugin_filter_python.dylib does link against libpython however, and this is fine when invoking pipelines containing \"filters.python\" from the command line, but it breaks when pipelines are constructed/run by a python script (i.e. via `import pdal`). In this case libpython is loaded within a python process, and various errors ensue. For me on OSX with Python3.9, it results in a double-free of the `_heapq` module definition object.\r\n\r\nA workaround is to not link python_filter against libpython, and instead pass `-undefined dynamic_lookup` to the linker. This works for launching pipelines via `python`, but breaks running `pdal pipeline foo.json` on the command line. A hacky fix for the latter would be to call `dlopen(\"libpython.dylib\")` before loading python_filter if the code is not running in a python process.","author":{"url":"https://github.com/froody","@type":"Person","name":"froody"},"datePublished":"2020-12-07T13:08:38Z","url":"https://github.com/PDAL/python/issues/75"}
| 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:a3e92952-2bed-fb20-cb1b-893245061788 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E3A2:1DC4CC:1A4EFB3:22F2BB6:6B022013 |
| html-safe-nonce | 461f842ca6748cc7ca2b7a7c0dccf383ad3002877a03f83090d6fb7cf1a51cbf |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFM0EyOjFEQzRDQzoxQTRFRkIzOjIyRjJCQjY6NkIwMjIwMTMiLCJ2aXNpdG9yX2lkIjoiNjEyNjIwODE3MDE2ODgxOTczMSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 83a99882e9afe1c18bc1ef9d6714d7a9bb1f9196db0edca77540194332a3494f |
| hovercard-subject-tag | issue:758493425 |
| 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/PDAL/python/75/issue_layout |
| twitter:image | https://opengraph.githubassets.com/d9646f9b9356c769510ccc5b03153ba8a15e6fcbcf81535a437a79c79a0656d1/PDAL/python/issues/75 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/d9646f9b9356c769510ccc5b03153ba8a15e6fcbcf81535a437a79c79a0656d1/PDAL/python/issues/75 |
| og:image:alt | Starting in Python 3.8 (https://docs.python.org/3/whatsnew/3.8.html) C extensions to python shouldn't link against libpython: "On Unix, C extensions are no longer linked to libpython except on Andr... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | froody |
| hostname | github.com |
| expected-hostname | github.com |
| None | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| turbo-cache-control | no-preview |
| go-import | github.com/PDAL/python git https://github.com/PDAL/python.git |
| octolytics-dimension-user_id | 859797 |
| octolytics-dimension-user_login | PDAL |
| octolytics-dimension-repository_id | 125232078 |
| octolytics-dimension-repository_nwo | PDAL/python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 125232078 |
| octolytics-dimension-repository_network_root_nwo | PDAL/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 | 423dbb54c5e7bfecc838eb387c1435eb3d0e760d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width