Skip to content

Commit

Permalink
Add support for Python 3.7
Browse files Browse the repository at this point in the history
Also removes support for 3.4 and 3.5 since they are not available on Travis
anymore.
  • Loading branch information
jd committed Jul 5, 2018
1 parent 4b5cb5b commit 403b79e
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 7 deletions.
7 changes: 4 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
language: python
sudo: true
dist: xenial
python:
- '2.7'
- '3.4'
- '3.5'
- '3.6'
- pypy
- '3.7'
- pypy3.5
install:
- pip install coveralls
- pip install 'coverage<4'
Expand Down
3 changes: 1 addition & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,7 @@
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
]
)
5 changes: 4 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = flake8,py27,py34,py35,py36
envlist = flake8,py27,py34,py35,py36,py37

[flake8]
; E501: line too long (X > 79 characters)
Expand Down Expand Up @@ -35,3 +35,6 @@ basepython = python3.5

[testenv:py36]
basepython = python3.6

[testenv:py37]
basepython = python3.7
1 change: 0 additions & 1 deletion voluptuous/schema_builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -898,7 +898,6 @@ def _iterate_object(obj):
for key in slots:
if key != '__dict__':
yield (key, getattr(obj, key))
raise StopIteration()


class Msg(object):
Expand Down

0 comments on commit 403b79e

Please sign in to comment.