lol

python312Packages.web3: 7.6.1 -> 7.8.0

Diff: https://github.com/ethereum/web3.py/compare/refs/tags/v7.6.1...v7.8.0

+34 -15
+34 -15
pkgs/development/python-modules/web3/default.nix
··· 2 2 lib, 3 3 buildPythonPackage, 4 4 fetchFromGitHub, 5 + 6 + # build-system 5 7 setuptools, 8 + 6 9 # dependencies 7 10 aiohttp, 8 11 eth-abi, ··· 11 14 eth-typing, 12 15 eth-utils, 13 16 hexbytes, 14 - ipfshttpclient, 15 17 jsonschema, 16 18 lru-dict, 17 19 protobuf, ··· 19 21 requests, 20 22 types-requests, 21 23 websockets, 22 - # nativeCheckInputs 24 + 25 + # optional-dependencies 26 + ipfshttpclient, 27 + 28 + # tests 23 29 eth-tester, 24 30 flaky, 25 31 hypothesis, 26 32 py-evm, 27 33 pytest-asyncio_0_21, 28 - pytestCheckHook, 29 34 pytest-mock, 30 35 pytest-xdist, 36 + pytestCheckHook, 31 37 pyunormalize, 32 38 }: 33 39 34 40 buildPythonPackage rec { 35 41 pname = "web3"; 36 - version = "7.6.1"; 42 + version = "7.8.0"; 37 43 pyproject = true; 38 44 39 45 src = fetchFromGitHub { 40 46 owner = "ethereum"; 41 47 repo = "web3.py"; 42 48 tag = "v${version}"; 43 - hash = "sha256-rpXSkQtqUZiCLMF2XlElbsjFjJmX+3j/NdAU2oaPU54="; 44 - }; 45 - 46 - # Note: to reflect the extra_requires in main/setup.py. 47 - optional-dependencies = { 48 - ipfs = [ ipfshttpclient ]; 49 + hash = "sha256-Rk12QZK47oF0ri1+kCquW4vaqPPPO5UPYOhq4StR1+U="; 49 50 }; 50 51 51 52 build-system = [ setuptools ]; 53 + 54 + pythonRelaxDeps = [ 55 + "websockets" 56 + ]; 52 57 53 58 dependencies = 54 59 [ ··· 71 76 websockets 72 77 ]; 73 78 79 + # Note: to reflect the extra_requires in main/setup.py. 80 + optional-dependencies = { 81 + ipfs = [ ipfshttpclient ]; 82 + }; 83 + 74 84 nativeCheckInputs = [ 75 85 eth-tester 76 86 flaky 77 87 hypothesis 78 88 py-evm 79 89 pytest-asyncio_0_21 80 - pytestCheckHook 81 90 pytest-mock 82 91 pytest-xdist 92 + pytestCheckHook 83 93 pyunormalize 84 94 ]; 85 95 86 96 disabledTests = [ 87 97 # side-effect: runs pip online check and is blocked by sandbox 88 98 "test_install_local_wheel" 99 + 89 100 # not sure why they fail 90 - "test_init_multiple_contracts_performance" 91 101 "test_async_init_multiple_contracts_performance" 102 + "test_init_multiple_contracts_performance" 103 + 104 + # AssertionError: assert '/build/geth.ipc' == '/tmp/geth.ipc 105 + "test_get_dev_ipc_path" 106 + 107 + # Require network access 108 + "test_websocket_provider_timeout" 92 109 ]; 93 110 94 111 disabledTestPaths = [ 95 112 # requires geth library and binaries 96 113 "tests/integration/go_ethereum" 114 + 97 115 # requires local running beacon node 98 116 "tests/beacon" 99 117 ]; 100 118 101 119 pythonImportsCheck = [ "web3" ]; 102 120 103 - meta = with lib; { 121 + meta = { 104 122 description = "Python interface for interacting with the Ethereum blockchain and ecosystem"; 105 123 homepage = "https://web3py.readthedocs.io/"; 106 - license = licenses.mit; 107 - maintainers = with maintainers; [ hellwolf ]; 124 + changelog = "https://web3py.readthedocs.io/en/stable/release_notes.html"; 125 + license = lib.licenses.mit; 126 + maintainers = with lib.maintainers; [ hellwolf ]; 108 127 }; 109 128 }