-
Notifications
You must be signed in to change notification settings - Fork 74
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
Update example for 1.0 #51
Conversation
I've not yet checked if this is enough, am doing now, Possibly just skip this part "(or Pkg.add("PyPlot") for older Julia" as the package has already been updated for 1.0/0.7 only. |
I'm letting you know, this is at least not enough on my machine; There seem no longer to be any showstoppers (while note the "deprecated"), when I first do (this is probably somewhere in the docs that I didn't read and looking back I didn't find but I guess overlooked):
So rest is outdated (I haven't yet tried further than the imports so I'm not saying this all works for sure in Julia 1.0 (or in my case 1.1.)): One question, since Installing pip and then: pip install cluster ENV["PYTHON"] = "/usr/bin/python" didn't help. Also I'm on Julia 1.2 is if could matter, I doubt it.
|
Since some checks actually did NOT fail, and I only changed a comment so far in the PR, the other CI checks are I guess invalid. You may want to look into those, e.g. mac CI checks, they likely are failing for all not just me? |
Yes, don't worry about the tests, this package's tests have been wobbly for a long time.
I'm not sure. Thank you for fixing the comment. |
@cstjean FYI: I get some errors, that seems related to new PyCall version, not Julia 1.0 (or 1.2): So should I add more commits here, or rather in new PR? I may or may not do it, just asking where then preferred? It's not completely clear to me if you should adjust REQUIRE (and/or fix the code) to older PyCall; This may also be a bug in PyCall? Unless I missed something, this is the first red/error I find (and then some more for e.g. next line with "ERROR: ArgumentError: hasproperty of NULL PyObject"):
|
New PR? Ideally, this should be reported in PyCall too. If it's deprecated, it should still work. |
Do you get the error about NULL PyObject when you use the released version of PyCall, not master? |
For those reading here, I can confirm PyCall (with e.g. defaults, Conda) works; and that I no longer get the errors I got, while on master I do not get any plot (nor errors, only warnings; see the bug report). For this "WARNING: Base.writemime is deprecated." however, I don't get it so it could be dropped from the notebook. |
Running for the thrid time I don't get the plot, but noticed the haskey Warning (
I also noticed this "FutureWarning", that I'm not sure what is, be seems neither would explain:
|
No description provided.