From fcc52194676b7e5f267543958cc57c2c5b357daf Mon Sep 17 00:00:00 2001 From: salmannawaz Date: Thu, 29 Feb 2024 16:15:21 +0500 Subject: [PATCH] Running tests using python 3.12 (#207) * chore: python support for 3.12 --- .github/workflows/ci.yml | 4 ++-- done/__init__.py | 2 +- setup.py | 3 ++- tox.ini | 2 +- 4 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 01598ad..22ee3e5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,8 +14,8 @@ jobs: strategy: matrix: os: [ubuntu-20.04] - python-version: ['3.8'] - toxenv: [py38-django32, py38-django42, quality] + python-version: ['3.8','3.12'] + toxenv: [django42, quality] steps: - uses: actions/checkout@v4 diff --git a/done/__init__.py b/done/__init__.py index 3306c66..f4aeb50 100644 --- a/done/__init__.py +++ b/done/__init__.py @@ -4,4 +4,4 @@ from .done import DoneXBlock -__version__ = '2.2.0' +__version__ = '2.3.0' diff --git a/setup.py b/setup.py index 060d8b3..39a4dd0 100644 --- a/setup.py +++ b/setup.py @@ -139,8 +139,9 @@ def get_version(file_path): description='done XBlock', # TODO: write a better description. url='https://github.com/openedx/DoneXBlock', classifiers=[ - 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 3', + 'Programming Language :: Python :: 3.8', + 'Programming Language :: Python :: 3.12', ], packages=[ 'done', diff --git a/tox.ini b/tox.ini index bbc23db..77cf8fb 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = py38-django{32, 42}, quality +envlist = py{38,312}-django{42}, quality [testenv] allowlist_externals =