Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Changelog

## Unreleased
* Bug fix: avoid precompilation cache miss when `check_bounds` option set.

## 0.9.35 (2026-06-08)
* Add option `lib` to JuliaCall. Setting this will skip the discovery subprocess.
* Add support for using a system image in `juliacall` that has `PythonCall` baked in.
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ classifiers = [
"Operating System :: OS Independent",
]
requires-python = ">=3.10, <4"
dependencies = ["juliapkg >=0.1.24, <0.2"]
dependencies = ["juliapkg >=0.1.26, <0.2"]

[dependency-groups]
dev = [
Expand Down
12 changes: 12 additions & 0 deletions pysrc/juliacall/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,18 @@ def args_from_config(config):
# `exepath` and `project` are set by the user.
import juliapkg

# Explicitly resolve so we can pass through julia_args. This ensures that any
# precompilation done by juliapkg matches how we launch julia, avoiding
# cache misses.
julia_args = [
"--" + opt[4:].replace("_", "-") + "=" + CONFIG[opt]
for opt in [
"opt_check_bounds",
]
if CONFIG[opt] is not None
]
juliapkg.resolve(julia_args=julia_args)

# Find the Julia executable and project
CONFIG['exepath'] = exepath = juliapkg.executable()
CONFIG['project'] = project = juliapkg.project()
Expand Down
Loading