Commit graph

12 commits

Author SHA1 Message Date
adam
08cab7ccf6 py-eth-utils: updated to 2.0.0
Eth_Utils 2.0.0 (2021-11-18)

Features

Upgrade eth-typing to v3.0+, Add support for python 3.9 and 3.10 Remove support for python 3.5
2022-07-12 07:27:18 +00:00
wiz
fed3f31a44 *: remove workaround patches for python 3.6 2022-01-14 11:49:41 +00:00
wiz
bb579283d0 *: bump PKGREVISION for egg.mk users
They now have a tool dependency on py-setuptools instead of a DEPENDS
2022-01-04 20:53:26 +00:00
nia
0f767f3f83 finance: Replace RMD160 checksums with BLAKE2s checksums
All checksums have been double-checked against existing RMD160 and
SHA512 hashes
2021-10-26 10:26:00 +00:00
nia
b7161897ed finance: Remove SHA1 hashes for distfiles 2021-10-07 13:53:49 +00:00
mef
2bac97acb6 (finance/py-eth-utils) Fix build by py36, UnicodeDecodeError: 2021-02-18 12:35:02 +00:00
adam
efbc285e66 py-eth-utils: also PLIST 2021-02-07 20:06:01 +00:00
adam
adf6f99797 py-eth-utils: updated to 1.10.0
eth-utils v1.10.0

Bugfixes

When a TypeError or ValueError is raised during :meth:`~eth_utils.applicators.apply_formatters_to_dict`, eth_utils appends some useful contextual information. It was trying to re-create the old exception, but that sometimes fails, like with a :class:`JSONDecodeError`, which expects more arguments in the constructor. So now we raise a basic TypeError or ValueError.
Update the type signature of :meth:`~eth_utils.address.to_canonical_address`, :meth:`~eth_utils.address.to_checksum_address`, and :meth:`~eth_utils.address.to_normalized_address` to allow bytes-typed address input.

Performance improvements

Significant speedup of :meth:`~eth_utils.hexadecimal.is_hex` and :meth:`~eth_utils.hexadecimal.is_hexstr`.
Significant speedup of :meth:`~eth_utils.address.is_address`. Running a test that abi-encodes an array of 10 addresses was about 67% faster.

Internal Changes - for eth-utils Contributors

Upgrade eth-hash to v0.3.1, to use its exported type annotations instead of casting the results.
2021-02-07 20:01:35 +00:00
nia
c8bfb018c6 Add PYTHON_VERSIONS_INCOMPATIBLE to packages that fail with 3.6. 2020-11-25 11:13:18 +00:00
khorben
a3a769d441 py-bump2version: use in place of py-bumpversion
Bumps PKGREVISION in affected packages.
2020-10-08 19:09:05 +00:00
jperkin
2a5f7ef574 py-eth-utils: Try to fix dependencies. 2020-09-29 19:37:33 +00:00
khorben
4f32169984 py-eth-utils: import version 1.9.5
Common utility functions for codebases which interact with ethereum.
2020-09-29 00:05:36 +00:00