From: Jon Dufresne Date: Sat, 8 Dec 2018 12:50:45 +0000 (-0800) Subject: Add testing and document support for Python 3.7 X-Git-Tag: v2.7.0~20 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5dbc37af339aff21439d007f5ed11e5a2862609e;p=thirdparty%2Fbabel.git Add testing and document support for Python 3.7 --- diff --git a/.ci/appveyor.yml b/.ci/appveyor.yml index f357713f..d4135e08 100644 --- a/.ci/appveyor.yml +++ b/.ci/appveyor.yml @@ -27,7 +27,7 @@ install: - "python --version" - "python -c \"import struct; print(struct.calcsize('P') * 8)\"" # Build data files - - "pip install --upgrade pytest==3.3.2 pytest-cov==2.5.1 codecov freezegun==0.3.9" + - "pip install --upgrade pytest==3.3.2 pytest-cov==2.5.1 codecov freezegun==0.3.11" - "pip install --editable ." - "python setup.py import_cldr" diff --git a/.travis.yml b/.travis.yml index 63dcd3ec..c9c0a9b7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,3 +1,4 @@ +dist: xenial language: python # Use travis docker infrastructure for greater speed @@ -18,8 +19,10 @@ matrix: env: - CDECIMAL=m3-cdecimal - os: linux + dist: trusty python: pypy - os: linux + dist: trusty python: pypy3 - os: linux python: 3.4 @@ -29,11 +32,13 @@ matrix: - PYTHON_TEST_FLAGS=-bb - os: linux python: 3.6 + - os: linux + python: 3.7 install: - bash .ci/deps.${TRAVIS_OS_NAME}.sh - pip install --upgrade pip - - pip install --upgrade $CDECIMAL pytest==3.3.2 pytest-cov==2.5.1 freezegun==0.3.9 + - pip install --upgrade $CDECIMAL pytest==3.3.2 pytest-cov==2.5.1 freezegun==0.3.11 - pip install --editable . script: diff --git a/setup.py b/setup.py index 27c7541b..0032a3a0 100755 --- a/setup.py +++ b/setup.py @@ -50,6 +50,7 @@ setup( 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6', + 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: Implementation :: CPython', 'Programming Language :: Python :: Implementation :: PyPy', 'Topic :: Software Development :: Libraries :: Python Modules', diff --git a/tox.ini b/tox.ini index b46fed70..87a53f0f 100644 --- a/tox.ini +++ b/tox.ini @@ -1,12 +1,12 @@ [tox] -envlist = py27, pypy, py34, py35, py36, pypy3, py27-cdecimal +envlist = py27, pypy, py34, py35, py36, py37, pypy3, py27-cdecimal [testenv] deps = pytest==3.3.2 pytest-cov==2.5.1 cdecimal: m3-cdecimal - freezegun==0.3.9 + freezegun==0.3.11 whitelist_externals = make commands = make clean-cldr test passenv = PYTHON_TEST_FLAGS