Skip to content

juliacall 0.9.22 can result in hanging precompilation #537

Closed
MilesCranmer/PySR
#703
@MilesCranmer

Description

@MilesCranmer

Affects: JuliaCall

Describe the bug

Upgrading to 0.9.22 causes PySR's CI to hang upon precompilation of Zygote.jl on macOS. I haven't been able to reproduce it locally but can confirm that downgrading to 0.9.21 is enough to fix the issue for PySR. So perhaps the new GC is causing some infinite loop somewhere, for some kind of PythonCall object? The error is randomly encountered so it has been hard for me to track down.

Your system
Please provide detailed information about your system:

  • The operating system: macos-latest
  • The version of Julia: 1.10
  • Python 3.12

Here's an example of the test failing, with 0.9.22:

And succeeding, on 0.9.21:

It is random but it has so far this CI seems to always work on 0.9.21 while it fails 75% of the time on 0.9.22. It's also only on macOS for whatever reason.

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