mirror of
https://github.com/jupyterhub/the-littlest-jupyterhub.git
synced 2025-12-18 21:54:05 +08:00
don't let conda install wait for input
This commit is contained in:
@@ -116,12 +116,14 @@ def ensure_conda_packages(prefix, packages):
|
|||||||
[
|
[
|
||||||
conda_executable,
|
conda_executable,
|
||||||
"install",
|
"install",
|
||||||
|
"-y",
|
||||||
"-c",
|
"-c",
|
||||||
"conda-forge", # Make customizable if we ever need to
|
"conda-forge", # Make customizable if we ever need to
|
||||||
"--prefix",
|
"--prefix",
|
||||||
abspath,
|
abspath,
|
||||||
]
|
]
|
||||||
+ packages,
|
+ packages,
|
||||||
|
input="",
|
||||||
)
|
)
|
||||||
fix_permissions(prefix)
|
fix_permissions(prefix)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user