Skip to content

Commit 47add6b

Browse files
committed
requirements: Bump various libraries
djangorestframework, django-filter, django-debug-toolbar, sqlparse, python-dateutil and openapi-core all have updates. The only change here is, yet again, openapi-core related, as we swap out a deprecated API with its replacement. Signed-off-by: Stephen Finucane <[email protected]>
1 parent 3e5bb7e commit 47add6b

File tree

5 files changed

+16
-14
lines changed

5 files changed

+16
-14
lines changed

patchwork/tests/api/validator.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
import re
88

99
from django.urls import resolve
10+
import jsonschema_path
1011
import openapi_core
1112
from openapi_core.contrib.django import DjangoOpenAPIRequest
1213
from openapi_core.contrib.django import DjangoOpenAPIResponse
@@ -88,7 +89,7 @@ def _load_spec(version):
8889
with open(spec_path, 'r') as fh:
8990
data = yaml.load(fh, Loader=yaml.SafeLoader)
9091

91-
_LOADED_SPECS[version] = openapi_core.Spec.from_dict(data)
92+
_LOADED_SPECS[version] = jsonschema_path.SchemaPath.from_dict(data)
9293

9394
return _LOADED_SPECS[version]
9495

requirements-dev.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Django~=5.0.0
2-
djangorestframework~=3.14.0
3-
django-filter~=23.5.0
4-
django-debug-toolbar~=4.2.0
2+
djangorestframework~=3.15.2
3+
django-filter~=24.2.0
4+
django-debug-toolbar~=4.4.0
55
django-dbbackup~=4.1.0
66
-r requirements-test.txt

requirements-prod.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
Django~=5.0.0
2-
djangorestframework~=3.14.0
3-
django-filter~=23.5.0
2+
djangorestframework~=3.15.0
3+
django-filter~=24.2.0
44
psycopg2~=2.9.0
5-
sqlparse~=0.4.0
5+
sqlparse~=0.5.0

requirements-test.txt

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
mysqlclient~=2.2.0
22
psycopg2-binary~=2.9.0
3-
sqlparse~=0.4.0
4-
python-dateutil~=2.8.0
3+
sqlparse~=0.5.0
4+
python-dateutil~=2.9.0
55
tblib~=3.0.0
6-
openapi-core~=0.18.0
6+
openapi-core~=0.19.0
7+
jsonschema-path~=0.3.3
78
termcolor~=2.4.0

tox.ini

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ skip_install = true
77
deps =
88
-r{toxinidir}/requirements-test.txt
99
django42: django~=4.2.0
10-
django42: djangorestframework~=3.14.0
11-
django42: django-filter~=23.5.0
10+
django42: djangorestframework~=3.15.0
11+
django42: django-filter~=24.2.0
1212
django50: django~=5.0.0
13-
django50: djangorestframework~=3.14.0
14-
django50: django-filter~=23.5.0
13+
django50: djangorestframework~=3.15.0
14+
django50: django-filter~=24.2.0
1515
setenv =
1616
DJANGO_SETTINGS_MODULE = patchwork.settings.dev
1717
PYTHONDONTWRITEBYTECODE = 1

0 commit comments

Comments
 (0)