python3Packages.web3: update to 6.3.0

This commit is contained in:
Miao, ZhiCheng 2023-05-05 11:49:06 +03:00
parent 7091454bd1
commit 57f73bd444
No known key found for this signature in database
GPG Key ID: 1080B4863AD0F5D1

View File

@ -25,7 +25,7 @@
buildPythonPackage rec {
pname = "web3";
version = "5.31.1";
version = "6.3.0";
format = "setuptools";
disabled = pythonOlder "3.7";
@ -34,7 +34,7 @@ buildPythonPackage rec {
owner = "ethereum";
repo = "web3.py";
rev = "v${version}";
hash = "sha256-YsAbPI9Y6z+snKZ9NsA0YSpB38n+ra4+Ei6COYFe8v4=";
hash = "sha256-p3Dpmb0BST1nbh42q/eK/DjQqoIPHvNr2KllRpTgFFw=";
};
nativeBuildInputs = [
@ -72,6 +72,10 @@ buildPythonPackage rec {
doCheck = false;
postPatch = ''
substituteInPlace setup.py --replace "types-protobuf==3.19.13" "types-protobuf"
'';
pythonImportsCheck = [
"web3"
];