Skip to content

Commit

Permalink
Merge pull request #171 from openedx/farhan/support-python-3-12
Browse files Browse the repository at this point in the history
Adds support of python 3.12
  • Loading branch information
farhan authored Feb 29, 2024
2 parents 41b94f4 + b780b69 commit 5574042
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 12 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion invideoquiz/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
"""
from .invideoquiz import InVideoQuizXBlock

__version__ = '1.4.0'
__version__ = '1.5.0'
2 changes: 1 addition & 1 deletion requirements/base.txt
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ six==1.16.0
# python-dateutil
sqlparse==0.4.4
# via django
typing-extensions==4.9.0
typing-extensions==4.10.0
# via asgiref
web-fragments==2.1.0
# via xblock
Expand Down
6 changes: 3 additions & 3 deletions requirements/quality.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ asgiref==3.7.2
# via
# -r requirements/base.txt
# django
astroid==3.0.3
astroid==3.1.0
# via pylint
coverage==7.4.3
# via -r requirements/test.txt
Expand Down Expand Up @@ -65,7 +65,7 @@ pluggy==1.4.0
# pytest
pycodestyle==2.11.1
# via -r requirements/quality.in
pylint==3.0.4
pylint==3.1.0
# via -r requirements/quality.in
pytest==8.0.2
# via
Expand Down Expand Up @@ -106,7 +106,7 @@ tomli==2.0.1
# pytest
tomlkit==0.12.3
# via pylint
typing-extensions==4.9.0
typing-extensions==4.10.0
# via
# -r requirements/base.txt
# asgiref
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
],
)
5 changes: 2 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -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 =
Expand Down

0 comments on commit 5574042

Please sign in to comment.