Skip to content

Commit 5f97031

Browse files
authored
build: add Django 5.2 support
1 parent 3a23275 commit 5f97031

File tree

4 files changed

+5
-3
lines changed

4 files changed

+5
-3
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
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, package]
23+
toxenv: [django42, django52, quality, package]
2424

2525
steps:
2626
- name: checkout repo

image_explorer/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@
2222
"""
2323
from .image_explorer import ImageExplorerBlock
2424

25-
__version__ = '3.0.0'
25+
__version__ = '3.0.1'

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,7 @@ def package_data(pkg, root_list):
118118
'Programming Language :: Python :: 3.12',
119119
'Framework :: Django',
120120
'Framework :: Django :: 4.2',
121+
'Framework :: Django :: 5.2',
121122
],
122123
url='https://github.com/openedx/xblock-image-explorer',
123124
install_requires=load_requirements('requirements/base.in'),

tox.ini

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tox]
2-
envlist = py{311,312}-django{42},quality,package
2+
envlist = py{311,312}-django{42,52},quality,package
33

44
[pytest]
55
DJANGO_SETTINGS_MODULE = workbench.settings
@@ -10,6 +10,7 @@ allowlist_externals =
1010
mkdir
1111
deps =
1212
django42: Django>=4.2,<4.3
13+
django52: Django>=5.2,<5.3
1314
-r{toxinidir}/requirements/test.txt
1415
commands =
1516
mkdir -p var

0 commit comments

Comments
 (0)