diff --git a/pysr/__init__.py b/pysr/__init__.py index 99c6a9742..1f2e9775d 100644 --- a/pysr/__init__.py +++ b/pysr/__init__.py @@ -1,3 +1,12 @@ +import sys +import warnings + +if sys.version_info >= (3, 12, 0): + warnings.warn( + "PySR experiences occassional segfaults with Python 3.12. " + + "Please use an earlier version of Python with PySR until this issue is resolved." + ) + from . import sklearn_monkeypatch from .deprecated import best, best_callable, best_row, best_tex, pysr from .export_jax import sympy2jax diff --git a/pysr/version.py b/pysr/version.py index 82a6f4dcb..be6e53b05 100644 --- a/pysr/version.py +++ b/pysr/version.py @@ -1,2 +1,2 @@ -__version__ = "0.16.6" +__version__ = "0.16.7" __symbolic_regression_jl_version__ = "0.23.0"