From ba6783f7b9485e54af96ae4e4c89ab40b4e8b640 Mon Sep 17 00:00:00 2001 From: Yoichi Hirai Date: Wed, 2 Oct 2019 16:50:58 +0200 Subject: [PATCH 1/2] Remove None initialization that was never needed. This fixes https://github.com/raiden-network/raiden-contracts/issues/1262 --- raiden_contracts/contract_manager.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/raiden_contracts/contract_manager.py b/raiden_contracts/contract_manager.py index d122fce44..81c21e837 100644 --- a/raiden_contracts/contract_manager.py +++ b/raiden_contracts/contract_manager.py @@ -57,8 +57,6 @@ def __init__(self, path: Path) -> None: """Params: path: path to a precompiled contract JSON file, """ - self.overall_checksum = None - self.contracts_checksums: Optional[Dict[str, str]] = None try: with path.open() as precompiled_file: precompiled_content = json.load(precompiled_file) From 8d1beda6015c928bc8a4282e4553003e75e14dd5 Mon Sep 17 00:00:00 2001 From: Yoichi Hirai Date: Wed, 2 Oct 2019 16:56:12 +0200 Subject: [PATCH 2/2] Fix pipdeptree I found an error in the CI ``` $ pipdeptree --warn fail Warning!!! Possibly conflicting dependencies found: * astroid==2.3.1 - six [required: ==1.12, installed: 1.11.0] ``` So from this time on, we will need six >=1.12. --- requirements-dev.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/requirements-dev.txt b/requirements-dev.txt index 59e66c929..83103bec1 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -21,3 +21,4 @@ isort pipdeptree eth-typing<2.0.0 eth-abi<=1.2.2 +six>=1.12