Skip to content

Commit 363e417

Browse files
committed
Add testing and document support for Python 3.7
Python 3.7 was released on June 27, 2018.
1 parent 97379aa commit 363e417

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

.travis.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,12 @@ matrix:
3333
- python: pypy
3434
env:
3535
- TOXENV=pypy
36-
- python: 3.7-dev
36+
- python: 3.7
3737
env:
3838
- TOXENV=py37
3939
- WITH_GCOV=1
40+
dist: xenial
41+
sudo: true
4042
- python: 2.7
4143
env:
4244
- TOXENV=py2-nosasltls
@@ -51,9 +53,6 @@ matrix:
5153
- python: 3.6
5254
env: TOXENV=doc
5355
allow_failures:
54-
- env:
55-
- TOXENV=py37
56-
- WITH_GCOV=1
5756
- env:
5857
- TOXENV=pypy
5958

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ class OpenLDAP2:
9494
'Programming Language :: Python :: 3.4',
9595
'Programming Language :: Python :: 3.5',
9696
'Programming Language :: Python :: 3.6',
97+
'Programming Language :: Python :: 3.7',
9798
# Note: when updating Python versions, also change .travis.yml and tox.ini
9899

99100
'Topic :: Database',

tox.ini

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
[tox]
77
# Note: when updating Python versions, also change setup.py and .travis.yml
8-
envlist = py27,py34,py35,py36,{py2,py3}-nosasltls,doc,py3-trace,coverage-report
8+
envlist = py27,py34,py35,py36,py37,{py2,py3}-nosasltls,doc,py3-trace,coverage-report
99
minver = 1.8
1010

1111
[testenv]
@@ -19,6 +19,7 @@ passenv = WITH_GCOV
1919
commands = {envpython} -bb -Werror \
2020
"-Wignore:the imp module is deprecated:DeprecationWarning" \
2121
"-Wignore:the imp module is deprecated:PendingDeprecationWarning" \
22+
"-Wignore:Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working:DeprecationWarning" \
2223
-m coverage run --parallel setup.py \
2324
clean --all \
2425
test

0 commit comments

Comments
 (0)