From 8ae3def63618fbde2474060c8f89497c84e402ad Mon Sep 17 00:00:00 2001 From: Christopher <85164196+artificial-christopher@users.noreply.github.com> Date: Mon, 2 May 2022 16:56:09 +0200 Subject: [PATCH 1/2] Update utils.py changed collections import to collections.abc for compatibility with python 3.10 --- bison/utils.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bison/utils.py b/bison/utils.py index 368c25b..0eb7731 100644 --- a/bison/utils.py +++ b/bison/utils.py @@ -6,7 +6,7 @@ Utilities for `bison`. """ -import collections +import collections.abc def build_dot_value(key, value): @@ -216,12 +216,12 @@ def _merge(d, u): """ for k, v in u.items(): # if we have a mapping, recursively merge the values - if isinstance(v, collections.Mapping): + if isinstance(v, collections.abc.Mapping): d[k] = _merge(d.get(k, {}), v) # if d (the dict to merge into) is a dict, just add the # value to the dict. - elif isinstance(d, collections.MutableMapping): + elif isinstance(d, collections.abc.MutableMapping): d[k] = v # otherwise if d (the dict to merge into) is not a dict (e.g. when From 8dbb7fa250d1f7f2bc944e263973c07321390bc7 Mon Sep 17 00:00:00 2001 From: Christopher <85164196+artificial-christopher@users.noreply.github.com> Date: Tue, 3 May 2022 09:49:03 +0200 Subject: [PATCH 2/2] bump version --- bison/__version__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bison/__version__.py b/bison/__version__.py index 57bd275..91d2704 100644 --- a/bison/__version__.py +++ b/bison/__version__.py @@ -3,7 +3,7 @@ __title__ = 'bison' __description__ = 'Python application configuration' __url__ = 'https://github.com/edaniszewski/bison' -__version__ = '0.1.3' +__version__ = '0.1.4' __author__ = 'Erick Daniszewski' __author_email__ = 'edaniszewski@gmail.com' __license__ = 'MIT'