File tree Expand file tree Collapse file tree 3 files changed +6
-5
lines changed Expand file tree Collapse file tree 3 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 6969 pyversion : ["3", "3.9"]
7070 juliaexe : ["@JuliaPkg"]
7171 include :
72- - arch : x64
73- os : ubuntu-latest
72+ - os : ubuntu-latest
7473 pyversion : 3
7574 juliaexe : julia
7675 env :
Original file line number Diff line number Diff line change 11# Release Notes
22
33## Unreleased
4+ * Added ` PYTHON_JULIACALL_EXE ` and ` PYTHON_JULIACALL_PROJECT ` for specifying the Julia binary and project to override JuliaPkg.
45* Bug fixes.
56* Internal: switch from Requires.jl to package extensions.
6- * Added support for specifying the Julia binary and project to override JuliaPkg.
77
88## 0.9.27 (2025-08-19)
99* Internal: Use heap-allocated types (PyType_FromSpec) to improve ABI compatibility.
Original file line number Diff line number Diff line change @@ -156,7 +156,9 @@ def args_from_config(config):
156156
157157 have_exepath = CONFIG ['exepath' ] is not None
158158 have_project = CONFIG ['project' ] is not None
159- if not have_exepath and not have_project :
159+ if have_exepath and have_project :
160+ pass
161+ elif (not have_exepath ) and (not have_project ):
160162 # we don't import this at the top level because it is not required when
161163 # juliacall is loaded by PythonCall and won't be available, or if both
162164 # `exepath` and `project` are set by the user.
@@ -165,7 +167,7 @@ def args_from_config(config):
165167 # Find the Julia executable and project
166168 CONFIG ['exepath' ] = juliapkg .executable ()
167169 CONFIG ['project' ] = juliapkg .project ()
168- elif ( not have_exepath and have_project ) or ( have_exepath and not have_project ) :
170+ else :
169171 raise Exception ("Both PYTHON_JULIACALL_PROJECT and PYTHON_JULIACALL_EXE must be set together, not only one of them." )
170172
171173 exepath = CONFIG ['exepath' ]
You can’t perform that action at this time.
0 commit comments