From 530594e2ee07972bc836bfa9af2b26bc1f0f7e78 Mon Sep 17 00:00:00 2001 From: ceroma <678940+ceroma@users.noreply.github.com> Date: Sun, 21 Feb 2021 19:42:28 -0800 Subject: [PATCH 1/2] ARMv7 hashes in requirements.txt Adds hashes for ARMv7 binaries of certain requirements that need so: [cytoolz](https://www.piwheels.org/project/cytoolz/): cytoolz-0.10.1-cp37-cp37m-linux_armv7l.whl 5161bef77f7b69bea64b4e052d0da17845e6adae6d09f91cc7e5acfc5cb2c5c4 [lru-dict](https://www.piwheels.org/project/lru-dict/): lru_dict-1.1.6-cp37-cp37m-linux_armv7l.whl 288d8794e9376fe31d27abc3531d395675b2a910781f26034d5ef79f0ba9cecc [pycryptodome](https://www.piwheels.org/project/pycryptodome/): pycryptodome-3.9.8-cp37-cp37m-linux_armv7l.whl be7553b8bea117892f83f52ebfe96929340cacae07f3f6a820291e42168dff62 [toolz](https://www.piwheels.org/project/toolz/): toolz-0.10.0-py3-none-any.whl c43f7cffb32a3c8e3fb51192cae4dcdbf0a6fee4d07142ca2e443d2bd9f89400 [typed-ast](https://www.piwheels.org/project/typed-ast/): typed_ast-1.4.1-cp37-cp37m-linux_armv7l.whl 3791f73e5d75aa9a95274679ab4821bd9d16de623c4ecf4900a77a29864ee144 -- Tested on a Raspberry Pi 3 Model B Rev 1.2 running Raspbian Buster. Tests pass correctly. Ran a few examples of `new-mnemonic` and `existing-mnemonic`. Compared resulting `deposit_data-.json` with the ones generated on a Mac for the same set of inputs and they matched. --- requirements.txt | 10 +++++++--- requirements_test.txt | 3 ++- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/requirements.txt b/requirements.txt index b47f495a..d7fdeb98 100644 --- a/requirements.txt +++ b/requirements.txt @@ -36,7 +36,8 @@ pycryptodome==3.9.8 \ --hash=sha256:f2e045224074d5664dc9cbabbf4f4d4d46f1ee90f24780e3a9a668fd096ff17f \ --hash=sha256:f521178e5a991ffd04182ed08f552daca1affcb826aeda0e1945cd989a9d4345 \ --hash=sha256:f78a68c2c820e4731e510a2df3eef0322f24fde1781ced970bf497b6c7d92982 \ - --hash=sha256:fbe65d5cfe04ff2f7684160d50f5118bdefb01e3af4718eeb618bfed40f19d94 + --hash=sha256:fbe65d5cfe04ff2f7684160d50f5118bdefb01e3af4718eeb618bfed40f19d94 \ + --hash=sha256:be7553b8bea117892f83f52ebfe96929340cacae07f3f6a820291e42168dff62 click==7.1.2 \ --hash=sha256:d2b5255c7c6349bc1bd1e59e08cd12acbbd63ce649f2588755783aa94dfb6b1a \ --hash=sha256:dacca89f4bfadd5de3d7489b7c8a566eee0d3676333fbb50030263894c38c0dc @@ -55,17 +56,20 @@ mypy-extensions==0.4.3 \ --hash=sha256:090fedd75945a69ae91ce1303b5824f428daf5a028d2f6ab8a299250a846f15d \ --hash=sha256:2d82818f5bb3e369420cb3c4060a7970edba416647068eb4c5343488a6c604a8 lru-dict==1.1.6 \ - --hash=sha256:365457660e3d05b76f1aba3e0f7fedbfcd6528e97c5115a351ddd0db488354cc + --hash=sha256:365457660e3d05b76f1aba3e0f7fedbfcd6528e97c5115a351ddd0db488354cc \ + --hash=sha256:288d8794e9376fe31d27abc3531d395675b2a910781f26034d5ef79f0ba9cecc pyrsistent==0.16.1 \ --hash=sha256:aa2ae1c2e496f4d6777f869ea5de7166a8ccb9c2e06ebcf6c7ff1b670c98c5ef eth-hash==0.2.0 \ --hash=sha256:1b9cb34dd3cd99c85c2bd6a1420ceae39a2eee8bf080efd264bcda8be3edecc8 \ --hash=sha256:499dc02d098f69856d1a6dd005529c16174157d4fb2a9fe20c41f69e39f8f176 cytoolz==0.10.1 \ + --hash=sha256:82f5bba81d73a5a6b06f2a3553ff9003d865952fcb32e1df192378dd944d8a5c \ --hash=sha256:82f5bba81d73a5a6b06f2a3553ff9003d865952fcb32e1df192378dd944d8a5c toolz==0.10.0 \ --hash=sha256:08fdd5ef7c96480ad11c12d472de21acd32359996f69a5259299b540feba4560 \ - --hash=sha256:e71d8d91c8902fb7659c23e10e9698a8c5cbea985683b8a378c6fd67b52f2fc4 + --hash=sha256:e71d8d91c8902fb7659c23e10e9698a8c5cbea985683b8a378c6fd67b52f2fc4 \ + --hash=sha256:c43f7cffb32a3c8e3fb51192cae4dcdbf0a6fee4d07142ca2e443d2bd9f89400 six==1.15.0 \ --hash=sha256:30639c035cdb23534cd4aa2dd52c3bf48f06e5f4a941509c8bafd8ce11080259 \ --hash=sha256:8b74bedcbbbaca38ff6d7491d76f2b06b3592611af620f8426e82dddb04a5ced diff --git a/requirements_test.txt b/requirements_test.txt index e4899000..7e042617 100644 --- a/requirements_test.txt +++ b/requirements_test.txt @@ -78,7 +78,8 @@ typed-ast==1.4.1 \ --hash=sha256:d43943ef777f9a1c42bf4e552ba23ac77a6351de620aa9acf64ad54933ad4d34 \ --hash=sha256:d5d33e9e7af3b34a40dc05f498939f0ebf187f07c385fd58d591c533ad8562fe \ --hash=sha256:fc0fea399acb12edbf8a628ba8d2312f583bdbdb3335635db062fa98cf71fca4 \ - --hash=sha256:fe460b922ec15dd205595c9b5b99e2f056fd98ae8f9f56b888e7a17dc2b757e7 + --hash=sha256:fe460b922ec15dd205595c9b5b99e2f056fd98ae8f9f56b888e7a17dc2b757e7 \ + --hash=sha256:3791f73e5d75aa9a95274679ab4821bd9d16de623c4ecf4900a77a29864ee144 packaging==20.4 \ --hash=sha256:4357f74f47b9c12db93624a82154e9b120fa8293699949152b22065d556079f8 \ --hash=sha256:998416ba6962ae7fbd6596850b80e17859a5753ba17c32284f67bfff33784181 From 4240c353233275a17e41eb1a00f1bd2c418a3813 Mon Sep 17 00:00:00 2001 From: Hsiao-Wei Wang Date: Tue, 30 Mar 2021 13:05:44 +0800 Subject: [PATCH 2/2] Fix cytoolz linux_armv7l hash --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index d7fdeb98..52bb25b6 100644 --- a/requirements.txt +++ b/requirements.txt @@ -65,7 +65,7 @@ eth-hash==0.2.0 \ --hash=sha256:499dc02d098f69856d1a6dd005529c16174157d4fb2a9fe20c41f69e39f8f176 cytoolz==0.10.1 \ --hash=sha256:82f5bba81d73a5a6b06f2a3553ff9003d865952fcb32e1df192378dd944d8a5c \ - --hash=sha256:82f5bba81d73a5a6b06f2a3553ff9003d865952fcb32e1df192378dd944d8a5c + --hash=sha256:5161bef77f7b69bea64b4e052d0da17845e6adae6d09f91cc7e5acfc5cb2c5c4 toolz==0.10.0 \ --hash=sha256:08fdd5ef7c96480ad11c12d472de21acd32359996f69a5259299b540feba4560 \ --hash=sha256:e71d8d91c8902fb7659c23e10e9698a8c5cbea985683b8a378c6fd67b52f2fc4 \