Merge pull request #230065 from hellwolf/update-web3

python3Packages.web3: update to 6.3.0
This commit is contained in:
Ryan Lahfa 2023-05-05 16:37:16 +02:00 committed by GitHub
commit c27ef48c86
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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"
];