Skip to content

Commit 9d31ff6

Browse files
authored
Merge pull request #4 from bandprotocol/update-dependency
Bump dependency and python version
2 parents 152dd60 + 5972841 commit 9d31ff6

File tree

5 files changed

+30
-35
lines changed

5 files changed

+30
-35
lines changed

.gitignore

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,3 @@
55
/google-cloud-functions/venv
66
/google-cloud-functions/requirements.txt
77
/google-cloud-functions/google-cloud-function.zip
8-
9-

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
.PHONY: lambda gcf
22

3-
VERSION=2.0.2
3+
VERSION=2.0.3
44
CURRENT_DIR=$(shell pwd)
55

66
lambda:
77
cp $(CURRENT_DIR)/lambda/lambda_function.py $(CURRENT_DIR)/lambda/lambda_function.bak
88
RUNTIME_VERSION="lambda:$(VERSION)" envsubst < $(CURRENT_DIR)/lambda/lambda_function.bak > $(CURRENT_DIR)/lambda/lambda_function.py
99
cp $(CURRENT_DIR)/requirements.txt $(CURRENT_DIR)/lambda
10-
docker run --rm -v $(CURRENT_DIR)/lambda:/pack python:3.8 ./pack/pack.sh
10+
docker run --rm -v $(CURRENT_DIR)/lambda:/pack python:3.9 ./pack/pack.sh
1111
rm $(CURRENT_DIR)/lambda/requirements.txt
1212
mv $(CURRENT_DIR)/lambda/lambda_function.bak $(CURRENT_DIR)/lambda/lambda_function.py
1313

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,8 @@
1-
click==7.1.2
2-
Flask==1.1.2
3-
importlib-metadata==1.6.1
4-
itsdangerous==1.1.0
5-
Jinja2==2.11.2
6-
MarkupSafe==1.1.1
7-
more-itertools==8.3.0
8-
packaging==20.4
9-
pluggy==0.13.1
10-
py==1.8.1
11-
pyparsing==2.4.7
12-
pytest==5.4.3
1+
click==8.1.3
2+
Flask==2.1.2
3+
importlib-metadata==4.11.4
4+
itsdangerous==2.1.2
5+
Jinja2==3.1.2
6+
MarkupSafe==2.1.1
7+
Werkzeug==2.1.2
8+
zipp==3.8.0

lambda/pack.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ python3 -m venv venv
77
source venv/bin/activate
88
pip install -r requirements.txt
99

10-
cd venv/lib/python3.8/site-packages
10+
cd venv/lib/python3.9/site-packages
1111
zip -r9 ${OLDPWD}/lambda-yoda.zip .
1212

1313
cd ${OLDPWD}

requirements.txt

Lines changed: 19 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,20 @@
1-
aiodns==1.1.1
2-
aiohttp==3.6.2
3-
async-timeout==3.0.1
4-
attrs==19.3.0
1+
aiodns==3.0.0
2+
aiohttp==3.8.1
3+
aiosignal==1.2.0
4+
async-timeout==4.0.2
5+
attrs==21.4.0
56
bech32==1.2.0
6-
ccxt==1.31.1
7-
certifi==2020.6.20
8-
cffi==1.14.0
9-
chardet==3.0.4
10-
cryptography==2.9.2
11-
idna==2.10
12-
multidict==4.7.6
13-
pycares==3.1.1
14-
pycparser==2.20
15-
requests==2.24.0
16-
six==1.15.0
17-
urllib3==1.25.9
18-
yarl==1.1.0
19-
websocket-client==0.57.0
7+
ccxt==1.87.48
8+
certifi==2022.5.18.1
9+
cffi==1.15.0
10+
charset-normalizer==2.0.12
11+
cryptography==37.0.2
12+
frozenlist==1.3.0
13+
idna==3.3
14+
multidict==6.0.2
15+
pycares==4.1.2
16+
pycparser==2.21
17+
requests==2.28.0
18+
urllib3==1.26.9
19+
websocket-client==1.3.2
20+
yarl==1.7.2

0 commit comments

Comments
 (0)