-
-
Notifications
You must be signed in to change notification settings - Fork 0
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
Use PythonCall to wrap Python ArviZ #5
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Great, the package seems to load without any special handling in the CI. This seems much better than using PyCall and will allow more users to install the package with ease, so I'll finalize the change. |
Reading JuliaPy/PythonCall.jl#237, it seems we may need JuliaLang/julia#46976 to avoid the libstdc++ error. This has been backported to Julia v1.8, so I've set the lower version bound there. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
PyCall uses a single Python environment for all packages that use PyCall, which is very error-prone and makes guaranteeing this package loads correctly on any given system completely impossible. PythonCall has a more sane approach, where each Julia environment has a corresponding Conda environment into which all Julia packages install their Python dependencies, where our contribution to this environment is managed by a
CondaPkg.toml
file.This PR makes the following replacements in dependencies:
The downside to PythonCall is that by default it converts (almost?) no Julia types to Python types or vice versa, so we need to do a lot more work with our interface functions to ensure a seamless user experience.