Skip to content

Commit 291bd90

Browse files
committed
Bump version, update test requirements
And remove redundant specification of test requirements.
1 parent 76adf60 commit 291bd90

File tree

4 files changed

+31
-31
lines changed

4 files changed

+31
-31
lines changed

.travis.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,12 @@ python:
66
- 3.6
77
- 3.7
88
- 3.8
9+
- pypy
10+
- pypy3
911
cache: pip
1012
install:
11-
- pip install -r ./dev_requirements.txt
12-
- pip install -e .
13+
- pip install -e .[test]
14+
- pip install flake8==3.7.9
1315
script:
1416
- flake8 gql tests
1517
- pytest --cov=gql tests
@@ -22,4 +24,4 @@ deploy:
2224
secure: ipBUDzdL/hW4+brQbjkqdP/VTV1Fv5t8e/7Xjt+AtXR2Qoe49MYVFB/Ea7fKfYYN1nL/xLlSuOj8aPQP4tKDshSELV2WT/SsMkz9EUHUUBu4HlZpVnLLoHlOgR//JfdSrcWNEGTANxwNZT4bdXkcITfDL2GefwiAVfdQ+nop/zEtFFwQmdHU0kylajV9f4PXjulKl3N9uIInsepjSFZR3iU4nn33aQ3meXyf+gs8OX4/AsvmnGAIX6l8W8MUrkVdQwzRV2phFF48xw6SKJeXhboNyoGOtr7CHg6oKd69t5sLtlNGxZpTG1XmxWX8SX+eLFJd3y+jE70Z9qtA+iRmgc8mQ5ghMijbZvyhruupJP8SsvwZBos3vUtTklMX1zYT0xL9mdvRuFWHu3q0z67unGkKE/BycIEpibwH6HLJ0HZcAVlWoaJZfs08+vENXSmHTSS+3xpuxHm7L8RF5lg91OuF7gm5DGyHzF/Kjrcu/3HVwzFO76vK4sEDO5FovHq+kuI+QvvxNIEvMCPt8i0FBnObfr2M1g0iyvT73qkJWI9JCpPW1g3ubb3EWKk3ZP28mlbcvw76JxDaEFDO554W9hDr4HO0Bq4LHalnTaTlqe/uP1TA+Tp9OARlftkuh1q14ukMwk9JtlCZhUkWldtGMMH7FJCSoOJ6RJl+l1ucCRo=
2325
on:
2426
tags: true
25-
python: 3.7
27+
python: 3.8

dev_requirements.txt

Lines changed: 0 additions & 6 deletions
This file was deleted.

setup.py

Lines changed: 20 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,22 @@
11
from setuptools import setup, find_packages
22

3+
install_requires = [
4+
'six>=1.10.0',
5+
'graphql-core>=2,<3',
6+
'promise>=2.0,<3',
7+
'requests>=2.12,<3'
8+
]
9+
10+
tests_require = [
11+
'pytest==4.6.9',
12+
'pytest-cov==2.8.1',
13+
'mock==3.0.5',
14+
'vcrpy==3.0.0'
15+
]
16+
317
setup(
418
name='gql',
5-
version='0.2.0',
19+
version='0.3.0',
620
description='GraphQL client for Python',
721
long_description=open('README.md').read(),
822
long_description_content_type="text/markdown",
@@ -25,16 +39,9 @@
2539
],
2640
keywords='api graphql protocol rest relay gql client',
2741
packages=find_packages(include=["gql*"]),
28-
install_requires=[
29-
'six>=1.10.0',
30-
'graphql-core>=2,<3',
31-
'promise>=2.0,<3',
32-
'requests>=2.12,<3'
33-
],
34-
tests_require=[
35-
'pytest>=3,<4',
36-
'pytest-cov>=2.8,<3',
37-
'mock>=3,<4',
38-
'vcrpy>=2.1,<3'
39-
],
42+
install_requires=install_requires,
43+
tests_require=tests_require,
44+
extras_require={
45+
'test': tests_require
46+
}
4047
)

tox.ini

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
[tox]
2-
envlist = py{27,35,36,37,38}, flake8, manifest
2+
envlist = py{27,35,36,37,38,py,py3}, flake8, manifest
33

44
[testenv:flake8]
5-
basepython = python3.7
6-
deps = flake8>=3.7,<4
5+
basepython = python3.8
6+
deps = flake8==3.7.9
77
commands =
88
flake8 gql tests
99

1010
[testenv:manifest]
11-
basepython = python3.7
11+
basepython = python3.8
1212
deps = check-manifest>=0.40,<1
1313
commands =
1414
check-manifest -v
@@ -18,10 +18,7 @@ setenv =
1818
PYTHONPATH = {toxinidir}
1919
MULTIDICT_NO_EXTENSIONS = 1
2020
YARL_NO_EXTENSIONS = 1
21-
deps =
22-
pytest>=3,<4
23-
pytest-cov>=2.8,<3
24-
mock>=3,<4
25-
vcrpy>=2.1,<3
21+
extras =
22+
test
2623
commands =
2724
pytest --cov=gql tests {posargs}

0 commit comments

Comments
 (0)