Skip to content

Commit 66a6485

Browse files
Gábor BorosGábor Boros
Gábor Boros
authored and
Gábor Boros
committed
Remove python <3.6 dependencies
1 parent 0d2cbf8 commit 66a6485

File tree

5 files changed

+9
-27
lines changed

5 files changed

+9
-27
lines changed

.travis.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@ language: python
44
sudo: required
55

66
python:
7-
- "2.7"
8-
- "3.5"
97
- "3.6"
108
- "3.7"
119
- "3.8"

requirements.txt

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,12 @@
1-
async-generator==1.10; python_version>="3.6"
1+
async-generator==1.10
22
codacy-coverage==1.3.11
33
mock==3.0.5
44
pytest-cov==2.8.1
5-
pytest-tornasync==0.6.0.post2; python_version >= '3.5'
6-
pytest-trio==0.5.2; python_version>="3.6"
7-
pytest==4.6.6; python_version<"3.5"
8-
pytest==5.4.1; python_version>="3.5"
5+
pytest-tornasync==0.6.0.post2
6+
pytest-trio==0.5.2
7+
pytest==5.4.1
98
six==1.14.0
10-
tornado==5.1.1; python_version<"3.6"
11-
tornado==6.0.4; python_version>="3.6"
12-
trio==0.13.0; python_version>="3.6"
13-
outcome==1.0.1; python_version>="3.5"
14-
attrs==19.3.0; python_version>="3.5"
9+
tornado==6.0.4
10+
trio==0.13.0
11+
outcome==1.0.1
12+
attrs==19.3.0

setup.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -66,10 +66,7 @@
6666
classifiers=[
6767
'Intended Audience :: Developers',
6868
'Natural Language :: English',
69-
'Programming Language :: Python :: 2',
70-
'Programming Language :: Python :: 2.7',
71-
'Programming Language :: Python :: 3',
72-
'Programming Language :: Python :: 3.5',
69+
'Programming Language :: Python :: 3 :: Only',
7370
'Programming Language :: Python :: 3.6',
7471
'Programming Language :: Python :: 3.7',
7572
'Programming Language :: Python :: 3.8',

tests/integration/test_tornado.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77

88
@pytest.mark.tornado
99
@pytest.mark.integration
10-
@pytest.mark.skipif(sys.version_info < (3, 6), reason="requires python3.6 or higher")
1110
class TestTornado(IntegrationTestCaseBase):
1211
def setup_method(self):
1312
super(TestTornado, self).setup_method()
@@ -20,10 +19,5 @@ def teardown_method(self):
2019
self.r.set_loop_type(None)
2120

2221
async def test_tornado_list_tables(self):
23-
"""
24-
Test the flow for 3.6 and up, async generators are
25-
not supported in 3.5.
26-
"""
27-
2822
tables = self.r.table_list().run(self.conn)
2923
assert isinstance(tables, list)

tests/integration/test_trio.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,6 @@ def teardown_method(self):
1717
self.r.set_loop_type(None)
1818

1919
async def test_trio(self, nursery):
20-
"""
21-
Test the flow for 3.6 and up, async generators are
22-
not supported in 3.5.
23-
"""
24-
2520
async with self.r.open(db=INTEGRATION_TEST_DB, nursery=nursery) as conn:
2621
await self.r.table(self.table_name).insert(
2722
{

0 commit comments

Comments
 (0)