Title: [MNT]: Pybind11 transition plan · Issue #23846 · matplotlib/matplotlib · GitHub
Open Graph Title: [MNT]: Pybind11 transition plan · Issue #23846 · matplotlib/matplotlib
X Title: [MNT]: Pybind11 transition plan · Issue #23846 · matplotlib/matplotlib
Description: We intend to switch the C/C++ extension build system to use pybind11 as discussed in this week's call. There is a demonstration in PR #23787 showing that the approach works and listing the pros and cons. It is too much work to do in a si...
Open Graph Description: We intend to switch the C/C++ extension build system to use pybind11 as discussed in this week's call. There is a demonstration in PR #23787 showing that the approach works and listing the pros and...
X Description: We intend to switch the C/C++ extension build system to use pybind11 as discussed in this week's call. There is a demonstration in PR #23787 showing that the approach works and listing the pros...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/23846
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[MNT]: Pybind11 transition plan","articleBody":"We intend to switch the C/C++ extension build system to use `pybind11` as discussed in this week's call. There is a demonstration in PR #23787 showing that the approach works and listing the pros and cons. It is too much work to do in a single PR so will probably be done one extension at a time. This issue is intended to track the overall progress by editing this post to tick the relevant check box and add the PR number for each extension completed.\r\n\r\nC/C++ extensions:\r\n - [x] `agg` (start in #27011)\r\n - [x] `c_internal_utils` (PR in #26794)\r\n - [x] `ft2font` (PR in #28785)\r\n - [x] `image` (implemented in #26275)\r\n - [x] `path` #27087\r\n - [x] `qhull`(PR in #27184)\r\n - [x] `tkagg` (PR in #26992)\r\n - [x] `tri` (implemented in #24522)\r\n - [x] `ttconv` (implemented in #25253)\r\n - [x] ~~`macosx` (developer needs access to macOS)~~\r\n\r\nOther work required:\r\n - [x] Update to use PEP517/518-complicant build system. Not strictly required but makes the build process simpler so ideally would be done before merging any specific extension PRs. Work on this has started in #23829; for `pybind11` we only really need the `[build-system]` section of `pyproject.toml` which was added in #24102.\r\n - [x] Remove unneeded wrapper code in `src` directory such as the `array_view` class when all extensions completed. #28857\r\n - [x] Remove `numpy` as a build-time dependency when all extensions completed as `pybind11` does not require it. #28857\r\n","author":{"url":"https://github.com/ianthomas23","@type":"Person","name":"ianthomas23"},"datePublished":"2022-09-09T10:25:31.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":6},"url":"https://github.com/23846/matplotlib/issues/23846"}
| 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:20a318dc-52b1-a7d0-9d3b-325cc8aa0820 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | EC98:CCF4F:36223B:48CE0C:6A518F84 |
| html-safe-nonce | 7d16404e30f716b5a517714cba71a7b1ec633da36dc3c8a44e74ecf5d40e3d6d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQzk4OkNDRjRGOjM2MjIzQjo0OENFMEM6NkE1MThGODQiLCJ2aXNpdG9yX2lkIjoiNjU4NDk5MDk0NjAxMzg0MzMzMiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | ac4a5f1d33c91b09452a6fe9d57f221175b375c320cb0b73082ba60fb46292f5 |
| hovercard-subject-tag | issue:1367618175 |
| 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/matplotlib/matplotlib/23846/issue_layout |
| twitter:image | https://opengraph.githubassets.com/78f143a52f75e67e1f844b6576465e65670b67be03871768434d4b1aa2e48922/matplotlib/matplotlib/issues/23846 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/78f143a52f75e67e1f844b6576465e65670b67be03871768434d4b1aa2e48922/matplotlib/matplotlib/issues/23846 |
| og:image:alt | We intend to switch the C/C++ extension build system to use pybind11 as discussed in this week's call. There is a demonstration in PR #23787 showing that the approach works and listing the pros and... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ianthomas23 |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| turbo-cache-control | no-preview |
| go-import | github.com/matplotlib/matplotlib git https://github.com/matplotlib/matplotlib.git |
| octolytics-dimension-user_id | 215947 |
| octolytics-dimension-user_login | matplotlib |
| octolytics-dimension-repository_id | 1385122 |
| octolytics-dimension-repository_nwo | matplotlib/matplotlib |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1385122 |
| octolytics-dimension-repository_network_root_nwo | matplotlib/matplotlib |
| 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 | 7aed05249554b889eb33d002851a973eebcc7e91 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width