diff --git a/.changelog/gentle-crows-run.md b/.changelog/gentle-crows-run.md deleted file mode 100644 index 9b13c83..0000000 --- a/.changelog/gentle-crows-run.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -pympp: patch ---- - -Fixed optional dependency handling by converting eager imports in `mpp.extensions.mcp` and `mpp.methods.tempo` to lazy `__getattr__`-based loading, so importing these modules without their extras installed no longer raises `ImportError` at import time. Added clear install hint messages when optional attrs are accessed without the required extras, and added `eth-account`, `eth-hash`, `attrs`, and `rlp` as declared dependencies for the `[tempo]` extra. diff --git a/CHANGELOG.md b/CHANGELOG.md index b436607..984a168 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## 0.5.2 (2026-04-01) + +### Patch Changes + +- Fixed optional dependency handling by converting eager imports in `mpp.extensions.mcp` and `mpp.methods.tempo` to lazy `__getattr__`-based loading, so importing these modules without their extras installed no longer raises `ImportError` at import time. Added clear install hint messages when optional attrs are accessed without the required extras, and added `eth-account`, `eth-hash`, `attrs`, and `rlp` as declared dependencies for the `[tempo]` extra. (by @BrendanRyan, [#105](https://github.com/tempoxyz/pympp/pull/105)) + ## 0.5.0 (2026-03-30) ### Minor Changes diff --git a/pyproject.toml b/pyproject.toml index 239b97d..c22165e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "pympp" -version = "0.5.1" +version = "0.5.2" description = "Python SDK for the Machine Payments Protocol (MPP)" readme = "README.md" requires-python = ">=3.12"