From c1e4e092a721d00e607bf785cf464bccce837020 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=2E=20Fernando=20S=C3=A1nchez?= Date: Fri, 20 May 2022 13:50:56 +0200 Subject: [PATCH] Version 1.0.3 Fix fonts mixed-content Fixed deprecation error collections.MutableMapping (python 3.10) --- senpy/meta.py | 3 ++- senpy/templates/index.html | 2 +- senpy/utils.py | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/senpy/meta.py b/senpy/meta.py index 4f69931..d1d7aaa 100644 --- a/senpy/meta.py +++ b/senpy/meta.py @@ -23,7 +23,8 @@ import inspect import copy from abc import ABCMeta -from collections import MutableMapping, namedtuple +from collections import namedtuple +from collections.abc import MutableMapping class BaseMeta(ABCMeta): diff --git a/senpy/templates/index.html b/senpy/templates/index.html index 535b347..82e8b11 100755 --- a/senpy/templates/index.html +++ b/senpy/templates/index.html @@ -332,5 +332,5 @@ In Data Science and Advanced Analytics (DSAA), - + diff --git a/senpy/utils.py b/senpy/utils.py index ba771f9..b814119 100644 --- a/senpy/utils.py +++ b/senpy/utils.py @@ -14,7 +14,7 @@ # limitations under the License. # from . import models, __version__ -from collections import MutableMapping +from collections.abc import MutableMapping import pprint import pdb