From 5fa7f40037896b4a33361579897416d7b8b29dd5 Mon Sep 17 00:00:00 2001 From: Andriy Ivaneyko Date: Sat, 16 Dec 2023 10:52:34 -0500 Subject: [PATCH] Add support for python 3.12 #72 --- .github/workflows/python-package.yml | 2 +- sanic_testing/__init__.py | 2 +- setup.py | 1 + tox.ini | 3 ++- 4 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index 70f574d..d11e149 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -9,7 +9,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ['3.8', '3.9', '3.10', '3.11'] + python-version: ['3.8', '3.9', '3.10', '3.11', '3.12'] steps: - uses: actions/checkout@v2 diff --git a/sanic_testing/__init__.py b/sanic_testing/__init__.py index 4b4f2af..7c35c4d 100644 --- a/sanic_testing/__init__.py +++ b/sanic_testing/__init__.py @@ -1,4 +1,4 @@ from sanic_testing.manager import TestManager -__version__ = "23.6.0" +__version__ = "23.6.1" __all__ = ("TestManager",) diff --git a/setup.py b/setup.py index cec092c..0fd3707 100644 --- a/setup.py +++ b/setup.py @@ -45,6 +45,7 @@ def open_local(paths, mode="r", encoding="utf8"): "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", ], } requirements = ["httpx>=0.18"] diff --git a/tox.ini b/tox.ini index 1e04349..ddc3dee 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = py38, py39, py310, py311, check +envlist = py38, py39, py310, py311, py312, check [gh-actions] python = @@ -7,6 +7,7 @@ python = 3.9: py39 3.10: py310 3.11: py311 + 3.12: py312 [testenv] deps =