@@ -24,7 +24,7 @@ task environmentSetup(type: Exec, dependsOn: checkPythonVersion) {
24
24
outputs. file(sentinel_file)
25
25
commandLine ' bash' , ' -c' ,
26
26
" ${ python_executable} -m venv ${ venv_name} && " +
27
- " ${ venv_name} /bin/python -m pip install --upgrade pip uv wheel 'setuptools>=63.0.0' && " +
27
+ " ${ venv_name} /bin/${ python_executable } -m pip install --upgrade pip uv wheel 'setuptools>=63.0.0' && " +
28
28
" touch ${ sentinel_file} "
29
29
}
30
30
@@ -34,7 +34,7 @@ task installPackageOnly(type: Exec, dependsOn: environmentSetup) {
34
34
outputs. file(sentinel_file)
35
35
commandLine ' bash' , ' -c' ,
36
36
" source ${ venv_name} /bin/activate && set -x && " +
37
- " uv pip install -e . &&" +
37
+ " uv pip install -p ${ venv_name } /bin/ ${ python_executable } - e . &&" +
38
38
" touch ${ sentinel_file} "
39
39
}
40
40
@@ -44,7 +44,7 @@ task installPackage(type: Exec, dependsOn: installPackageOnly) {
44
44
outputs. file(sentinel_file)
45
45
commandLine ' bash' , ' -c' ,
46
46
" source ${ venv_name} /bin/activate && set -x && " +
47
- " uv pip install -e . ${ extra_pip_requirements} && " +
47
+ " uv pip install -p ${ venv_name } /bin/ ${ python_executable } - e . ${ extra_pip_requirements} && " +
48
48
" touch ${ sentinel_file} "
49
49
}
50
50
@@ -74,7 +74,7 @@ task installDev(type: Exec, dependsOn: [install]) {
74
74
outputs. file(sentinel_file)
75
75
commandLine ' bash' , ' -c' ,
76
76
" source ${ venv_name} /bin/activate && set -x && " +
77
- " uv pip install -e .[dev] ${ extra_pip_requirements} && " +
77
+ " uv pip install -p ${ venv_name } /bin/ ${ python_executable } - e .[dev] ${ extra_pip_requirements} && " +
78
78
" touch ${ sentinel_file} "
79
79
}
80
80
@@ -84,7 +84,7 @@ task installAll(type: Exec, dependsOn: [install]) {
84
84
outputs. file(sentinel_file)
85
85
commandLine ' bash' , ' -c' ,
86
86
" source ${ venv_name} /bin/activate && set -x && " +
87
- " uv pip install -e .[all] ${ extra_pip_requirements} && " +
87
+ " uv pip install -p ${ venv_name } /bin/ ${ python_executable } - e .[all] ${ extra_pip_requirements} && " +
88
88
" touch ${ sentinel_file} "
89
89
}
90
90
@@ -145,7 +145,7 @@ task installDevTest(type: Exec, dependsOn: [install]) {
145
145
outputs. file(sentinel_file)
146
146
commandLine ' bash' , ' -c' ,
147
147
" source ${ venv_name} /bin/activate && set -x && " +
148
- " uv pip install -e .[dev,integration-tests] ${ extra_pip_requirements} && " +
148
+ " uv pip install -p ${ venv_name } /bin/ ${ python_executable } - e .[dev,integration-tests] ${ extra_pip_requirements} && " +
149
149
" touch ${ sentinel_file} "
150
150
}
151
151
0 commit comments