Skip to content

Commit

Permalink
Merge pull request #553 from GeorgianaElena/fix_grpcio_test_failure
Browse files Browse the repository at this point in the history
Fix failing unit test
  • Loading branch information
yuvipanda authored Apr 23, 2020
2 parents 27089cc + b698188 commit 01ba348
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,14 @@ commands:
command: |
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:
steps:
- run:
Expand Down Expand Up @@ -116,6 +124,9 @@ jobs:
- v1-dependencies-py3.6-

- setup_venv

- upgrade_pip

- run:
name: install dependencies
command: |
Expand Down Expand Up @@ -211,6 +222,7 @@ jobs:
key: v1-dependencies-py3.6-sphinx

- setup_venv

- run:
name: install dependencies
command: |
Expand Down
9 changes: 9 additions & 0 deletions bootstrap/bootstrap.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit 01ba348

Please sign in to comment.