Title: Cannot run `setup.py build` with numpy master · Issue #6928 · matplotlib/matplotlib · GitHub
Open Graph Title: Cannot run `setup.py build` with numpy master · Issue #6928 · matplotlib/matplotlib
X Title: Cannot run `setup.py build` with numpy master · Issue #6928 · matplotlib/matplotlib
Description: Since numpy/numpy#7853 landed in master, running python setup.py build for matplotlib will now fail during the build_ext section: running build_ext Traceback (most recent call last): File "setup.py", line 304, in
Open Graph Description: Since numpy/numpy#7853 landed in master, running python setup.py build for matplotlib will now fail during the build_ext section: running build_ext Traceback (most recent call last): File "setup.py...
X Description: Since numpy/numpy#7853 landed in master, running python setup.py build for matplotlib will now fail during the build_ext section: running build_ext Traceback (most recent call last): File "set...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/6928
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Cannot run `setup.py build` with numpy master","articleBody":"Since numpy/numpy#7853 landed in master, running `python setup.py build` for matplotlib will now fail during the `build_ext` section:\n\n```\nrunning build_ext\nTraceback (most recent call last):\n File \"setup.py\", line 304, in \u003cmodule\u003e\n **extra_args\n File \"/usr/lib/python2.7/distutils/core.py\", line 151, in setup\n dist.run_commands()\n File \"/usr/lib/python2.7/distutils/dist.py\", line 953, in run_commands\n self.run_command(cmd)\n File \"/usr/lib/python2.7/distutils/dist.py\", line 972, in run_command\n cmd_obj.run()\n File \"setup.py\", line 147, in run\n return BuildExtCommand.run(self)\n File \"/usr/local/lib/python2.7/dist-packages/setuptools/command/build_ext.py\", line 66, in run\n _build_ext.run(self)\n File \"/usr/local/lib/python2.7/dist-packages/Cython/Distutils/build_ext.py\", line 164, in run\n _build_ext.build_ext.run(self)\n File \"/usr/lib/python2.7/distutils/command/build_ext.py\", line 337, in run\n self.build_extensions()\n File \"/usr/local/lib/python2.7/dist-packages/Cython/Distutils/build_ext.py\", line 171, in build_extensions\n ext.sources = self.cython_sources(ext.sources, ext)\n File \"/usr/local/lib/python2.7/dist-packages/Cython/Distutils/build_ext.py\", line 242, in cython_sources\n extension.include_dirs = list(extension.include_dirs)\n File \"~/matplotlib/setupext.py\", line 910, in __get__\n result = obj._hooks[self._name]() + result\n File \"~/matplotlib/setupext.py\", line 937, in include_dirs_hook\n reload(numpy)\n File \"/usr/local/lib/python2.7/dist-packages/numpy-1.12.0.dev0+5130ef1-py2.7-linux-x86_64.egg/numpy/__init__.py\", line 117, in \u003cmodule\u003e\n raise RuntimeError('Reloading numpy is not supported')\nRuntimeError: Reloading numpy is not supported\n```\n\nIt looks like the reload was introduced by https://github.com/matplotlib/matplotlib/pull/2445/commits/373c4d79dfc526fb91ca0d00407b6d244ca9dc62, but I'm not sure why it's needed or if it can be worked around.\n","author":{"url":"https://github.com/perimosocordiae","@type":"Person","name":"perimosocordiae"},"datePublished":"2016-08-08T18:58:08.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":15},"url":"https://github.com/6928/matplotlib/issues/6928"}
| 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:157ce3a4-9f69-0b28-311b-680ea2973f4d |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 80A2:3C08FE:71E17A:9AF239:6A55A680 |
| html-safe-nonce | e5e617f0bbdb0ad9a355f8993d0e7371503e836616c64a01052a560d022110bf |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MEEyOjNDMDhGRTo3MUUxN0E6OUFGMjM5OjZBNTVBNjgwIiwidmlzaXRvcl9pZCI6IjMzMTIyNDEyMDM3OTAzMjUzNzYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | c2e1dfce953e2ceb37686a9a402255bc228c2d8f45f9051b808014eac1e6df56 |
| hovercard-subject-tag | issue:169998226 |
| 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/6928/issue_layout |
| twitter:image | https://opengraph.githubassets.com/b45552af017d607634a7b0dd4b9bbe03674b7aab706b21d9c32a490718a8dd0d/matplotlib/matplotlib/issues/6928 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/b45552af017d607634a7b0dd4b9bbe03674b7aab706b21d9c32a490718a8dd0d/matplotlib/matplotlib/issues/6928 |
| og:image:alt | Since numpy/numpy#7853 landed in master, running python setup.py build for matplotlib will now fail during the build_ext section: running build_ext Traceback (most recent call last): File "setup.py... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | perimosocordiae |
| hostname | github.com |
| expected-hostname | github.com |
| None | b5665c84831ed9ac4fb79519c16c9c5580ba8092fb8bb6e3e72972ec7197348e |
| 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 | 653fccf1e27344851c0d3de3fa6faa526197f072 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width