diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d5e311d9..f24cd3fb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,7 +16,7 @@ jobs: matrix: os: [ubuntu-20.04] python-version: ['3.8'] - toxenv: [quality, docs, pii_check, django32, django40] + toxenv: [quality, docs, pii_check, django32, django42] steps: - uses: actions/checkout@v3 @@ -37,7 +37,7 @@ jobs: run: tox - 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 diff --git a/event_routing_backends/__init__.py b/event_routing_backends/__init__.py index 428866e4..c0c6c97e 100644 --- a/event_routing_backends/__init__.py +++ b/event_routing_backends/__init__.py @@ -2,6 +2,4 @@ Various backends for receiving edX LMS events.. """ -__version__ = '5.5.1' - -default_app_config = 'event_routing_backends.apps.EventRoutingBackendsConfig' # pylint: disable=invalid-name +__version__ = '5.5.2' diff --git a/event_routing_backends/admin.py b/event_routing_backends/admin.py index 343ee6fc..5695fcd5 100644 --- a/event_routing_backends/admin.py +++ b/event_routing_backends/admin.py @@ -7,6 +7,7 @@ from event_routing_backends.models import RouterConfiguration +@admin.register(RouterConfiguration) class RouterConfigurationAdmin(KeyedConfigurationModelAdmin): """ Admin model class for RouterConfiguration model. @@ -20,6 +21,3 @@ def get_displayable_field_names(self): Get the list display. """ return ['backend_name', 'enabled', 'route_url', 'configurations'] - - -admin.site.register(RouterConfiguration, RouterConfigurationAdmin) diff --git a/setup.py b/setup.py index 06baeead..68ea38d1 100644 --- a/setup.py +++ b/setup.py @@ -127,7 +127,7 @@ def is_requirement(line): 'Development Status :: 3 - Alpha', 'Framework :: Django', 'Framework :: Django :: 3.2', - 'Framework :: Django :: 4.0', + 'Framework :: Django :: 4.2', 'Intended Audience :: Developers', 'License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)', 'Natural Language :: English', diff --git a/tox.ini b/tox.ini index bf7f562d..e017a3e0 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = py38-django{32,40} quality, docs, pii_check +envlist = py38-django{32,42}, quality, docs, pii_check [doc8] ignore = D001 @@ -36,7 +36,7 @@ norecursedirs = .* docs requirements site-packages [testenv] deps = django32: Django>=3.2,<4.0 - django40: Django>=4.0,<4.1 + django42: Django>=4.2,<4.3 -r{toxinidir}/requirements/test.txt commands = pytest {posargs} @@ -45,7 +45,7 @@ commands = setenv = DJANGO_SETTINGS_MODULE = test_settings PYTHONPATH = {toxinidir} -whitelist_externals = +allowlist_externals = make rm deps = @@ -63,7 +63,7 @@ commands = setenv = DJANGO_SETTINGS_MODULE = test_settings PYTHONPATH = . -whitelist_externals = +allowlist_externals = make rm touch