Skip to content

Commit

Permalink
update pip install
Browse files Browse the repository at this point in the history
Signed-off-by: Umesh Lumbhani <[email protected]>
  • Loading branch information
umeshlumbhani247 committed Jul 21, 2023
1 parent c31bfaf commit 9d0cdb6
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ jobs:
- name: Python Setup
working-directory: cla-backend
run: |
pip install --platform manylinux2014_x86_64 --only-binary=:all: --target=/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages cryptography
pip install -r requirements.txt
pip install --platform manylinux2014_x86_64 --only-binary=:all: --target=/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages -r requirements-docusign.txt
- name: Python Lint
working-directory: cla-backend
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,8 @@ jobs:
- name: Python Setup
working-directory: cla-backend
run: |
pip install --platform manylinux2014_x86_64 --only-binary=:all: --target=/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages cryptography
pip install -r requirements.txt
pip install --platform manylinux2014_x86_64 --only-binary=:all: --target=/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages -r requirements-docusign.txt
- name: Python Lint
working-directory: cla-backend
Expand Down
2 changes: 1 addition & 1 deletion cla-backend-go/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ setup-dev:
echo "golangci-lint version:" && golangci-lint version

@echo "==> Installing multi-file-swagger tool..."
cd $(dir $(realpath $(firstword $(MAKEFILE_LIST))))swagger && pip3 install virtualenv && virtualenv .venv && source .venv/bin/activate && python -m pip install --upgrade pip && pip3 install -r requirements.txt && pip install --platform manylinux2014_x86_64 --only-binary=:all: --target=/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages -r requirements-docusign.txt
cd $(dir $(realpath $(firstword $(MAKEFILE_LIST))))swagger && pip3 install virtualenv && virtualenv .venv && source .venv/bin/activate && python -m pip install --upgrade pip && pip3 install --platform manylinux2014_x86_64 --only-binary=:all: --target=/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages cryptography && pip3 install -r requirements.txt

setup_deploy: setup-deploy
setup-deploy:
Expand Down
4 changes: 2 additions & 2 deletions cla-backend/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@ setup:
pip3 install virtualenv;
virtualenv -p python3 ~/.env/lf-cla;
source ~/.env/lf-cla/bin/activate; \
pip3 install --platform manylinux2014_x86_64 --only-binary=:all: --target=/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages cryptography; \
pip3 install -r requirements.txt; \
pip install --platform manylinux2014_x86_64 --only-binary=:all: --target=/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages -r requirements-docusign.txt; \

.PHONY: setup_circle
setup_circle:
npm install; \
sudo pip install --platform manylinux2014_x86_64 --only-binary=:all: --target=/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages cryptography; \
sudo pip install -r requirements.txt; \
sudo pip install --platform manylinux2014_x86_64 --only-binary=:all: --target=/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages -r requirements-docusign.txt; \

# username: LFID username
# projects: quoted list of SFDC project IDs. e.g. '\"abcd\",\"1234\"'
Expand Down
4 changes: 0 additions & 4 deletions cla-backend/requirements-docusign.txt

This file was deleted.

3 changes: 2 additions & 1 deletion cla-backend/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -58,4 +58,5 @@ wcwidth==0.1.7
Werkzeug==0.15.5
wrapt==1.11.2
zipp==3.15.0
markupsafe==2.0.1
markupsafe==2.0.1
docusign-esign==3.22.0

0 comments on commit 9d0cdb6

Please sign in to comment.