Skip to content

Commit 13bf8f8

Browse files
committed
[deps] Added support for Django >=5.1,<5.3 and Python >=3.12, 3.14 #245
- Dropped support for Python < 3.9 - Dropped support for Django < 4.2 Closes #245
1 parent 6d6ad39 commit 13bf8f8

File tree

2 files changed

+16
-5
lines changed

2 files changed

+16
-5
lines changed

.github/workflows/ci.yml

+14-3
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,24 @@ jobs:
2424
fail-fast: false
2525
matrix:
2626
python-version:
27-
- "3.8"
2827
- "3.9"
2928
- "3.10"
29+
- "3.11"
30+
- "3.12"
31+
- "3.13"
3032
django-version:
31-
- django~=3.2.0
32-
- django~=4.1.0
3333
- django~=4.2.0
34+
- django~=5.1.0
35+
- django~=5.2.0
36+
exclude:
37+
# Django 5.1+ requires Python >=3.10
38+
- python-version: "3.9"
39+
django-version: django~=5.1.0
40+
- python-version: "3.9"
41+
django-version: django~=5.2.0
42+
# Python 3.13 supported only in Django >=5.1.3
43+
- python-version: "3.13"
44+
django-version: django~=4.2.0
3445

3546
steps:
3647
- uses: actions/checkout@v4

openwisp_network_topology/tests/utils.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,10 @@ def _create_link(self, **kwargs):
6060

6161

6262
class LoggingDisabledTestRunner(TimeLoggingTestRunner):
63-
def run_tests(self, test_labels, extra_tests=None, **kwargs):
63+
def run_tests(self, test_labels, **kwargs):
6464
# disable logging below CRITICAL while testing
6565
logging.disable(logging.CRITICAL)
66-
return super().run_tests(test_labels, extra_tests, **kwargs)
66+
return super().run_tests(test_labels, **kwargs)
6767

6868

6969
class UnpublishMixin(object):

0 commit comments

Comments
 (0)