File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -246,7 +246,7 @@ def migrate_env(python, backup=False):
246
246
shutil .move (dest , target )
247
247
248
248
# Create virtualenv using specified python
249
- def _install_app (app ):
249
+ def _install_app (app , pyenv ):
250
250
app_path = f"-e { os .path .join ('apps' , app )} "
251
251
if os .environ .get ("BENCH_USE_UV" ):
252
252
exec_cmd (f"uv pip install --upgrade { app_path } --python { pyenv } /bin/python" )
@@ -261,10 +261,10 @@ def _install_app(app):
261
261
exec_cmd (f"{ python } -m venv { pvenv } " )
262
262
263
263
# Install frappe first
264
- _install_app ("frappe" )
264
+ _install_app ("frappe" , pvenv )
265
265
for app in bench .apps :
266
266
if str (app ) != "frappe" :
267
- _install_app (app )
267
+ _install_app (app , pvenv )
268
268
269
269
logger .log (f"Migration Successful to { python } " )
270
270
except Exception :
You can’t perform that action at this time.
0 commit comments