2
0
mirror of https://github.com/frappe/bench.git synced 2025-01-09 00:21:23 +00:00

fix: pip pinned to 19.3.1 after v20 breaking

reference: https://github.com/pypa/pip/issues/7217
This commit is contained in:
Gavin D'souza 2020-01-21 17:49:18 +05:30
parent 03c4d9610a
commit 7498c8e497
3 changed files with 4 additions and 4 deletions

View File

@ -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
@ -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:

View File

@ -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

View File

@ -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='.'):