File tree Expand file tree Collapse file tree 6 files changed +13
-87
lines changed Expand file tree Collapse file tree 6 files changed +13
-87
lines changed Original file line number Diff line number Diff line change 68
68
python3 -m pip install -U pip
69
69
python3 -m pip install "matplotlib<3.9" seiscm colorcet
70
70
echo "JULIA_PYTHONCALL_EXE=$(which python3)" >> $GITHUB_ENV
71
- echo "JULIA_CONDAPKG_BACKEND=\" Null\" " >> $GITHUB_ENV
71
+ echo "JULIA_CONDAPKG_BACKEND=Null" >> $GITHUB_ENV
72
72
echo "PYTHON=$(which python3)" >> $GITHUB_ENV
73
73
echo "PYCALL_JL_RUNTIME_PYTHON=$(which python3)" >> $GITHUB_ENV
74
74
Original file line number Diff line number Diff line change @@ -101,7 +101,7 @@ jobs:
101
101
echo "PYTHON=$(which python3)" >> $GITHUB_ENV
102
102
echo "PYCALL_JL_RUNTIME_PYTHON=$(which python3)" >> $GITHUB_ENV
103
103
echo "JULIA_PYTHONCALL_EXE=$(which python3)" >> $GITHUB_ENV
104
- echo "JULIA_CONDAPKG_BACKEND=\" Null\" " >> $GITHUB_ENV
104
+ echo "JULIA_CONDAPKG_BACKEND=Null" >> $GITHUB_ENV
105
105
106
106
- name : Build JUDI
107
107
uses : julia-actions/julia-buildpkg@latest
Original file line number Diff line number Diff line change 33
33
echo "PYTHON=$(which python3)" >> $GITHUB_ENV
34
34
echo "PYCALL_JL_RUNTIME_PYTHON=$(which python3)" >> $GITHUB_ENV
35
35
echo "JULIA_PYTHONCALL_EXE=$(which python3)" >> $GITHUB_ENV
36
- echo "JULIA_CONDAPKG_BACKEND=\" Null\" " >> $GITHUB_ENV
36
+ echo "JULIA_CONDAPKG_BACKEND=Null" >> $GITHUB_ENV
37
37
38
38
- name : Build JUDI
39
39
uses : julia-actions/julia-buildpkg@latest
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
name = " JUDI"
2
2
uuid = " f3b833dc-6b2e-5b9c-b940-873ed6319979"
3
3
authors = [" Philipp Witte, Mathias Louboutin" ]
4
- version = " 4.0.0 "
4
+ version = " 4.0.1 "
5
5
6
6
[deps ]
7
7
ChainRulesCore = " d360d2e6-b24c-11e9-a2a3-2a2ae2dbcce4"
Original file line number Diff line number Diff line change @@ -5,7 +5,15 @@ struct DevitoException <: Exception
5
5
msg:: String
6
6
end
7
7
8
- pyexe = PythonCall. python_executable_path ()
8
+ if PythonCall. C. CondaPkg. backend () == :Null
9
+ pyexe = PythonCall. python_executable_path ()
10
+ else
11
+ @info " Using $(PythonCall. C. CondaPkg. backend ()) as the CondaPkg backend"
12
+ pyexe = PythonCall. C. CondaPkg. withenv () do
13
+ condapy = PythonCall. C. CondaPkg. which (" python" )
14
+ return condapy
15
+ end
16
+ end
9
17
10
18
pk = try
11
19
pyimport (" pkg_resources" )
You can’t perform that action at this time.
0 commit comments