Skip to content

Commit b575f56

Browse files
authored
[deps] Added support for Django 4.1 and Django 4.2 openwisp#337
- Dropped support for Django 4.0 - Bumped django-model-utils~=4.3.1 - Bumped djangorestframework~=3.14.0 - Bumped django-filter~=23.2 - Bumped celery~=5.3.0 - Bumped selenium~=4.10.0 Closes openwisp#337
1 parent 9aa6af7 commit b575f56

File tree

6 files changed

+11
-10
lines changed

6 files changed

+11
-10
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ jobs:
2626
- "3.10"
2727
django-version:
2828
- django~=3.2.0
29-
- django~=4.0.0
29+
- django~=4.1.0
30+
- django~=4.2.0
3031
include:
3132
- django-version: django~=3.2.0
3233
python-version: 3.7

openwisp_utils/admin_theme/__init__.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,3 @@
44
unregister_dashboard_chart,
55
unregister_dashboard_template,
66
)
7-
8-
default_app_config = 'openwisp_utils.admin_theme.apps.OpenWispAdminThemeConfig'

openwisp_utils/test_selenium_mixins.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@ def setUpClass(cls):
2626
chrome_options.add_argument('--remote-debugging-port=9222')
2727
capabilities = DesiredCapabilities.CHROME
2828
capabilities['goog:loggingPrefs'] = {'browser': 'ALL'}
29+
chrome_options.set_capability('cloud:options', capabilities)
2930
cls.web_driver = webdriver.Chrome(
3031
options=chrome_options,
31-
desired_capabilities=capabilities,
3232
)
3333

3434
@classmethod

setup.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
scripts=['openwisp-qa-check', 'openwisp-qa-format', 'openwisp-pre-push-hook'],
4343
zip_safe=False,
4444
install_requires=[
45-
'django-model-utils~=4.2.0',
45+
'django-model-utils~=4.3.1',
4646
'django-compress-staticfiles~=1.0.1b',
4747
'django-admin-autocomplete-filter~=0.7.1',
4848
'swapper~=1.3.0',
@@ -60,12 +60,12 @@
6060
'tblib~=1.7',
6161
],
6262
'rest': [
63-
'djangorestframework~=3.13.0',
64-
'django-filter~=22.1', # django-filter uses CalVer
63+
'djangorestframework~=3.14.0',
64+
'django-filter~=23.2', # django-filter uses CalVer
6565
'drf-yasg~=1.21.0',
6666
],
67-
'celery': ['celery~=5.2.3'],
68-
'selenium': ['selenium~=4.9.1'],
67+
'celery': ['celery~=5.3.0'],
68+
'selenium': ['selenium~=4.10.0'],
6969
},
7070
classifiers=[
7171
'Development Status :: 3 - Alpha',

tests/test_project/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +0,0 @@
1-
default_app_config = 'test_project.apps.TestAppConfig'

tests/test_project/apps.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,3 +165,6 @@ def register_menu_groups(self):
165165
'icon': 'code',
166166
},
167167
)
168+
169+
170+
del ApiAppConfig

0 commit comments

Comments
 (0)