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

Development version of juliacall starts the Julia REPL #447

Closed
MilesCranmer opened this issue Jan 28, 2024 · 1 comment
Closed

Development version of juliacall starts the Julia REPL #447

MilesCranmer opened this issue Jan 28, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@MilesCranmer
Copy link
Contributor

Affects: JuliaCall

  1. Check out the current main.
  2. Modify pysrc/juliacall/juliapkg.json to use the development version of PythonCall.
     "packages": {
         "PythonCall": {
             "uuid": "6099a3de-0909-46bc-b1f4-468b9a2dfc0d",
-            "version": "=0.9.15"
+            "path": "../..",
+            "dev": true
         }
     }
 }
  1. Install juliacall locally with pip install . in the root of PythonCall.jl
  2. Open IPython and try to import juliacall. This results in the Julia REPL itself opening:

Screenshot 2024-01-28 at 10 36 48

6.a. If I run exit() in the Julia REPL, both the Julia REPL and Python REPL quit....
6.b. If I use ctrl-D in the Julia REPL, I go back to the Python REPL and everything seems to be okay.

Any idea?

@MilesCranmer MilesCranmer added the bug Something isn't working label Jan 28, 2024
@cjdoris
Copy link
Collaborator

cjdoris commented Jan 31, 2024

Oh yeah, this was a bug introduced by a recent refactor. I fixed it in a branch but not on main. Fixed on main now!

@cjdoris cjdoris closed this as completed Jan 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants