diff --git a/juliapkg.json b/juliapkg.json index 15686a6a8..cbaf79346 100644 --- a/juliapkg.json +++ b/juliapkg.json @@ -3,7 +3,7 @@ "packages": { "SymbolicRegression": { "uuid": "8254be44-1295-4e6a-a16d-46603ac705cb", - "version": "0.23.1" + "version": "=0.23.1" }, "ClusterManagers": { "uuid": "34f1f09b-3a8b-5176-ab39-66d58a4d544e", diff --git a/pysr/julia_helpers.py b/pysr/julia_helpers.py index a016f1c18..887874050 100644 --- a/pysr/julia_helpers.py +++ b/pysr/julia_helpers.py @@ -38,17 +38,6 @@ def _escape_filename(filename): return str_repr -def _backend_version_assertion(): - backend_version = jl.seval("string(SymbolicRegression.PACKAGE_VERSION)") - expected_backend_version = juliapkg.status(target="SymbolicRegression").version - if backend_version != expected_backend_version: # pragma: no cover - warnings.warn( - f"PySR backend (SymbolicRegression.jl) version {backend_version} " - f"does not match expected version {expected_backend_version}. " - "Things may break. " - ) - - def _load_cluster_manager(cluster_manager): jl.seval(f"using ClusterManagers: addprocs_{cluster_manager}") return jl.seval(f"addprocs_{cluster_manager}")