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

Patch to make PLplot work with Numpy-2.0.0 #10

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jkohnert
Copy link

Currently, PLplot does not build with Numpy-2.0.0. I made a bug report ober there (numpy/numpy#26854) and we figured, it is PLplot, which is not using the intended include directory but the "numpy" subdirectory.

This patch corrects the used include dir as wenn as the include statements that are generated by swig.

Best, Jan

@LecrisUT
Copy link

I am not sure if people look at this repo, you might have to submit them via sourceforge repo (don't ask me how 🤷).

Could you also patch for Python 3.13 compatibility, basically changing PyEval_CallObject to PyObject_Call (see nlopt patch for reference)

@jkohnert
Copy link
Author

Thanks, @LecrisUT, I created a MR on SourceForge, too.

For python-3.13, I'll have to take a closer look, I' using 3.12, currently. 😁

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants