Upgrade pip

This commit is contained in:
GeorgianaElena
2020-04-23 13:14:32 +03:00
parent 22e303e8d2
commit d00245e3bf
2 changed files with 21 additions and 0 deletions

View File

@@ -153,6 +153,15 @@ def main():
'git+https://github.com/jupyterhub/the-littlest-jupyterhub.git'
)
# Upgrade pip
run_subprocess([
os.path.join(hub_prefix, 'bin', 'pip'),
'install',
'--upgrade',
'pip==20.0.*'
])
logger.info('Upgraded pip')
run_subprocess([
os.path.join(hub_prefix, 'bin', 'pip'),
'install'