From cfaae3d00b46fb9435f5547c27c4d99586e04028 Mon Sep 17 00:00:00 2001 From: Krishna Kumar <3963513+kks32@users.noreply.github.com> Date: Mon, 22 Jan 2024 09:15:36 -0600 Subject: [PATCH 1/2] Use custom AttrDict from util AttrDict is no longer available and this code breaks for Python > 3.9 --- agavepy/settings/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/agavepy/settings/__init__.py b/agavepy/settings/__init__.py index 2637b3b..7687008 100644 --- a/agavepy/settings/__init__.py +++ b/agavepy/settings/__init__.py @@ -11,7 +11,7 @@ if not load_dotenv(find_dotenv(usecwd=True)): load_dotenv(os.path.join(os.path.expanduser('~'), '.env')) -from attrdict import AttrDict # noqa +from ..util import AttrDict # noqa from .helpers import ENV_PREFIX # noqa from .log import * # noqa from .tenancy import * # noqa From b4292f0ac1a969ce752a20c59e22639bef537a0b Mon Sep 17 00:00:00 2001 From: Krishna Kumar <3963513+kks32@users.noreply.github.com> Date: Mon, 22 Jan 2024 09:16:37 -0600 Subject: [PATCH 2/2] Remove attrdict requirements.txt --- requirements.txt | 1 - 1 file changed, 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 0a1d634..9eb538a 100644 --- a/requirements.txt +++ b/requirements.txt @@ -5,7 +5,6 @@ petname>=2.6 cloudpickle>=1.3.0 requests_toolbelt>=0.9.1 future>=0.18.2 -attrdict>=2.0.0 requests>=2.23.0 arrow>=0.15.5 curlify>=2.2.1