From 872d38f2599bdeab0b5456595ab81612344a7f3d Mon Sep 17 00:00:00 2001 From: morph027 <600106+morph027@users.noreply.github.com> Date: Wed, 5 Jan 2022 19:32:44 +0100 Subject: [PATCH] prepare release 21.12.0 (#255) Co-authored-by: morph027 --- CHANGELOG.md | 5 +++++ sanic_openapi/__init__.py | 2 +- tests/conftest.py | 3 --- tox.ini | 4 +++- 4 files changed, 9 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6ab062e..5420959 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # Changelog +## 21.12.0 (2021-12-30) + +### Features + +* [#253](https://github.com/sanic-org/sanic-openapi/pull/253) - Sanic v21.12.0 Support ## 21.3.2 (2021-05-19) diff --git a/sanic_openapi/__init__.py b/sanic_openapi/__init__.py index 23a4639..0693490 100644 --- a/sanic_openapi/__init__.py +++ b/sanic_openapi/__init__.py @@ -3,7 +3,7 @@ swagger_blueprint = openapi2_blueprint -__version__ = "21.6.1" +__version__ = "21.12.0" __all__ = [ "openapi2_blueprint", "swagger_blueprint", diff --git a/tests/conftest.py b/tests/conftest.py index 22bc175..8210251 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -14,9 +14,6 @@ def app(): app.blueprint(openapi2_blueprint) yield app - # Clean up - openapi2_blueprint.definitions = {} - @pytest.fixture() def app3(): diff --git a/tox.ini b/tox.ini index 0f4c7ac..5b05640 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = {py37,py38,py39}-sanic{20.12, 21.6}, check +envlist = {py37,py38,py39}-sanic{20.12, 21.6, 21.12}, check [gh-actions] @@ -13,6 +13,8 @@ deps = sanic20.12: sanic==20.12 sanic21.6: sanic==21.6 sanic21.6: sanic_testing + sanic21.12: sanic==21.12 + sanic21.12: sanic_testing commands = pip install -e .['test']