Skip to content

Commit

Permalink
Running tests using python 3.12 (#207)
Browse files Browse the repository at this point in the history
* chore: python support for 3.12
  • Loading branch information
salman2013 authored Feb 29, 2024
1 parent 2edd104 commit fcc5219
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion done/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@

from .done import DoneXBlock

__version__ = '2.2.0'
__version__ = '2.3.0'
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = py38-django{32, 42}, quality
envlist = py{38,312}-django{42}, quality

[testenv]
allowlist_externals =
Expand Down

0 comments on commit fcc5219

Please sign in to comment.