-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Upgrade to python 3.12 * Upd pytest * Del scrypt mock * Upd dockerfilel and CI * Disable poetry cache * Add asyncio_default_fixture_loop_scope * Revert "Disable poetry cache" This reverts commit f7fb1bf. * Set version v3.0.0
- Loading branch information
1 parent
3985de6
commit f6782ea
Showing
19 changed files
with
409 additions
and
467 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,39 +1,39 @@ | ||
[tool.poetry] | ||
name = "v3-operator" | ||
version = "v2.2.1" | ||
version = "v3.0.0" | ||
description = "StakeWise operator service for registering vault validators" | ||
authors = ["StakeWise Labs <[email protected]>"] | ||
package-mode = false | ||
|
||
[tool.poetry.dependencies] | ||
python = ">=3.10,<3.11" | ||
python = ">=3.12,<3.13" | ||
python-decouple = "==3.8" | ||
sentry-sdk = "==1.32.0" | ||
py-ecc = "==6.0.0" | ||
gql = {extras = ["aiohttp"], version = "==3.5.0"} | ||
multiproof = { git = "https://github.com/stakewise/multiproof.git", rev = "v0.1.8" } | ||
sw-utils = {git = "https://github.com/stakewise/sw-utils.git", rev = "v0.7.4"} | ||
staking-deposit = { git = "https://github.com/ethereum/staking-deposit-cli.git", rev = "v2.4.0" } | ||
staking-deposit = { git = "https://github.com/ethereum/staking-deposit-cli.git", rev = "v2.8.0" } | ||
pycryptodomex = "3.19.1" | ||
click = "==8.1.7" | ||
tomli = "~2" | ||
eciespy = "==0.4.0" | ||
eciespy = "==0.4.3" | ||
prometheus-client = "==0.17.1" | ||
psycopg2 = "==2.9.9" | ||
pyyaml = "==6.0.1" | ||
python-json-logger = "==2.0.7" | ||
aiohttp = "==3.10.11" | ||
aiohttp = "==3.11.11" | ||
|
||
[tool.poetry.group.dev.dependencies] | ||
pylint = "==3.3.3" | ||
mypy = "==1.14.1" | ||
isort = "==5.12.0" | ||
pytest = "==7.4.2" | ||
pytest-asyncio = "==0.21.1" | ||
pytest = "==8.3.3" | ||
pytest-asyncio = "==0.25.2" | ||
pre-commit = "==3.5.0" | ||
Flake8-pyproject = "==1.2.3" | ||
bandit = { version = "==1.7.5", extras = ["toml"] } | ||
black = { version = "==23.10.0", extras = ["d"] } | ||
black = { version = "==24.10.0", extras = ["d"] } | ||
faker = "==19.11.0" | ||
flake8-print = "==5.0.0" | ||
flake8-datetimez = "==20.10.0" | ||
|
@@ -75,13 +75,17 @@ good-names = ["db", "i", "w3"] | |
ignored-modules=["milagro_bls_binding"] | ||
|
||
[tool.flake8] | ||
extend-ignore = ["E203", "E501"] # line length will be checked by pylint | ||
extend-ignore = [ | ||
"E203", # Whitespace before ':' | ||
"E501", # Line too long | ||
"E701" # Multiple statements on one line (colon) | ||
] | ||
exclude = ["conftest.py"] | ||
|
||
[tool.mypy] | ||
exclude = ["test"] | ||
ignore_missing_imports = true | ||
python_version = "3.10" | ||
python_version = "3.12" | ||
disallow_untyped_defs = true | ||
disallow_incomplete_defs = true | ||
warn_redundant_casts = true | ||
|
@@ -120,6 +124,7 @@ fail_under = 66 | |
|
||
[tool.pytest.ini_options] | ||
asyncio_mode = "auto" | ||
asyncio_default_fixture_loop_scope = "session" | ||
|
||
[tool.vulture] | ||
exclude = ["*/test*", "conftest.py", "networks.py"] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.