Skip to content

Using development version of package opens Julia REPL #451

Closed
@MilesCranmer

Description

@MilesCranmer

Affects: JuliaCall

Describe the bug

If I add a development dependency to my juliapkg.json, and then import my Python package, the Julia REPL will open. For example, on the pythoncall-try-3 branch of PySR, I modified juliapkg.json as follows:

{
    "julia": "1.6",
    "packages": {
        "SymbolicRegression": {
            "uuid": "8254be44-1295-4e6a-a16d-46603ac705cb",
            "dev": true,
            "path": "../SymbolicRegression.jl"
        },
        "ClusterManagers": {
            "uuid": "34f1f09b-3a8b-5176-ab39-66d58a4d544e",
            "version": "0.4"
        }
    }
}

I then install PySR and do import pysr. This gives me the following:

Screenshot 2024-02-07 at 14 28 52

I am able to exit the Julia REPL which returns me to the Python REPL.

I tried with the version of PythonCall.jl in main and I still see this issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions