Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cython 0.29.14 breaks matplotlib #3269

Open
moubctez opened this issue Dec 11, 2019 · 1 comment
Open

Cython 0.29.14 breaks matplotlib #3269

moubctez opened this issue Dec 11, 2019 · 1 comment
Labels

Comments

@moubctez
Copy link

@moubctez moubctez commented Dec 11, 2019

Matplotlib built with Cython 0.29.14 (through Numpy) ends with undefinied symbols

$ python3.7 -c 'import matplotlib.dates'
  Traceback (most recent call last):
    File "<string>", line 1, in <module>
    File "/usr/pkg/lib/python3.7/site-packages/matplotlib/dates.py", line 159, in <module>
      import matplotlib.ticker as ticker
    File "/usr/pkg/lib/python3.7/site-packages/matplotlib/ticker.py", line 174, in <module>
      from matplotlib import transforms as mtransforms
    File "/usr/pkg/lib/python3.7/site-packages/matplotlib/transforms.py", line 43, in <module>
      from matplotlib._path import (
  ImportError: /usr/pkg/lib/python3.7/site-packages/matplotlib/_path.so: Undefined symbol "MPL_matplotlib_backends__tkagg_ARRAY_API" (symnum = 27)

Reverting this change fixes the problem:
01e00f6

The issue has been documented here:
https://gnats.netbsd.org/cgi-bin/query-pr-single.pl?number=54712

Please, fix. :)

@scoder

This comment has been minimized.

Copy link
Contributor

@scoder scoder commented Dec 23, 2019

Thanks for the report. Matplotlib is one of the Python data processing packages that I know does not use Cython at all. Any idea where this issue comes from? What happens at build time that brings Cython into the game and might cause this?

@scoder scoder added the unclear label Jan 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.