Skip to content

Commit 9c47140

Browse files
authored
ci: use requirements file for py deps (#3009)
* fix: use requirements file for py deps * Add wheel to pyenv
1 parent 167ac21 commit 9c47140

2 files changed

Lines changed: 58 additions & 3 deletions

File tree

make.sh

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -817,14 +817,15 @@ pkg_local_ensure_py_deps() {
817817
}
818818

819819
pkg_local_install_py_deps() {
820+
local root_dir="${ROOT_DIR}"
820821
_fold_start "pkg-install-py-deps"
821822
py_env_activate
822823

824+
python3 -m pip install wheel
823825
# lints, fmt, checks deps
824-
python3 -m pip install black shellcheck-py codespell==2.2.4 flake8==6.0.0 vulture==2.7
826+
python3 -m pip install -r "${root_dir}/test/requirements.txt"
825827

826-
# test deps
827-
python3 -m pip install py-solc-x eth_typing==4.0.0 eth_account==0.11.2 web3==6.14.0
828+
# post dep for test
828829
python3 -c 'from solcx import install_solc;install_solc("0.8.20")'
829830

830831
py_env_deactivate

test/requirements.txt

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
aiohappyeyeballs==2.4.0
2+
aiohttp==3.10.5
3+
aiosignal==1.3.1
4+
attrs==24.2.0
5+
bitarray==2.9.2
6+
black==24.8.0
7+
certifi==2024.7.4
8+
charset-normalizer==3.3.2
9+
ckzg==2.0.0
10+
click==8.1.7
11+
codespell==2.2.4
12+
cytoolz==0.12.3
13+
eth-account==0.11.2
14+
eth-hash==0.7.0
15+
eth-keyfile==0.8.1
16+
eth-keys==0.5.1
17+
eth-rlp==1.0.1
18+
eth-typing==4.0.0
19+
eth-utils==4.1.1
20+
eth_abi==5.1.0
21+
flake8==6.0.0
22+
frozenlist==1.4.1
23+
hexbytes==0.3.1
24+
idna==3.8
25+
jsonschema==4.23.0
26+
jsonschema-specifications==2023.12.1
27+
lru-dict==1.2.0
28+
mccabe==0.7.0
29+
multidict==6.0.5
30+
mypy-extensions==1.0.0
31+
packaging==23.2
32+
parsimonious==0.10.0
33+
pathspec==0.12.1
34+
platformdirs==4.2.2
35+
protobuf==5.27.3
36+
py-solc-x==2.0.3
37+
pycodestyle==2.10.0
38+
pycryptodome==3.20.0
39+
pyflakes==3.0.1
40+
pyunormalize==15.1.0
41+
referencing==0.35.1
42+
regex==2024.7.24
43+
requests==2.32.3
44+
rlp==4.0.1
45+
rpds-py==0.20.0
46+
shellcheck-py==0.10.0.1
47+
toml==0.10.2
48+
toolz==0.12.1
49+
typing_extensions==4.12.2
50+
urllib3==2.2.2
51+
vulture==2.7
52+
web3==6.14.0
53+
websockets==13.0
54+
yarl==1.9.4

0 commit comments

Comments
 (0)