Skip to content

Commit 2c71caa

Browse files
committed
Support Python 3.6/3.7, desupport 3.3/3.4
1 parent 6abd1c5 commit 2c71caa

File tree

5 files changed

+9
-8
lines changed

5 files changed

+9
-8
lines changed

.gitignore

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ __pycache__/
1111
# Distribution / packaging
1212
.Python
1313
env/
14+
.env/
15+
venv/
16+
.venv/
1417
build/
1518
develop-eggs/
1619
dist/
@@ -44,7 +47,7 @@ htmlcov/
4447
.cache
4548
nosetests.xml
4649
coverage.xml
47-
*,cover
50+
*.cover
4851

4952
# Translations
5053
*.mo
@@ -59,7 +62,6 @@ docs/_build/
5962
# PyBuilder
6063
target/
6164

62-
6365
/tests/django.sqlite
6466

6567
/graphene/index.json

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@ install:
1111
- pip install -e .
1212
script:
1313
- flake8 gql
14-
- py.test --cov=gql tests
14+
- pytest --cov=gql tests
1515
after_success:
1616
- coveralls

dev_requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
pytest<4
1+
pytest>=3,<4
22
pytest-cov
33
coveralls
44
flake8

setup.cfg

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
[flake8]
2-
exclude = setup.py
32
max-line-length = 120
43

54
[isort]

setup.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@
1616
'Programming Language :: Python :: 2',
1717
'Programming Language :: Python :: 2.7',
1818
'Programming Language :: Python :: 3',
19-
'Programming Language :: Python :: 3.3',
20-
'Programming Language :: Python :: 3.4',
2119
'Programming Language :: Python :: 3.5',
20+
'Programming Language :: Python :: 3.6',
21+
'Programming Language :: Python :: 3.7',
2222
'Programming Language :: Python :: Implementation :: PyPy',
2323
],
2424
keywords='api graphql protocol rest relay gql client',
@@ -28,5 +28,5 @@
2828
'graphql-core>=0.5.0,<2',
2929
'promise>=0.4.0'
3030
],
31-
tests_require=['pytest>=2.7.2', 'mock'],
31+
tests_require=['pytest>=3,<4', 'mock'],
3232
)

0 commit comments

Comments
 (0)