From cafb5387675c13a9aad6fc2c42fa706be4d8de07 Mon Sep 17 00:00:00 2001 From: Alan Yee Date: Tue, 20 Feb 2024 19:57:21 -0800 Subject: [PATCH 1/2] remove uninstalled imports of future --- intuitlib/client.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/intuitlib/client.py b/intuitlib/client.py index 739a8d2..b156746 100644 --- a/intuitlib/client.py +++ b/intuitlib/client.py @@ -13,12 +13,9 @@ # limitations under the License. import json -import requests +from urllib.parse import urlencode -try: - from urllib.parse import urlencode -except (ModuleNotFoundError, ImportError): - from future.moves.urllib.parse import urlencode +import requests from intuitlib.utils import ( get_discovery_doc, From 4e1fc4840d9404c74450609d66d638c02279874d Mon Sep 17 00:00:00 2001 From: Alan Yee Date: Tue, 20 Feb 2024 20:03:52 -0800 Subject: [PATCH 2/2] enforce python 3 --- setup.py | 1 + 1 file changed, 1 insertion(+) diff --git a/setup.py b/setup.py index 8d030be..f72faf9 100644 --- a/setup.py +++ b/setup.py @@ -36,6 +36,7 @@ 'six>=1.10.0', 'enum-compat', ], + python_requires='>=3', license='Apache 2.0', keywords='intuit quickbooks oauth auth openid client' )