From 2c3a33a9513e474ecfc70e97e8142521e21e5bb5 Mon Sep 17 00:00:00 2001 From: Thomas Kriechbaumer Date: Sun, 19 Sep 2021 22:40:14 +0200 Subject: [PATCH] support Python 3.10 --- .github/workflows/ci.yml | 9 +++++---- setup.py | 1 + src/h2/config.py | 2 +- tox.ini | 3 ++- 4 files changed, 9 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1b46c337..6c51ea50 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,10 +13,11 @@ jobs: max-parallel: 5 matrix: python-version: - - 3.6 - - 3.7 - - 3.8 - - 3.9 + - "3.6" + - "3.7" + - "3.8" + - "3.9" + - "3.10" - pypy3 steps: diff --git a/setup.py b/setup.py index d1c541cc..ad0a3418 100644 --- a/setup.py +++ b/setup.py @@ -43,6 +43,7 @@ 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', + 'Programming Language :: Python :: 3.10', 'Programming Language :: Python :: Implementation :: CPython', 'Programming Language :: Python :: Implementation :: PyPy', ], diff --git a/src/h2/config.py b/src/h2/config.py index 472eb189..915df55c 100644 --- a/src/h2/config.py +++ b/src/h2/config.py @@ -55,7 +55,7 @@ class OutputLogger: """ A Logger object that prints to stderr or any other file-like object. - This class is provided for convinience and not part of the stable API. + This class is provided for convenience and not part of the stable API. :param file: A file-like object passed to the print function. Defaults to ``sys.stderr``. diff --git a/tox.ini b/tox.ini index fd8ee37a..e401b5bc 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = py36, py37, py38, py39, pypy3, lint, docs, packaging +envlist = py36, py37, py38, py39, py310, pypy3, lint, docs, packaging [gh-actions] python = @@ -7,6 +7,7 @@ python = 3.7: py37 3.8: py38 3.9: py39, lint, docs, packaging, h2spec + 3.10: py310 pypy3: pypy3 [testenv]