Skip to content

Commit 415d5f1

Browse files
authored
Bump dependencies (#210)
1 parent e3f1102 commit 415d5f1

File tree

8 files changed

+469
-509
lines changed

8 files changed

+469
-509
lines changed

.coveragerc

Lines changed: 0 additions & 6 deletions
This file was deleted.

.github/workflows/cd.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313

1414
- uses: actions/setup-python@v5
1515
with:
16-
python-version: "3.12"
16+
python-version: "3.13"
1717
cache: "poetry"
1818

1919
- run: poetry install

.github/workflows/ci.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
strategy:
1414
matrix:
1515
os: [ubuntu-latest, macos-latest, windows-latest]
16-
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13.0-rc.1"]
16+
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
1717
steps:
1818
- uses: actions/checkout@v4
1919

@@ -30,10 +30,11 @@ jobs:
3030
- run: poetry install --with test
3131

3232
- name: Run test
33-
run: poetry run pytest -s --cov=web3_input_decoder tests --cov-report xml
33+
run: poetry run pytest -s tests --cov-report xml
3434

3535
- name: Upload to codecov
3636
uses: codecov/codecov-action@v4
37+
if: matrix.os == 'ubuntu-latest' && matrix.python-version == '3.13'
3738
with:
3839
token: ${{ secrets.CODECOV_TOKEN }}
3940

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ coverage.xml
4747
.hypothesis/
4848
.pytest_cache/
4949

50+
5051
# Translations
5152
*.mo
5253
*.pot
@@ -100,8 +101,9 @@ venv.bak/
100101
# mkdocs documentation
101102
/site
102103

103-
# mypy
104+
# dev
104105
.mypy_cache/
106+
.ruff_cache/
105107

106108
.vscode/
107109
.DS_Store

.pre-commit-config.yaml

Lines changed: 0 additions & 20 deletions
This file was deleted.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ You can also play with it [here](https://replit.com/@kigawas/Web3-input-decoder-
4343

4444
### Performance enhancement
4545

46-
If you have lots of inputs in the same contract to decode, consider using [`InputDecoder`](web3_input_decoder/decoder.py#L26).
46+
If you have lots of inputs in the same contract to decode, consider using [`InputDecoder`](web3_input_decoder/decoder.py#L41).
4747

4848
```python
4949
>>> from web3_input_decoder import InputDecoder

poetry.lock

Lines changed: 441 additions & 465 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 20 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "web3-input-decoder"
3-
version = "0.1.13"
3+
version = "0.1.14"
44
# doc
55
authors = ["Weiliang Li <[email protected]>"]
66
description = "A simple offline web3 transaction input decoder for functions and constructors"
@@ -27,27 +27,34 @@ include = ["web3_input_decoder/py.typed"]
2727
python = "^3.8"
2828

2929
# 3rd party
30-
eth-abi = "^5.1.0"
30+
eth-abi = "^5.0.1"
3131
eth-utils = ">=2.0.0"
32-
pycryptodome = "^3.18.0"
32+
pycryptodome = ">=3.18.0"
3333

3434
[tool.poetry.group.dev.dependencies]
35-
ipython = {version = "8.26.0", python = "^3.10"}
36-
mypy = "^1.11"
37-
ruff = "^0.6.0"
35+
ipython = {version = "^8.29.0", python = "^3.10"}
36+
mypy = "^1.13.0"
37+
ruff = "^0.7.4"
3838

3939
# stubs
40-
eth-typing = "^5.0.0"
40+
eth-typing = "^5.0.1"
4141

4242
[tool.poetry.group.test.dependencies]
43-
pyinstrument = "^4.5.0"
44-
pytest = "^8.1.0"
45-
pytest-cov = "^5.0.0"
43+
pyinstrument = "^5.0.0"
44+
pytest = "^8.3.3"
45+
pytest-cov = {version = "^6.0.0", python = "^3.9"}
4646

4747
[build-system]
4848
build-backend = "poetry.core.masonry.api"
4949
requires = ["poetry-core>=1.0.0"]
5050

51-
[tool.isort]
52-
multi_line_output = 3
53-
profile = "black"
51+
[tool.pytest.ini_options]
52+
addopts = "--cov=web3_input_decoder"
53+
54+
[tool.coverage.report]
55+
exclude_lines = [
56+
"pragma: no cover",
57+
"@abstract",
58+
"raise NotImplementedError",
59+
"if __name__ == .__main__.",
60+
]

0 commit comments

Comments
 (0)