Skip to content

Commit dfd8321

Browse files
committed
deprecate py2.7
1 parent a54cd4b commit dfd8321

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

.travis.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
language: python
22
python:
3-
- "2.7"
43
- "3.5"
54
- "3.6"
5+
- "3.7-dev"
66

77
sudo: required
88

9-
cache: pip
9+
cache:
10+
- pip
11+
- apt
1012

1113
addons:
1214
apt:

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@
2828
'sphinxcontrib-bibtex'
2929
]
3030

31-
if sys.version_info[:2] < (2, 7) or (3, 0) <= sys.version_info[:2] < (3, 5):
32-
raise RuntimeError("Python version 2.7 or >=3.5 required.")
31+
if sys.version_info[:2] < (3, 5):
32+
raise RuntimeError("Python version >=3.5 required.")
3333

3434
version_py = os.path.join(os.path.dirname(
3535
__file__), 'graphtools', 'version.py')

0 commit comments

Comments
 (0)