Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: Add support for Python 3.10 #163

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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