Skip to content

Commit 6dc8398

Browse files
committed
Support Python 3.8 and use it for pre-commit and mypy
This is still a bit limited because a compatible gevent version is not yet available for Python 3.8.
1 parent 36d4a54 commit 6dc8398

File tree

3 files changed

+10
-7
lines changed

3 files changed

+10
-7
lines changed

.travis.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,16 @@ matrix:
99
python: 3.6
1010
- env: TOXENV=py37
1111
python: 3.7
12+
- env: TOXENV=py38
13+
python: 3.8
1214
- env: TOXENV=pypy
1315
python: pypy
1416
- env: TOXENV=pypy3
1517
python: pypy3
1618
- env: TOXENV=pre-commit
17-
python: 3.7
19+
python: 3.8
1820
- env: TOXENV=mypy
19-
python: 3.7
21+
python: 3.8
2022
install: pip install coveralls tox
2123
script: tox
2224
after_success: coveralls
@@ -30,7 +32,7 @@ deploy:
3032
on:
3133
branch: master
3234
tags: true
33-
python: 3.7
35+
python: 3.8
3436
skip_existing: true
3537
user: syrusakbary
3638
password:

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ def run_tests(self):
7070
"Programming Language :: Python :: 3.5",
7171
"Programming Language :: Python :: 3.6",
7272
"Programming Language :: Python :: 3.7",
73+
"Programming Language :: Python :: 3.8",
7374
"Programming Language :: Python :: Implementation :: PyPy",
7475
"License :: OSI Approved :: MIT License",
7576
"Topic :: Database :: Front-Ends",

tox.ini

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
[tox]
2-
envlist = py{27,35,36,37,py,py3},pre-commit,mypy,docs
2+
envlist = py{27,35,36,37,py38,py,py3},pre-commit,mypy,docs
33

44
[testenv]
55
deps =
66
.[test]
77
commands =
88
py{27,py}: pytest graphql tests {posargs}
9-
py{35,36,37,py3}: pytest graphql tests tests_py35 {posargs}
9+
py{35,36,37,38,py3}: pytest graphql tests tests_py35 {posargs}
1010

1111
[testenv:pre-commit]
12-
basepython=python3.7
12+
basepython=python3.8
1313
deps =
1414
pre-commit==1.21.0
1515
setenv =
@@ -18,7 +18,7 @@ commands =
1818
pre-commit {posargs:run --all-files}
1919

2020
[testenv:mypy]
21-
basepython=python3.7
21+
basepython=python3.8
2222
deps =
2323
mypy==0.761
2424
commands =

0 commit comments

Comments
 (0)