MilesCranmer / PySR

High-Performance Symbolic Regression in Python and Julia
https://astroautomata.com/PySR
Apache License 2.0
2.09k stars 197 forks source link

Warn the user on Python 3.12 #496

Closed MilesCranmer closed 6 months ago

MilesCranmer commented 6 months ago

I'm experiencing a lot of segfaults on Python 3.12. See https://github.com/JuliaPy/PyCall.jl/issues/1072 for updates.

Until this is resolved this PR will make PySR raise a warning on any post-3.12.0 version of Python recommending the user to downgrade Python.