File tree Expand file tree Collapse file tree 5 files changed +38
-3
lines changed Expand file tree Collapse file tree 5 files changed +38
-3
lines changed Original file line number Diff line number Diff line change @@ -19,4 +19,4 @@ mozilla-django-oidc-db[setup-configuration]
19
19
# maykinmedia/objects-api#541
20
20
kombu>=5.4.0
21
21
22
- psycopg[pool]
22
+ psycopg[pool]
Original file line number Diff line number Diff line change @@ -98,6 +98,7 @@ django==5.2.1
98
98
# django-solo
99
99
# django-structlog
100
100
# django-two-factor-auth
101
+ # django-upgrade-check
101
102
# djangorestframework
102
103
# djangorestframework-inclusions
103
104
# drf-nested-routers
@@ -173,6 +174,8 @@ django-structlog==9.1.1
173
174
# via -r requirements/base.in
174
175
django-two-factor-auth==1.17.0
175
176
# via maykin-2fa
177
+ django-upgrade-check==1.1.0
178
+ # via open-api-framework
176
179
djangorestframework==3.15.2
177
180
# via
178
181
# commonground-api-common
@@ -331,6 +334,8 @@ ruamel-yaml==0.18.10
331
334
# via django-setup-configuration
332
335
ruamel-yaml-clib==0.2.12
333
336
# via ruamel-yaml
337
+ semantic-version==2.10.0
338
+ # via django-upgrade-check
334
339
sentry-sdk==2.12.0
335
340
# via open-api-framework
336
341
six==1.16.0
Original file line number Diff line number Diff line change @@ -173,6 +173,7 @@ django==5.2.1
173
173
# django-solo
174
174
# django-structlog
175
175
# django-two-factor-auth
176
+ # django-upgrade-check
176
177
# djangorestframework
177
178
# djangorestframework-inclusions
178
179
# drf-nested-routers
@@ -314,6 +315,11 @@ django-two-factor-auth==1.17.0
314
315
# -c requirements/base.txt
315
316
# -r requirements/base.txt
316
317
# maykin-2fa
318
+ django-upgrade-check==1.1.0
319
+ # via
320
+ # -c requirements/base.txt
321
+ # -r requirements/base.txt
322
+ # open-api-framework
317
323
django-webtest==1.9.13
318
324
# via -r requirements/test-tools.in
319
325
djangorestframework==3.15.2
@@ -665,6 +671,11 @@ ruamel-yaml-clib==0.2.12
665
671
# ruamel-yaml
666
672
ruff==0.11.10
667
673
# via -r requirements/test-tools.in
674
+ semantic-version==2.10.0
675
+ # via
676
+ # -c requirements/base.txt
677
+ # -r requirements/base.txt
678
+ # django-upgrade-check
668
679
sentry-sdk==2.12.0
669
680
# via
670
681
# -c requirements/base.txt
Original file line number Diff line number Diff line change @@ -213,6 +213,7 @@ django==5.2.1
213
213
# django-solo
214
214
# django-structlog
215
215
# django-two-factor-auth
216
+ # django-upgrade-check
216
217
# djangorestframework
217
218
# djangorestframework-inclusions
218
219
# drf-nested-routers
@@ -360,6 +361,11 @@ django-two-factor-auth==1.17.0
360
361
# -c requirements/ci.txt
361
362
# -r requirements/ci.txt
362
363
# maykin-2fa
364
+ django-upgrade-check==1.1.0
365
+ # via
366
+ # -c requirements/ci.txt
367
+ # -r requirements/ci.txt
368
+ # open-api-framework
363
369
django-webtest==1.9.13
364
370
# via
365
371
# -c requirements/ci.txt
@@ -799,6 +805,11 @@ ruff==0.11.10
799
805
# via
800
806
# -c requirements/ci.txt
801
807
# -r requirements/ci.txt
808
+ semantic-version==2.10.0
809
+ # via
810
+ # -c requirements/ci.txt
811
+ # -r requirements/ci.txt
812
+ # django-upgrade-check
802
813
sentry-sdk==2.12.0
803
814
# via
804
815
# -c requirements/ci.txt
Original file line number Diff line number Diff line change 1
- from pathlib import Path
2
-
3
1
import structlog
4
2
from open_api_framework .conf .base import * # noqa
5
3
from open_api_framework .conf .utils import config
4
+ from upgrade_check import UpgradeCheck , VersionRange
5
+ from upgrade_check .constraints import UpgradePaths
6
6
7
7
from .api import * # noqa
8
8
461
461
#
462
462
DJANGO_STRUCTLOG_IP_LOGGING_ENABLED = False
463
463
DJANGO_STRUCTLOG_CELERY_ENABLED = True
464
+
465
+ #
466
+ # django-upgrade-check
467
+ #
468
+
469
+ UPGRADE_CHECK_PATHS : UpgradePaths = {
470
+ "3.2.0" : UpgradeCheck (VersionRange (minimum = "3.1.0" )),
471
+ }
You can’t perform that action at this time.
0 commit comments