Skip to content

Commit 5207f02

Browse files
authored
Sem-Ver: feature Add support for python 3.7
Signed-off-by: David Black <[email protected]>
1 parent 901fe2e commit 5207f02

File tree

4 files changed

+5
-3
lines changed

4 files changed

+5
-3
lines changed

.travis.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,9 @@ python:
44
- "2.7"
55
- "3.5"
66
- "3.6"
7+
- "3.7"
78
install:
8-
- if [[ $TRAVIS_PYTHON_VERSION == 3.5 || $TRAVIS_PYTHON_VERSION == 3.6 ]]; then pip install aiohttp==2.0.6 asynctest==0.10.0; fi
9+
- if [[ $TRAVIS_PYTHON_VERSION == 3.5 || $TRAVIS_PYTHON_VERSION == 3.6 || $TRAVIS_PYTHON_VERSION == 3.7 ]]; then pip install aiohttp==3.6.2 asynctest==0.13.0; fi
910
- pip install -q pycodestyle==2.3.1
1011
script:
1112
- pycodestyle .

atlassian_jwt_auth/contrib/tests/aiohttp/test_public_key_provider.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ def _get_session(self):
2121

2222
resp = session.get.return_value
2323
resp.headers = CIMultiDict({"content-type": PEM_FILE_TYPE})
24-
resp.text.return_value = 'i-am-a-public-key'
24+
resp.text = CoroutineMock(return_value='i-am-a-public-key')
2525
return session
2626

2727

setup.cfg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ classifier =
1515
Programming Language :: Python :: 3
1616
Programming Language :: Python :: 3.5
1717
Programming Language :: Python :: 3.6
18+
Programming Language :: Python :: 3.7
1819
License :: OSI Approved :: MIT License
1920

2021
[files]

test-requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
nose
22
mock
33
flask<1.1.0
4-
Django==1.11
4+
Django>=1.11,<2.0.0
55
atlassian-httptest==0.8

0 commit comments

Comments
 (0)