Title: [Bug]: Editable install seems broken · Issue #27005 · matplotlib/matplotlib · GitHub
Open Graph Title: [Bug]: Editable install seems broken · Issue #27005 · matplotlib/matplotlib
X Title: [Bug]: Editable install seems broken · Issue #27005 · matplotlib/matplotlib
Description: Bug summary Possibly realted to the Port of the build system to Meson #26621. Ping @QuLogic Code for reproduction # standard installation procedure according to: # https://matplotlib.org/stable/devel/development_setup.html#create-a-dedic...
Open Graph Description: Bug summary Possibly realted to the Port of the build system to Meson #26621. Ping @QuLogic Code for reproduction # standard installation procedure according to: # https://matplotlib.org/stable/dev...
X Description: Bug summary Possibly realted to the Port of the build system to Meson #26621. Ping @QuLogic Code for reproduction # standard installation procedure according to: # https://matplotlib.org/stable/dev...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/27005
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[Bug]: Editable install seems broken","articleBody":"### Bug summary\r\n\r\nPossibly realted to the Port of the build system to Meson #26621. Ping @QuLogic \r\n\r\n### Code for reproduction\r\n\r\n```python\r\n# standard installation procedure according to:\r\n# https://matplotlib.org/stable/devel/development_setup.html#create-a-dedicated-environment\r\nconda env create -f environment.yml\r\nconda activate mpl-dev\r\npython -m pip install -e .\r\npython -c \"import matplotlib; print(matplotlib.__file__)\"\r\n```\r\n\r\nNote: A non-editable install `python -m pip install .` works.\r\n\r\n\r\n### Actual outcome\r\n\r\n```\r\nTraceback (most recent call last):\r\n File \"\u003cstring\u003e\", line 1, in \u003cmodule\u003e\r\n File \"\u003cfrozen importlib._bootstrap\u003e\", line 1176, in _find_and_load\r\n File \"\u003cfrozen importlib._bootstrap\u003e\", line 1138, in _find_and_load_unlocked\r\n File \"\u003cfrozen importlib._bootstrap\u003e\", line 1078, in _find_spec\r\n File \"/home/tim/anaconda3/envs/mpl-dev/lib/python3.11/site-packages/_matplotlib_editable_loader.py\", line 271, in find_spec\r\n tree = self.rebuild()\r\n ^^^^^^^^^^^^^^\r\n File \"/home/tim/anaconda3/envs/mpl-dev/lib/python3.11/site-packages/_matplotlib_editable_loader.py\", line 312, in rebuild\r\n subprocess.run(self._build_cmd, cwd=self._build_path, env=env, stdout=stdout, check=True)\r\n File \"/home/tim/anaconda3/envs/mpl-dev/lib/python3.11/subprocess.py\", line 571, in run\r\n raise CalledProcessError(retcode, process.args,\r\nsubprocess.CalledProcessError: Command '['/home/tim/anaconda3/envs/mpl-dev/bin/ninja']' returned non-zero exit status 1.```\r\n```\r\n\r\n### Matplotlib Version\r\n\r\nmain branch\r\n\r\n### Python version\r\n\r\n3.11.6\r\n\r\n### Installation\r\n\r\ngit checkout","author":{"url":"https://github.com/timhoffm","@type":"Person","name":"timhoffm"},"datePublished":"2023-10-05T20:43:21.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":7},"url":"https://github.com/27005/matplotlib/issues/27005"}
| 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:5c080d13-599d-aa5c-39de-9bc9cc39fc26 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E628:18B692:46405C:5E9A09:6A52781D |
| html-safe-nonce | cf9ed9a6a2a7a895b9cd1a98caaa7ab4ccc0c16ce80feb5f15408002afce85fc |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNjI4OjE4QjY5Mjo0NjQwNUM6NUU5QTA5OjZBNTI3ODFEIiwidmlzaXRvcl9pZCI6Ijc0MzY0Mjc1OTQ5NDAxODQ2MDUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | b90bbafe48c646ac573779cc31efd887e4f14fa965867b1fda459edae5ebaf91 |
| hovercard-subject-tag | issue:1929024312 |
| 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/27005/issue_layout |
| twitter:image | https://opengraph.githubassets.com/0925ec490ee6188cf89c54ad8a7b4a8e5ffb47c2c2ef647cbe6f45a43b991892/matplotlib/matplotlib/issues/27005 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/0925ec490ee6188cf89c54ad8a7b4a8e5ffb47c2c2ef647cbe6f45a43b991892/matplotlib/matplotlib/issues/27005 |
| og:image:alt | Bug summary Possibly realted to the Port of the build system to Meson #26621. Ping @QuLogic Code for reproduction # standard installation procedure according to: # https://matplotlib.org/stable/dev... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | timhoffm |
| 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 | 07a982c1d40157c619b364352b704c3ce66bb332 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width