Skip to content

Commit 04d1f09

Browse files
committed
use newer pyJWT version
1 parent ad6f164 commit 04d1f09

2 files changed

Lines changed: 20 additions & 8 deletions

File tree

‎CHANGELOG‎

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,17 @@
22
Change history
33
================
44

5-
=======
5+
======
6+
2.9.2
7+
======
8+
:release-date: 2017-07-20
9+
:by: Tommaso Barbugli
10+
11+
Fixed deserialization problem with datetime objects with zeroed microseconds
12+
Support newer versions of the pyJWT lib
13+
14+
15+
======
616
2.9.1
717
======
818
:release-date: 2017-07-18
@@ -11,23 +21,23 @@
1121
Renamed client.get_activities' foreign_id_time param to foreign_id_times
1222

1323

14-
=======
24+
======
1525
2.9.0
1626
======
1727
:release-date: 2017-07-05
1828
:by: Tommaso Barbugli
1929

2030
Add support for get activity API endpoint
2131

22-
=======
32+
======
2333
2.8.1
2434
======
2535
:release-date: 2017-12-21
2636
:by: Tommaso Barbugli
2737

2838
Fixes a regression with embedded httpsig and Python 3
2939

30-
=======
40+
======
3141
2.8.0
3242
======
3343
:release-date: 2017-12-21
@@ -38,7 +48,7 @@ Fixes install issues on Windows
3848
* Bundle http-sig library
3949
* Use pycryptodomex instead of the discontinued pycrypto library
4050

41-
=======
51+
======
4252
2.7.0
4353
======
4454
:release-date: 2017-12-14

‎setup.py‎

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
from stream import __version__, __maintainer__, __email__, __license__
77
import sys
88

9-
109
unit = 'unittest2py3k' if sys.version_info > (3, 0, 0) else 'unittest2'
1110
tests_require = [
1211
unit,
@@ -31,13 +30,16 @@
3130

3231
install_requires = [
3332
'pycryptodomex==3.4.7',
34-
'pyjwt==1.3.0',
3533
requests,
3634
'six>=1.8.0'
3735
]
3836

3937
if sys.version_info < (2, 7, 0):
4038
install_requires.append('pyOpenSSL<18.0.0')
39+
install_requires.append('pyjwt>=1.3.0,<1.6.0')
40+
else:
41+
install_requires.append('pyjwt>=1.3.0,<1.7.0')
42+
4143

4244
class PyTest(TestCommand):
4345

@@ -53,6 +55,7 @@ def run_tests(self):
5355
'-v --cov=./')
5456
sys.exit(errno)
5557

58+
5659
setup(
5760
name='stream-python',
5861
version=__version__,
@@ -80,7 +83,6 @@ def run_tests(self):
8083
'Programming Language :: Python :: 2.6',
8184
'Programming Language :: Python :: 2.7',
8285
'Programming Language :: Python :: 3',
83-
'Programming Language :: Python :: 3.3',
8486
'Programming Language :: Python :: 3.4',
8587
'Programming Language :: Python :: 3.5',
8688
'Topic :: Software Development :: Libraries :: Python Modules',

0 commit comments

Comments
 (0)