Skip to content

Commit eab7a2f

Browse files
committed
Update requirements for tests
1 parent eca6be7 commit eab7a2f

File tree

6 files changed

+38
-25
lines changed

6 files changed

+38
-25
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ deploy:
2424
install: pip install -U tox-travis
2525
language: python
2626
python:
27+
- 3.8
2728
- 3.7
2829
- 3.6
2930
- 3.5

graphql_ws/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
__author__ = """Syrus Akbary"""
66
__email__ = 'me@syrusakbary.com'
7-
__version__ = '0.1.0'
7+
__version__ = '0.3.1'
88

99

1010
from .base import BaseConnectionContext, BaseSubscriptionServer

requirements_dev.txt

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
bumpversion==0.5.3
2-
wheel==0.29.0
3-
watchdog==0.8.3
4-
flake8==2.6.0
5-
tox==2.3.1
6-
coverage==4.1
7-
Sphinx==1.4.8
8-
PyYAML==3.11
9-
pytest==2.9.2
10-
pytest-runner==2.11.1
11-
gevent
12-
graphene>=2.0
13-
django
14-
channels<2
2+
wheel==0.33.6
3+
watchdog==0.10.2
4+
flake8>=3.7,<4
5+
tox>=3,<4
6+
coverage>=5.0,<6
7+
Sphinx>=1.8,<2
8+
PyYAML>=5.3,<6
9+
pytest==3.2.5
10+
pytest-runner>=5.2,<6
11+
gevent>=1.1,<2
12+
graphene>=2.0,<3
13+
django>=1.5,<3
14+
channels>=1.0,<2

setup.cfg

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
[bumpversion]
2-
current_version = 0.1.0
2+
current_version = 0.3.1
33
commit = True
44
tag = True
55

6-
[bumpversion:file:setup.py]
7-
search = version='{current_version}'
8-
replace = version='{new_version}'
6+
[bump2version:file:setup.py]
7+
search = version="{current_version}"
8+
replace = version="{new_version}"
99

10-
[bumpversion:file:graphql_ws/__init__.py]
10+
[bump2version:file:graphql_ws/__init__.py]
1111
search = __version__ = '{current_version}'
1212
replace = __version__ = '{new_version}'
1313

setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,8 @@
5656
"Programming Language :: Python :: 3.4",
5757
"Programming Language :: Python :: 3.5",
5858
"Programming Language :: Python :: 3.6",
59-
"Programming Language :: Python :: 3.7"
59+
"Programming Language :: Python :: 3.7",
60+
"Programming Language :: Python :: 3.8"
6061
],
6162
test_suite="tests",
6263
tests_require=test_requirements,

tox.ini

Lines changed: 16 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,17 @@
11
[tox]
2-
envlist = py27, py35, py36, flake8
2+
envlist = py27, py35, py36, py37, py38, flake8
33

44
[travis]
55
python =
6+
3.8: py38
7+
3.7: py37
68
3.6: py36
79
3.5: py35
810
2.7: py27
911

1012
[testenv:flake8]
1113
basepython=python
12-
deps=flake8
14+
deps=flake8>=3.7,<4
1315
commands=flake8 graphql_ws
1416

1517
[testenv]
@@ -19,18 +21,27 @@ deps =
1921
-r{toxinidir}/requirements_dev.txt
2022
commands =
2123
pip install -U pip
22-
py.test --basetemp={envtmpdir}
24+
pytest --basetemp={envtmpdir}
2325

2426
[testenv:py35]
2527
deps =
2628
-r{toxinidir}/requirements_dev.txt
27-
aiohttp==2.1.0
29+
aiohttp>=3.6,<4
2830

2931
[testenv:py36]
3032
deps =
3133
-r{toxinidir}/requirements_dev.txt
32-
aiohttp==2.1.0
34+
aiohttp>=3.6,<4
3335

36+
[testenv:py37]
37+
deps =
38+
-r{toxinidir}/requirements_dev.txt
39+
aiohttp>=3.6,<4
40+
41+
[testenv:py38]
42+
deps =
43+
-r{toxinidir}/requirements_dev.txt
44+
aiohttp>=3.6,<4
3445

3546
; If you want to make tox run the tests with the same versions, create a
3647
; requirements.txt with the pinned versions and uncomment the following lines:

0 commit comments

Comments
 (0)