From 638fef420b2044c2b62d11f4ae94196d8e9ab65e Mon Sep 17 00:00:00 2001 From: farhan Date: Wed, 21 Feb 2024 15:18:39 +0500 Subject: [PATCH] chore: Adds support of python 3.12 --- .github/workflows/pull-request.yml | 5 ++--- invideoquiz/__init__.py | 2 +- setup.py | 2 +- tox.ini | 5 ++--- 4 files changed, 6 insertions(+), 8 deletions(-) diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index 2fcad02..fe282ed 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -6,9 +6,8 @@ jobs: runs-on: ubuntu-20.04 strategy: matrix: - python-version: - - '3.8' - TOX_ENV: [coverage, quality, django32, django42] + python-version: ['3.8', '3.12'] + TOX_ENV: [coverage, quality, django42] steps: - uses: actions/checkout@v2 - name: setup python diff --git a/invideoquiz/__init__.py b/invideoquiz/__init__.py index 48c675a..18e425c 100644 --- a/invideoquiz/__init__.py +++ b/invideoquiz/__init__.py @@ -3,4 +3,4 @@ """ from .invideoquiz import InVideoQuizXBlock -__version__ = '1.4.0' +__version__ = '1.5.0' diff --git a/setup.py b/setup.py index 9032d25..44e39fc 100644 --- a/setup.py +++ b/setup.py @@ -150,12 +150,12 @@ def get_version(file_path): classifiers=[ 'Development Status :: 5 - Production/Stable', 'Framework :: Django', - 'Framework :: Django :: 3.2', 'Framework :: Django :: 4.2', 'Intended Audience :: Developers', 'License :: OSI Approved :: Apache Software License', 'Natural Language :: English', "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.12", ], ) diff --git a/tox.ini b/tox.ini index a7a4786..920835a 100644 --- a/tox.ini +++ b/tox.ini @@ -1,10 +1,9 @@ [tox] downloadcache = {toxworkdir}/_download/ -envlist = py38-django{32,42},coverage,quality +envlist = py{38,312}-django{42},coverage,quality [testenv] -deps = - django32: Django>=3.2,<4.0 +deps = django42: Django>=4.2,<4.3 -rrequirements/test.txt commands =