-
Notifications
You must be signed in to change notification settings - Fork 188
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
Roadmap for PyCall 2.0 #629
Comments
Are we slated to lose |
I think #599 is the ultimate way to make PyCall Pythonista-friendly. If you know Python syntax, just |
Interesting, so eventually it would just be |
Yes, And The goal of PyCall is not to allow you to use Python syntax in Julia (except in |
Also:
|
What I'd like to do now is to test some of the main PyCall-using packages like SymPy and PyPlot on PyCall |
By testing, you mean reverse-dependency tests like this JuliaPy/PyPlot.jl#425, JuliaPy/SymPy.jl#251, and JuliaPy/Pandas.jl#47 (note: all of them worked)? Or just trying PyCall master in daily use? |
Reverse-dependency tests are fine. PyPlot's test suite isn't very good, though, so it requires some manual playing around. In particular, would be good to fix #636 |
Now that #636 is fixed, are there other blockers for v1.19? |
No, I think we are ready for a new 1.x release. |
The |
Another thing we can do is to change the default build to use libpython shipped via the artifact system, even in Linux. This might improve the experience of end-users who happen to use Python libraries as transitive dependencies. |
Now that #517 is merged, there are a few things remaining to do before we try to move all PyCall users to the new interface.
First, we need to deprecate some more things (probably in a "1.9" release or similar) to help with the transition:
@pyimport
andpywrap
— just dopyimport
now. deprecate pywrap #633getindex(::PyObject, ::Integer)
and similar — these will stop subtracting 1 in PyCall 2.0, so they will have to be deprecated for now. deprecate o[integer] so that we can transition to 0-based access #632Some other things I would like to change/fix during the big transition:
PyVector
, dictionaries toPyDict
, and NumPy arrays toPyArray
by default, but don't convert subclasses of these? (see RFC: Lazier and more interface-based conversion #617)PyPtr
to see if they needGC.@protect
for gc safety. be more careful about potential gc of pyptrs #630The text was updated successfully, but these errors were encountered: