From 2cf8d0afae3e3341f0638ff409b006dcaaedeb0a Mon Sep 17 00:00:00 2001 From: Josh Date: Thu, 27 Oct 2022 13:24:52 -0500 Subject: [PATCH] add python 3.11 to CI, tox, and trove classifiers --- .github/workflows/test.yml | 5 ++++- pyproject.toml | 9 +++++---- setup.py | 1 + 3 files changed, 10 insertions(+), 5 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 5972a39..8c4edd0 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -13,7 +13,7 @@ jobs: fail-fast: false max-parallel: 5 matrix: - python-version: ['3.7', '3.8', '3.9', '3.10', 'pypy-3.8'] + python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', 'pypy-3.8'] django-version: ['3.2', '4.0', '4.1'] include: # Tox configuration for QA environment @@ -29,6 +29,9 @@ jobs: - python-version: '3.10' django-version: 'main' experimental: true + - python-version: '3.11' + django-version: 'main' + experimental: true - python-version: 'pypy-3.8' django-version: '4.1' experimental: true diff --git a/pyproject.toml b/pyproject.toml index c711449..7c62e79 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -10,10 +10,10 @@ DJANGO_SETTINGS_MODULE = "tests.settings" legacy_tox_ini = """ [tox] envlist = - py{37,38,39,310,py38}-dj32 - py{38,39,310,py38}-dj40 - py{38,39,310,py38}-dj41 - py{38,39,310,py38}-djmain + py{37,38,39,310,311,py38}-dj32 + py{38,39,310,311,py38}-dj40 + py{38,39,310,311,py38}-dj41 + py{38,39,310,311,py38}-djmain py310-djqa [gh-actions] @@ -22,6 +22,7 @@ python = 3.8: py38 3.9: py39 3.10: py310 + 3.11: py311 pypy-3.8: pypy38 [gh-actions:env] diff --git a/setup.py b/setup.py index db2f245..c7a6d1f 100644 --- a/setup.py +++ b/setup.py @@ -57,6 +57,7 @@ setup( "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy", "Topic :: Internet :: Log Analysis",