mirror of
https://github.com/graphql-python/graphene.git
synced 2025-02-02 12:44:15 +03:00
v3.0 - remove Python 2.x from build (#983)
* Change travis to only compile for p3.6+ * Changed tox to only run Python 3.6+ * Changed library classifiers to reflect support in Python 3.6+ * Changed version to 3.0.0 development In [15]: get_version((3, 0, 0, "alpha", 0)) Out[15]: '3.0.dev20190601212304'
This commit is contained in:
parent
40534bcce9
commit
923401676c
|
@ -1,18 +1,12 @@
|
||||||
language: python
|
language: python
|
||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
- env: TOXENV=py27
|
|
||||||
python: 2.7
|
|
||||||
- env: TOXENV=py35
|
|
||||||
python: 3.5
|
|
||||||
- env: TOXENV=py36
|
- env: TOXENV=py36
|
||||||
python: 3.6
|
python: 3.6
|
||||||
- env: TOXENV=py37
|
- env: TOXENV=py37
|
||||||
python: 3.7
|
python: 3.7
|
||||||
dist: xenial
|
dist: xenial
|
||||||
sudo: true
|
sudo: true
|
||||||
- env: TOXENV=pypy
|
|
||||||
python: pypy-5.7.1
|
|
||||||
- env: TOXENV=pre-commit
|
- env: TOXENV=pre-commit
|
||||||
python: 3.6
|
python: 3.6
|
||||||
- env: TOXENV=mypy
|
- env: TOXENV=mypy
|
||||||
|
|
|
@ -43,7 +43,7 @@ from .utils.resolve_only_args import resolve_only_args
|
||||||
from .utils.module_loading import lazy_import
|
from .utils.module_loading import lazy_import
|
||||||
|
|
||||||
|
|
||||||
VERSION = (2, 1, 4, "final", 0)
|
VERSION = (3, 0, 0, "alpha", 0)
|
||||||
|
|
||||||
__version__ = get_version(VERSION)
|
__version__ = get_version(VERSION)
|
||||||
|
|
||||||
|
|
5
setup.py
5
setup.py
|
@ -73,13 +73,8 @@ setup(
|
||||||
"Development Status :: 3 - Alpha",
|
"Development Status :: 3 - Alpha",
|
||||||
"Intended Audience :: Developers",
|
"Intended Audience :: Developers",
|
||||||
"Topic :: Software Development :: Libraries",
|
"Topic :: Software Development :: Libraries",
|
||||||
"Programming Language :: Python :: 2",
|
|
||||||
"Programming Language :: Python :: 2.7",
|
|
||||||
"Programming Language :: Python :: 3",
|
|
||||||
"Programming Language :: Python :: 3.5",
|
|
||||||
"Programming Language :: Python :: 3.6",
|
"Programming Language :: Python :: 3.6",
|
||||||
"Programming Language :: Python :: 3.7",
|
"Programming Language :: Python :: 3.7",
|
||||||
"Programming Language :: Python :: Implementation :: PyPy",
|
|
||||||
],
|
],
|
||||||
keywords="api graphql protocol rest relay graphene",
|
keywords="api graphql protocol rest relay graphene",
|
||||||
packages=find_packages(exclude=["tests", "tests.*", "examples"]),
|
packages=find_packages(exclude=["tests", "tests.*", "examples"]),
|
||||||
|
|
6
tox.ini
6
tox.ini
|
@ -1,16 +1,14 @@
|
||||||
[tox]
|
[tox]
|
||||||
envlist = flake8,py27,py34,py35,py36,py37,pre-commit,pypy,mypy
|
envlist = flake8,py36,py37,pre-commit,mypy
|
||||||
skipsdist = true
|
skipsdist = true
|
||||||
|
|
||||||
[testenv]
|
[testenv]
|
||||||
deps =
|
deps =
|
||||||
.[test]
|
.[test]
|
||||||
py{35,36,37}: pytest-asyncio
|
py{36,37}: pytest-asyncio
|
||||||
setenv =
|
setenv =
|
||||||
PYTHONPATH = .:{envdir}
|
PYTHONPATH = .:{envdir}
|
||||||
commands =
|
commands =
|
||||||
py{27,py}: py.test --cov=graphene graphene examples {posargs}
|
|
||||||
py{35}: py.test --cov=graphene graphene examples tests_asyncio {posargs}
|
|
||||||
py{36,37}: py.test --cov=graphene graphene examples tests_asyncio tests_py36 {posargs}
|
py{36,37}: py.test --cov=graphene graphene examples tests_asyncio tests_py36 {posargs}
|
||||||
|
|
||||||
[testenv:pre-commit]
|
[testenv:pre-commit]
|
||||||
|
|
Loading…
Reference in New Issue
Block a user