Skip to content

Commit

Permalink
fix: pip pinned to 19.3.1 after v20 breaking
Browse files Browse the repository at this point in the history
reference: pypa/pip#7217
  • Loading branch information
gavindsouza committed Jan 21, 2020
1 parent 03c4d96 commit 7498c8e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
- checkout
- run:
name: Setup
command: |
command: |
sudo pip install --ignore-installed setuptools
sudo pip install urllib3 pyOpenSSL ndg-httpsclient pyasn1
sudo cp -r ~/.ssh/* /root/.ssh
Expand All @@ -24,7 +24,7 @@ jobs:
name: Setup Tests
command: |
cd ~
sudo pip install --upgrade pip
sudo pip install --upgrade pip==19.3.1
sudo pip install -e ~/.bench
- run:
Expand Down
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ install:

script:
- cd ~
- sudo pip install --upgrade pip
- sudo pip install --upgrade pip==19.3.1
- sudo pip install -e ~/.bench
# - sudo python -m unittest bench.tests.test_setup_production.TestSetupProduction.test_setup_production_v6
- sudo python -m unittest -v bench.tests.test_setup_production
2 changes: 1 addition & 1 deletion bench/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ def setup_env(bench_path='.', python = 'python3'):
pip = os.path.join('env', 'bin', 'pip')

exec_cmd('virtualenv -q {} -p {}'.format('env', python), cwd=bench_path)
exec_cmd('{} -q install -U pip wheel six'.format(pip), cwd=bench_path)
exec_cmd('{} -q install -U pip==19.3.1 wheel six'.format(pip), cwd=bench_path)
exec_cmd('{} -q install -e git+https://github.com/frappe/python-pdfkit.git#egg=pdfkit'.format(pip), cwd=bench_path)

def setup_socketio(bench_path='.'):
Expand Down

0 comments on commit 7498c8e

Please sign in to comment.