Skip to content

Commit 01fc51b

Browse files
authored
Merge pull request #380 from Carreau/bump-testing
update python version testing
2 parents 2fae25b + d62626e commit 01fc51b

File tree

3 files changed

+7
-8
lines changed

3 files changed

+7
-8
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
language: python
22
python:
33
- "nightly"
4-
- '3.6-dev'
4+
- "3.7-dev"
5+
- 3.6
56
- 3.5
67
- 3.4
7-
- 3.3
88
- 2.7
99
sudo: false
1010
install:

jupyter_client/tests/test_session.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ def test_send(self):
141141

142142
# buffers must be contiguous
143143
buf = memoryview(os.urandom(16))
144-
if sys.version_info >= (3,3):
144+
if sys.version_info >= (3,4):
145145
with self.assertRaises(ValueError):
146146
self.session.send(A, msg, ident=b'foo', buffers=[buf[::2]])
147147

@@ -339,7 +339,7 @@ def test_send_raw(self):
339339
A.close()
340340
B.close()
341341
ctx.term()
342-
342+
343343
def test_clone(self):
344344
s = self.session
345345
s._add_digest('initial')

setup.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
import sys
1717

1818
v = sys.version_info
19-
if v[:2] < (2,7) or (v[0] >= 3 and v[:2] < (3,3)):
20-
error = "ERROR: %s requires Python version 2.7 or 3.3 or above." % name
19+
if v[:2] < (2,7) or (v[0] >= 3 and v[:2] < (3,4)):
20+
error = "ERROR: %s requires Python version 2.7 or 3.4 or above." % name
2121
print(error, file=sys.stderr)
2222
sys.exit(1)
2323

@@ -92,10 +92,9 @@ def run(self):
9292
'entrypoints',
9393
'tornado>=4.1',
9494
],
95-
python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*',
95+
python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*',
9696
extras_require = {
9797
'test': ['ipykernel', 'ipython', 'mock'],
98-
'test:python_version == "3.3"': ['pytest>=3,<3.3.0'],
9998
'test:(python_version >= "3.4" or python_version == "2.7")': ['pytest'],
10099
},
101100
cmdclass = {

0 commit comments

Comments
 (0)