Skip to content

Commit

Permalink
added new requirements file
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 9d0cdb6 commit 1585049
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 7 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,7 +51,7 @@ 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 --platform manylinux2014_x86_64 --only-binary=:all: --target=/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages cryptography -r requirements-docusign.txt
pip install -r requirements.txt
- name: Python Lint
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,7 +88,7 @@ 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 --platform manylinux2014_x86_64 --only-binary=:all: --target=/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages cryptography -r requirements-docusign.txt
pip install -r requirements.txt
- name: Python Lint
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 --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
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 -r requirements-docusign.txt && 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,13 +7,13 @@ 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 --platform manylinux2014_x86_64 --only-binary=:all: --target=/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages cryptography -r requirements-docusign.txt; \
pip3 install -r requirements.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 --platform manylinux2014_x86_64 --only-binary=:all: --target=/opt/hostedtoolcache/Python/3.7.17/x64/lib/python3.7/site-packages cryptography -r requirements-docusign.txt; \
sudo pip install -r requirements.txt; \

# username: LFID username
Expand Down
3 changes: 3 additions & 0 deletions cla-backend/requirements-docusign.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Copyright The Linux Foundation and each contributor to CommunityBridge.
# SPDX-License-Identifier: MIT
docusign-esign==3.22.0
3 changes: 1 addition & 2 deletions cla-backend/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -58,5 +58,4 @@ wcwidth==0.1.7
Werkzeug==0.15.5
wrapt==1.11.2
zipp==3.15.0
markupsafe==2.0.1
docusign-esign==3.22.0
markupsafe==2.0.1

0 comments on commit 1585049

Please sign in to comment.