--- - branch: MAIN date: Sun Feb 7 20:01:35 UTC 2021 files: - new: '1.5' old: '1.4' path: pkgsrc/finance/py-eth-utils/Makefile pathrev: pkgsrc/finance/py-eth-utils/Makefile@1.5 type: modified - new: '1.2' old: '1.1' path: pkgsrc/finance/py-eth-utils/distinfo pathrev: pkgsrc/finance/py-eth-utils/distinfo@1.2 type: modified id: 20210207T200135Z.187e11d0614c36168b108f26fb60c0dbc9020a91 log: | 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. module: pkgsrc subject: 'CVS commit: pkgsrc/finance/py-eth-utils' unixtime: '1612728095' user: adam