-
Notifications
You must be signed in to change notification settings - Fork 102
Fix PyJulia on Julia 1.9 #523
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
Conversation
What's the first argument then? The alternative fix would be to change how install.jl is invoked, right? |
The first argument is
Although I'm not sure it completely works here (?) because the command is:
yet |
Codecov ReportBase: 87.23% // Head: 85.22% // Decreases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## master #523 +/- ##
==========================================
- Coverage 87.23% 85.22% -2.01%
==========================================
Files 39 39
Lines 2342 2342
==========================================
- Hits 2043 1996 -47
- Misses 299 346 +47
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
So the |
It should be
|
That makes sense. Will fix. Btw, how do I add CI testing for 1.9? Tried |
1d14436
to
9d2e02e
Compare
Cool. Just confirmed locally that it fixes #522 completely. |
Great, that's it, thanks. So once that test passes, I'll remove those CI changes (because those version names are temporary), and we can just merge that argument ordering fix. |
I'm not sure what the 1.0 errors are though... Any idea? I should note that the latest PyCall.jl is only Julia 1.4+, so maybe 1.0 for PyJulia should be deprecated anyways. |
Hmm, I guess it did not work. I think 1.0 was aborted after the 1.9 did not work. |
Okay it looks like the only errors now are for Julia 1.0. So I propose we just raise that to 1.4, matching PyCall.jl, and then merge. (Note that automerge won't work, because I am removing the 1.0 CI tests) |
All tests passing, including Julia 1.4 through 1.9: https://github.com/JuliaPy/pyjulia/actions/runs/4280008230. I'm now removing 1.9.0-beta4 tests until the stable version is released, so we can just merge the fix for now. |
cbdf503
to
2bff7c4
Compare
Awesome, thanks! How do we release versions here again? Do we just push a tag? |
I think there is a Github action setup |
This fixes #522 with the solution discussed in the thread. Julia 1.9 introduces a breaking change to how CLI flags are parsed: JuliaLang/julia#45335, so the
install.jl
script was parsing its arguments incorrectly. This fixes it and also adds 1.9 testing.