Skip to content

Commit

Permalink
Merge pull request #658 from openedx/zshkoor/django42
Browse files Browse the repository at this point in the history
fix: Added support for Django42
  • Loading branch information
zubairshakoorarbisoft authored Aug 3, 2023
2 parents 6ae524a + fcfe8e3 commit 35cbd6d
Show file tree
Hide file tree
Showing 4 changed files with 10 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,7 +14,7 @@ jobs:
strategy:
matrix:
python-version: ['3.8']
toxenv: [quality, django32, django40]
toxenv: [quality, django32, django42]

steps:
- uses: actions/checkout@v2
Expand All @@ -30,7 +30,7 @@ jobs:
run: tox -e ${{ matrix.toxenv }}

- name: Run Coverage
if: matrix.python-version == '3.8' && matrix.toxenv == 'django32'
if: matrix.python-version == '3.8' && matrix.toxenv == 'django42'
uses: codecov/codecov-action@v3
with:
flags: unittests
Expand Down
5 changes: 5 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,14 @@ These are notable changes in XBlock.
Unreleased
----------


1.7.0 - 2023-08-03
------------------

* Switch from ``edx-sphinx-theme`` to ``sphinx-book-theme`` since the former is
deprecated. See https://github.com/openedx/edx-sphinx-theme/issues/184 for
more details.
* Added support for Django 4.2

1.6.1 - 2022-01-28
------------------
Expand Down
4 changes: 2 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = py38-django{32,40}, quality, docs
envlist = py38-django{32,42}, quality, docs

[pytest]
DJANGO_SETTINGS_MODULE = xblock.test.settings
Expand All @@ -10,7 +10,7 @@ norecursedirs = .* docs requirements
[testenv]
deps =
django32: Django>=3.2,<4.0
django40: Django>=4.0,<4.1
django42: Django>=4.2,<4.3
-r requirements/test.txt
changedir = {envsitepackagesdir}
commands =
Expand Down
2 changes: 1 addition & 1 deletion xblock/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@ def __init__(self, *args, **kwargs):
# without causing a circular import
xblock.fields.XBlockMixin = XBlockMixin

__version__ = '1.6.2'
__version__ = '1.7.0'

0 comments on commit 35cbd6d

Please sign in to comment.