Skip to content

Commit 02c6c01

Browse files
committed
add python 3.8, drop python 2 and 3.4
Closes: #1014 Signed-off-by: t0b3 <[email protected]>
1 parent 3f0401d commit 02c6c01

File tree

4 files changed

+8
-12
lines changed

4 files changed

+8
-12
lines changed

.travis.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# http://travis-ci.org/#!/RDFLib/rdflib
2-
sudo: false
32
language: python
43
branches:
54
only:
@@ -10,16 +9,14 @@ git:
109
depth: 3
1110

1211
python:
13-
- 2.7
14-
- 3.4
1512
- 3.5
1613
- 3.6
14+
- 3.7
1715

18-
matrix:
16+
jobs:
1917
include:
20-
- python: 3.7
18+
- python: 3.8
2119
dist: xenial
22-
sudo: true
2320

2421
before_install:
2522
- pip install -U setuptools pip # seems travis comes with a too old setuptools for html5lib

rdflib/extras/external_graph_libs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env python2.7
1+
#!/usr/bin/env
22
# encoding: utf-8
33
from __future__ import absolute_import
44
from __future__ import division

setup.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,15 +43,14 @@ def find_version(filename):
4343
url="https://github.com/RDFLib/rdflib",
4444
license="BSD-3-Clause",
4545
platforms=["any"],
46+
python_requires='>=3.5',
4647
classifiers=[
4748
"Programming Language :: Python",
48-
"Programming Language :: Python :: 2",
4949
"Programming Language :: Python :: 3",
50-
"Programming Language :: Python :: 2.7",
51-
"Programming Language :: Python :: 3.4",
5250
"Programming Language :: Python :: 3.5",
5351
"Programming Language :: Python :: 3.6",
5452
"Programming Language :: Python :: 3.7",
53+
"Programming Language :: Python :: 3.8",
5554
"License :: OSI Approved :: BSD License",
5655
"Topic :: Software Development :: Libraries :: Python Modules",
5756
"Operating System :: OS Independent",

tox.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tox]
22
envlist =
3-
py27,py34,py35,py36
3+
py35,py36,py37,py38
44

55
[testenv]
66
setenv =
@@ -20,7 +20,7 @@ deps =
2020

2121
[testenv:cover]
2222
basepython =
23-
python2.7
23+
python3.7
2424
commands =
2525
{envpython} run_tests.py --where=./ \
2626
--with-coverage --cover-html --cover-html-dir=./coverage \

0 commit comments

Comments
 (0)