Merge pull request #553 from GeorgianaElena/fix_grpcio_test_failure

Fix failing unit test
This commit is contained in:
Yuvi Panda
2020-04-23 18:01:33 +05:30
committed by GitHub
2 changed files with 21 additions and 0 deletions

View File

@@ -25,6 +25,14 @@ commands:
command: | command: |
apt-get update --yes && apt-get install --yes python3 python3-venv git make apt-get update --yes && apt-get install --yes python3 python3-venv git make
upgrade_pip:
description: Upgrade the pip version to 20.0.*
steps:
- run:
name: upgrade pip
command: |
python3 -m pip install -U pip==20.0.*
build_systemd_image: build_systemd_image:
steps: steps:
- run: - run:
@@ -116,6 +124,9 @@ jobs:
- v1-dependencies-py3.6- - v1-dependencies-py3.6-
- setup_venv - setup_venv
- upgrade_pip
- run: - run:
name: install dependencies name: install dependencies
command: | command: |
@@ -211,6 +222,7 @@ jobs:
key: v1-dependencies-py3.6-sphinx key: v1-dependencies-py3.6-sphinx
- setup_venv - setup_venv
- run: - run:
name: install dependencies name: install dependencies
command: | command: |

View File

@@ -153,6 +153,15 @@ def main():
'git+https://github.com/jupyterhub/the-littlest-jupyterhub.git' '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([ run_subprocess([
os.path.join(hub_prefix, 'bin', 'pip'), os.path.join(hub_prefix, 'bin', 'pip'),
'install' 'install'