Closed
Description
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:
- https://github.com/MilesCranmer/PySR/actions/runs/10345006064/job/28631387696#step:7:277 (timeout at 1hr)
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.