forked from intuit/oauth-pythonclient
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path23.patch
More file actions
75 lines (65 loc) · 1.84 KB
/
23.patch
File metadata and controls
75 lines (65 loc) · 1.84 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
From 7ddb80911a6511ab4d649271d3f7214e13577e12 Mon Sep 17 00:00:00 2001
From: Alan Yee <alanyee@users.noreply.github.com>
Date: Wed, 30 Sep 2020 15:03:18 -0700
Subject: [PATCH 1/3] Remove future dependency
---
intuitlib/client.py | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/intuitlib/client.py b/intuitlib/client.py
index fc3ae6a..520b149 100644
--- a/intuitlib/client.py
+++ b/intuitlib/client.py
@@ -15,8 +15,12 @@
from __future__ import absolute_import
import json
+try:
+ from urllib.parse import urlencode
+except ImportError:
+ from urllib import urlencode
+
import requests
-from future.moves.urllib.parse import urlencode
from intuitlib.utils import (
get_discovery_doc,
From bc7ac85140d3caec914b91800f848cc56e40f216 Mon Sep 17 00:00:00 2001
From: Alan Yee <alanyee@users.noreply.github.com>
Date: Wed, 30 Sep 2020 15:03:55 -0700
Subject: [PATCH 2/3] Update setup.py
---
setup.py | 1 -
1 file changed, 1 deletion(-)
diff --git a/setup.py b/setup.py
index 6ffc152..8d030be 100644
--- a/setup.py
+++ b/setup.py
@@ -31,7 +31,6 @@
namespace_packages=('intuitlib',),
install_requires=[
'python_jose>=2.0.2',
- 'future>=0.16.0',
'requests>=2.13.0',
'requests_oauthlib>=1.0.0',
'six>=1.10.0',
From 638064b5030c1033aff0d3dada8c1d2b206f0953 Mon Sep 17 00:00:00 2001
From: Alan Yee <alanyee@users.noreply.github.com>
Date: Wed, 30 Sep 2020 15:12:39 -0700
Subject: [PATCH 3/3] Update requirements.txt
---
requirements.txt | 3 ---
1 file changed, 3 deletions(-)
diff --git a/requirements.txt b/requirements.txt
index 87b7bb0..e0f41ba 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -1,5 +1,4 @@
python_jose>=2.0.2
-future>=0.16.0
requests>=2.13.0
mock>=2.0.0
requests_oauthlib>=1.0.0
@@ -9,5 +8,3 @@ pytest>=3.8.0
pytest-cov==2.5.0
six>=1.10.0
enum-compat
-
-