- Upgrade eth-typing to v3.0+, Add support for python 3.9 and 3.10
Remove support for python 3.5 (`[#215](https://github.com/ethereum/eth-utils/issues/215) <https://github.com/ethereum/eth-utils/issues/215>`__)
eth-utils v1.10.0 (2021-01-21)
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. ([#204](https://github.com/ethereum/eth-utils/issues/204) <https://github.com/ethereum/eth-utils/issues/204>__)
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. ([#205](https://github.com/ethereum/eth-utils/issues/205) <https://github.com/ethereum/eth-utils/issues/205>__)
Performance improvements
- Significant speedup of :meth:`~eth_utils.hexadecimal.is_hex` and
:meth:`~eth_utils.hexadecimal.is_hexstr`. (`[#202](https://github.com/ethereum/eth-utils/issues/202) <https://github.com/ethereum/eth-utils/issues/202>`__)
- Significant speedup of :meth:`~eth_utils.address.is_address`. Running a test that abi-encodes an
array of 10 addresses was about 67% faster. (`[#203](https://github.com/ethereum/eth-utils/issues/203) <https://github.com/ethereum/eth-utils/issues/203>`__)
Internal Changes - for eth-utils Contributors
Upgrade eth-hash to v0.3.1, to use its exported type annotations instead of casting the results. ([#208](https://github.com/ethereum/eth-utils/issues/208) <https://github.com/ethereum/eth-utils/issues/208>__)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
⚠️ Dependabot is rebasing this PR ⚠️
Rebasing might not happen immediately, so don't worry if this takes some time.
Note: if you make any changes to this PR yourself, they will take precedence over the rebase.
Updates the requirements on eth-utils to permit the latest version.
Changelog
Sourced from eth-utils's changelog.
... (truncated)
Commits
d3c3bf9
Bump version: 1.10.0 → 2.0.0471a6f4
Compile release notes5bd362a
Merge pull request #211 from hwwhww/patch-1a5bf773
Merge pull request #215 from kclowes/update-eth-typing16234cc
Add newsfragment0982a74
Update pytest requirementfcbf61d
Add python 3.10 supporte042325
Add python 3.9 supportb9cf262
Upgrade eth-typing to >3.0, remove python 3.5 supportfbec4fc
Removecompatibility
packageDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)