Skip to content

Commit

Permalink
chore: Adds support for python 3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
farhan committed Feb 21, 2024
1 parent 6b712bd commit 98cf8af
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ jobs:
strategy:
matrix:
os: [ubuntu-20.04]
python-version: ['3.8']
toxenv: [django32, django42]
python-version: ['3.8', '3.12']
toxenv: [django42]
steps:
- uses: actions/checkout@v2

Expand Down
6 changes: 6 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ Change history for XBlock SDK

These are notable changes in XBlock.

0.8.0
-----
* Added support for python 3.12
* Dropped support for django 3.2


0.7.0
-----
* Added support for Django 4.2
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@ def get_version(*file_paths):
'Natural Language :: English',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.12',
],
tests_require=load_requirements('requirements/test.txt'),
entry_points={
Expand Down
5 changes: 2 additions & 3 deletions 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

[pycodestyle]
exclude = .git,.tox,migrations
Expand All @@ -13,8 +13,7 @@ norecursedirs = .* doc bin prototype screenshots requirements
[testenv]
allowlist_externals =
make
deps =
django32: Django>=3.2,<4.0
deps =
django42: Django>=4.2,<4.3
-r{toxinidir}/requirements/test.txt
passenv =
Expand Down
2 changes: 1 addition & 1 deletion workbench/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
Provide a djangoapp for XBlock development
"""

__version__ = '0.7.1'
__version__ = '0.8.0'

0 comments on commit 98cf8af

Please sign in to comment.