Skip to content

Commit

Permalink
Python 3.10
Browse files Browse the repository at this point in the history
  • Loading branch information
lbedner committed Oct 11, 2021
1 parent 0879312 commit e972748
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 8 deletions.
12 changes: 9 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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='[email protected]',
url='https://henson.readthedocs.io',
Expand Down Expand Up @@ -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',
]
Expand Down
8 changes: 4 additions & 4 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = docs,pep8,py38,py39
envlist = docs,pep8,py39,py310

[testenv]
deps =
Expand All @@ -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

0 comments on commit e972748

Please sign in to comment.