diff --git a/CHANGELOG.md b/CHANGELOG.md index 9e6f014..5b05d69 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,13 @@ # Changelog +## 2.4.2 (2023-12-06) + +### Fixed + - Import error when using `create_api` in Python 3.10+ (see [#87](https://github.com/AlexandreDecan/portion/issues/85)). + + + ## 2.4.1 (2023-07-19) ### Fixed diff --git a/portion/api.py b/portion/api.py index 963aa7c..e4919df 100644 --- a/portion/api.py +++ b/portion/api.py @@ -1,6 +1,7 @@ import functools import importlib import importlib.util +import importlib.machinery from .const import Bound, inf from .func import iterate, open, closed, openclosed, closedopen, empty, singleton diff --git a/setup.py b/setup.py index 46ddaf2..09d8f4e 100644 --- a/setup.py +++ b/setup.py @@ -9,7 +9,7 @@ setup( name="portion", - version="2.4.1", + version="2.4.2", license="LGPLv3", author="Alexandre Decan", url="https://github.com/AlexandreDecan/portion",