From e972748094d12bafa6c281842a79dd71247fc809 Mon Sep 17 00:00:00 2001 From: lbedner Date: Tue, 5 Oct 2021 18:58:05 -0400 Subject: [PATCH] Python 3.10 --- .travis.yml | 12 +++++++++--- setup.py | 3 ++- tox.ini | 8 ++++---- 3 files changed, 15 insertions(+), 8 deletions(-) diff --git a/.travis.yml b/.travis.yml index cafa75a..11ba8dd 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,14 +3,20 @@ language: python matrix: include: - python: 3.8 + dist: bionic env: TOX_ENV=py38 - python: 3.9 + dist: bionic + env: TOX_ENV=py39 + - python: 3.10.0 + dist: bionic env: TOX_ENV=docs - - python: 3.9 + - python: 3.10.0 + dist: bionic env: TOX_ENV=pep8 - - python: 3.9 + - python: 3.10.0 dist: bionic - env: TOX_ENV=py39 + env: TOX_ENV=py310 install: pip install tox script: tox -e $TOX_ENV diff --git a/setup.py b/setup.py index b08afe8..5415f9c 100644 --- a/setup.py +++ b/setup.py @@ -20,7 +20,7 @@ def read(filename): setup( name='Henson', - version='2.2.0', + version='2.3.0', author='Aditya Ghosh, Leonard Bedner, Zack Morris, and others', author_email='henson@iheart.com', url='https://henson.readthedocs.io', @@ -60,6 +60,7 @@ def read(filename): 'Programming Language :: Python', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', + 'Programming Language :: Python :: 3.10', 'Programming Language :: Python :: 3 :: Only', 'Topic :: Software Development :: Libraries :: Application Frameworks', ] diff --git a/tox.ini b/tox.ini index 08dbffb..a2dd293 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = docs,pep8,py38,py39 +envlist = docs,pep8,py39,py310 [testenv] deps = @@ -13,16 +13,16 @@ commands = python -m coverage report -m --include="henson/*" [testenv:docs] -basepython = python3.9 +basepython = python3.10 deps = -rdocs-requirements.txt commands = sphinx-build -W -b html -d {envtmpdir}/doctrees docs docs/_build/html doc8 --allow-long-titles README.rst docs/ --ignore-path docs/_build/ [testenv:pep8] -basepython = python3.9 +basepython = python3.10 deps = flake8-docstrings pep8-naming commands = - flake8 --ignore F722 henson + flake8 --ignore F722,N818 henson