File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# Changelog
22
3+ ## Unreleased
4+ * Bug fix: avoid precompilation cache miss when ` check_bounds ` option set.
5+
36## 0.9.35 (2026-06-08)
47* Add option ` lib ` to JuliaCall. Setting this will skip the discovery subprocess.
58* Add support for using a system image in ` juliacall ` that has ` PythonCall ` baked in.
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ classifiers = [
1313 " Operating System :: OS Independent" ,
1414]
1515requires-python = " >=3.10, <4"
16- dependencies = [" juliapkg >=0.1.24 , <0.2" ]
16+ dependencies = [" juliapkg >=0.1.26 , <0.2" ]
1717
1818[dependency-groups ]
1919dev = [
Original file line number Diff line number Diff line change @@ -198,6 +198,18 @@ def args_from_config(config):
198198 # `exepath` and `project` are set by the user.
199199 import juliapkg
200200
201+ # Explicitly resolve so we can pass through julia_args. This ensures that any
202+ # precompilation done by juliapkg matches how we launch julia, avoiding
203+ # cache misses.
204+ julia_args = [
205+ "--" + opt [4 :].replace ("_" , "-" ) + "=" + CONFIG [opt ]
206+ for opt in [
207+ "opt_check_bounds" ,
208+ ]
209+ if CONFIG [opt ] is not None
210+ ]
211+ juliapkg .resolve (julia_args = julia_args )
212+
201213 # Find the Julia executable and project
202214 CONFIG ['exepath' ] = exepath = juliapkg .executable ()
203215 CONFIG ['project' ] = project = juliapkg .project ()
You can’t perform that action at this time.
0 commit comments