Exceptions will only happen when trying to actually
generate a hash.
What was wrong?
Issue #8
Why now? Several utilities import eth-hash but use it infrequently. It would be convenient to not install a hashing backend in scenarios where it's not needed. This is breaking the docs build on HexBytes and probably some others.
How was it fixed?
Added a new backend, AutoBackend which waits to identify a backend on-demand.
Tests to verify that the lazy import doesn't raise an exception, until usage.
Exceptions will only happen when trying to actually generate a hash.
What was wrong?
Issue #8
Why now? Several utilities import eth-hash but use it infrequently. It would be convenient to not install a hashing backend in scenarios where it's not needed. This is breaking the docs build on
HexBytes
and probably some others.How was it fixed?
AutoBackend
which waits to identify a backend on-demand.Cute Animal Picture