Skip to content

Commit 4c1944f

Browse files
authored
build: add Django 5.2 support
1 parent 1d0a731 commit 4c1944f

File tree

5 files changed

+10
-3
lines changed

5 files changed

+10
-3
lines changed

.github/workflows/ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
matrix:
2121
os: [ubuntu-latest]
2222
python-version: [3.11, 3.12]
23-
toxenv: [django42, quality, translations]
23+
toxenv: [django42, django52, quality, translations]
2424

2525
steps:
2626
- name: checkout repo

Changelog.md

+5
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@ Drag and Drop XBlock changelog
44
Unreleased
55
---------------------------
66

7+
Version 5.0.2 (2025-04-07)
8+
---------------------------
9+
10+
* Add Django 5.2 support.
11+
712
Version 5.0.1 (2025-02-19)
813
---------------------------
914

drag_and_drop_v2/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
""" Drag and Drop v2 XBlock """
22
from .drag_and_drop_v2 import DragAndDropBlock
33

4-
__version__ = "5.0.1"
4+
__version__ = "5.0.2"

setup.py

+1
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,7 @@ def package_data(pkg, root_list):
153153
'Programming Language :: Python :: 3.12',
154154
'Framework :: Django',
155155
'Framework :: Django :: 4.2',
156+
'Framework :: Django :: 5.2',
156157
],
157158
url='https://github.com/openedx/xblock-drag-and-drop-v2',
158159
install_requires=load_requirements('requirements/base.in'),

tox.ini

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tox]
2-
envlist = py{311,312}-django{42},quality,translations
2+
envlist = py{311,312}-django{42,52},quality,translations
33

44
[pycodestyle]
55
exclude = .git,.tox
@@ -21,6 +21,7 @@ allowlist_externals =
2121
mkdir
2222
deps =
2323
django42: Django>=4.2,<4.3
24+
django52: Django>=5.2,<5.3
2425
-r{toxinidir}/requirements/test.txt
2526
commands =
2627
mkdir -p var

0 commit comments

Comments
 (0)