Skip to content

Commit 53bc8ab

Browse files
authored
Bump the version (#228)
* hotfix the endpoint issue hotfix the endpoint issue, add the script to automatically release it and fix unit test ubuntu version (for latest 3.6 cannot be find) * Fix workflow * add end of line * edit end of line * Bump the version * Bump version in unit tests
1 parent 8bea660 commit 53bc8ab

File tree

4 files changed

+9
-12
lines changed

4 files changed

+9
-12
lines changed

Adyen/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@
1414
API_PAYMENT_VERSION = "v64"
1515
API_PAYOUT_VERSION = "v64"
1616
API_TERMINAL_VERSION = "v1"
17-
LIB_VERSION = "7.1.1"
17+
LIB_VERSION = "7.1.2"
1818
LIB_NAME = "adyen-python-api-library"

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
setup(
44
name='Adyen',
55
packages=['Adyen'],
6-
version='7.1.1',
6+
version='7.1.2',
77
maintainer='Adyen',
88
maintainer_email='[email protected]',
99
description='Adyen Python Api',

test/CheckoutTest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ def test_payments_error_mocked(self):
9797
'returnUrl': 'https://your-company.com/...',
9898
u'applicationInfo': {
9999
u'adyenLibrary': {
100-
u'version': '7.1.1',
100+
u'version': '7.1.2',
101101
u'name': 'adyen-python-api-library'
102102
}
103103
},

test/TerminalTest.py

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import pkg_resources
21
import unittest
32

43
import Adyen
@@ -8,8 +7,6 @@
87
except ImportError:
98
from .BaseTest import BaseTest
109

11-
VERSION = pkg_resources.get_distribution("Adyen").version
12-
1310

1411
class TestTerminal(unittest.TestCase):
1512
adyen = Adyen.Adyen(username="YourWSUser",
@@ -46,7 +43,7 @@ def test_assign_terminals(self):
4643
],
4744
"applicationInfo": {
4845
"adyenLibrary": {
49-
"version": VERSION,
46+
"version": '7.1.2',
5047
"name": "adyen-python-api-library"
5148
}
5249
},
@@ -91,7 +88,7 @@ def test_find_terminal(self):
9188
"merchantAccount": "YOUR_MERCHANT_ACCOUNT",
9289
"applicationInfo": {
9390
"adyenLibrary": {
94-
"version": VERSION,
91+
"version": '7.1.2',
9592
"name": "adyen-python-api-library"
9693
}
9794
},
@@ -144,7 +141,7 @@ def test_get_stores_under_account(self):
144141
"merchantAccount": "YOUR_MERCHANT_ACCOUNT",
145142
"applicationInfo": {
146143
"adyenLibrary": {
147-
"version": VERSION,
144+
"version": '7.1.2',
148145
"name": "adyen-python-api-library"
149146
}
150147
},
@@ -174,7 +171,7 @@ def test_get_terminal_details(self):
174171
"merchantAccount": "YOUR_MERCHANT_ACCOUNT",
175172
"applicationInfo": {
176173
"adyenLibrary": {
177-
"version": VERSION,
174+
"version": '7.1.2',
178175
"name": "adyen-python-api-library"
179176
}
180177
},
@@ -231,7 +228,7 @@ def test_get_terminals_under_account(self):
231228
"merchantAccount": "YOUR_MERCHANT_ACCOUNT",
232229
"applicationInfo": {
233230
"adyenLibrary": {
234-
"version": VERSION,
231+
"version": '7.1.2',
235232
"name": "adyen-python-api-library"
236233
}
237234
},
@@ -274,7 +271,7 @@ def test_get_terminals_under_account_store(self):
274271
"store": "YOUR_STORE",
275272
"applicationInfo": {
276273
"adyenLibrary": {
277-
"version": VERSION,
274+
"version": '7.1.2',
278275
"name": "adyen-python-api-library"
279276
}
280277
},

0 commit comments

Comments
 (0)