Skip to content

Commit feb1c0c

Browse files
ekampfchangeling
authored andcommitted
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'
1 parent 4f9d52b commit feb1c0c

File tree

4 files changed

+3
-16
lines changed

4 files changed

+3
-16
lines changed

.travis.yml

-6
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,12 @@
11
language: python
22
matrix:
33
include:
4-
- env: TOXENV=py27
5-
python: 2.7
6-
- env: TOXENV=py35
7-
python: 3.5
84
- env: TOXENV=py36
95
python: 3.6
106
- env: TOXENV=py37
117
python: 3.7
128
dist: xenial
139
sudo: true
14-
- env: TOXENV=pypy
15-
python: pypy-5.7.1
1610
- env: TOXENV=pre-commit
1711
python: 3.6
1812
- env: TOXENV=mypy

graphene/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
from .utils.module_loading import lazy_import
4444

4545

46-
VERSION = (2, 1, 4, "final", 0)
46+
VERSION = (3, 0, 0, "alpha", 0)
4747

4848
__version__ = get_version(VERSION)
4949

setup.py

-5
Original file line numberDiff line numberDiff line change
@@ -73,13 +73,8 @@ def run_tests(self):
7373
"Development Status :: 3 - Alpha",
7474
"Intended Audience :: Developers",
7575
"Topic :: Software Development :: Libraries",
76-
"Programming Language :: Python :: 2",
77-
"Programming Language :: Python :: 2.7",
78-
"Programming Language :: Python :: 3",
79-
"Programming Language :: Python :: 3.5",
8076
"Programming Language :: Python :: 3.6",
8177
"Programming Language :: Python :: 3.7",
82-
"Programming Language :: Python :: Implementation :: PyPy",
8378
],
8479
keywords="api graphql protocol rest relay graphene",
8580
packages=find_packages(exclude=["tests", "tests.*", "examples"]),

tox.ini

+2-4
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,14 @@
11
[tox]
2-
envlist = flake8,py27,py34,py35,py36,py37,pre-commit,pypy,mypy
2+
envlist = flake8,py36,py37,pre-commit,mypy
33
skipsdist = true
44

55
[testenv]
66
deps =
77
.[test]
8-
py{35,36,37}: pytest-asyncio
8+
py{36,37}: pytest-asyncio
99
setenv =
1010
PYTHONPATH = .:{envdir}
1111
commands =
12-
py{27,py}: py.test --cov=graphene graphene examples {posargs}
13-
py{35}: py.test --cov=graphene graphene examples tests_asyncio {posargs}
1412
py{36,37}: py.test --cov=graphene graphene examples tests_asyncio tests_py36 {posargs}
1513

1614
[testenv:pre-commit]

0 commit comments

Comments
 (0)