From abb62367fd4960e6b0fa19afa379cf93e626d8da Mon Sep 17 00:00:00 2001 From: siijmDqEaiPR <100380192+siijmDqEaiPR@users.noreply.github.com> Date: Fri, 25 Feb 2022 16:33:32 -0500 Subject: [PATCH 1/2] Python 3.10 compatibility --- dyn/tm/services/dsf.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/dyn/tm/services/dsf.py b/dyn/tm/services/dsf.py index 0022d8a..3801a21 100644 --- a/dyn/tm/services/dsf.py +++ b/dyn/tm/services/dsf.py @@ -2,7 +2,10 @@ """This module contains wrappers for interfacing with every element of a Traffic Director (DSF) service. """ -from collections import Iterable +try: + from collections.abc import Iterable +except ImportError: + from collections import Iterable from dyn.compat import force_unicode, string_types from dyn.tm.utils import APIList, Active from dyn.tm.errors import DynectInvalidArgumentError From 89f20136ed95e647649b40ba1c7b0b2c0ae1a04c Mon Sep 17 00:00:00 2001 From: siijmDqEaiPR <100380192+siijmDqEaiPR@users.noreply.github.com> Date: Fri, 25 Feb 2022 16:35:40 -0500 Subject: [PATCH 2/2] Bump version to 1.8.4 --- dyn/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dyn/__init__.py b/dyn/__init__.py index cde14c1..e5c2ade 100644 --- a/dyn/__init__.py +++ b/dyn/__init__.py @@ -5,7 +5,7 @@ Requires Python 2.6 or higher, or the "simplejson" package. """ -version_info = (1, 8, 3) +version_info = (1, 8, 4) __name__ = 'dyn' __doc__ = 'A python wrapper for the DynDNS and DynEmail APIs' __author__ = '''