From 953f93631b6e64778931006ac879f2a79c101ecd Mon Sep 17 00:00:00 2001 From: Roman Mogylatov Date: Sun, 26 Jan 2020 15:00:21 -0500 Subject: [PATCH] Python 3.8 support (#241) * Add Python 3.8 test environment * Add Python 3.8 classifier * Update max compatible version of six to 1.13.0 * Update max compatible version of six to 1.14.0 * Add record to the changelog --- .travis.yml | 4 ++++ docs/main/changelog.rst | 3 +++ requirements.txt | 2 +- setup.py | 1 + tox.ini | 2 +- 5 files changed, 10 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index b519b994..6c3a4780 100644 --- a/.travis.yml +++ b/.travis.yml @@ -31,6 +31,10 @@ matrix: env: TOXENV=py37 sudo: required dist: xenial + - python: 3.8 + env: TOXENV=py38 + sudo: required + dist: xenial - python: pypy env: TOXENV=pypy notifications: diff --git a/docs/main/changelog.rst b/docs/main/changelog.rst index 123b5a5a..64aedfff 100644 --- a/docs/main/changelog.rst +++ b/docs/main/changelog.rst @@ -9,6 +9,9 @@ follows `Semantic versioning`_ Development version ------------------- +- Add Python 3.8 support. +- Add support of six 1.14.0. +- Add support of six 1.13.0. - Regenerate C sources using Cython 0.29.14. - Fix PEP257 doc block errors in example modules. diff --git a/requirements.txt b/requirements.txt index b25b5e35..c71dc73e 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1 +1 @@ -six>=1.7.0,<=1.12.0 +six>=1.7.0,<=1.14.0 diff --git a/setup.py b/setup.py index 47eb0b78..8ddafba7 100644 --- a/setup.py +++ b/setup.py @@ -84,6 +84,7 @@ setup(name='dependency-injector', 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', + 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: Implementation :: CPython', 'Programming Language :: Python :: Implementation :: PyPy', 'Topic :: Software Development', diff --git a/tox.ini b/tox.ini index 7908ae09..0dcf2c99 100644 --- a/tox.ini +++ b/tox.ini @@ -1,6 +1,6 @@ [tox] envlist= - coveralls, pylint, flake8, pydocstyle, py26, py27, py33, py34, py35, py36, pypy, pypy3 + coveralls, pylint, flake8, pydocstyle, py26, py27, py33, py34, py35, py36, py37, py38, pypy, pypy3 [testenv] deps=