]> git.ipfire.org Git - thirdparty/patchwork.git/commitdiff
requirements: Bump various libraries
authorStephen Finucane <stephen@that.guru>
Fri, 12 Jul 2024 09:38:34 +0000 (10:38 +0100)
committerStephen Finucane <stephen@that.guru>
Fri, 12 Jul 2024 14:09:59 +0000 (14:09 +0000)
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 <stephen@that.guru>
patchwork/tests/api/validator.py
requirements-dev.txt
requirements-prod.txt
requirements-test.txt
tox.ini

index b6c64ef033080a43ed481fd7803f5e8b6a57d7e9..7fd279878e8c786086b36e94c100bda5e781b59a 100644 (file)
@@ -7,6 +7,7 @@ import os
 import re
 
 from django.urls import resolve
+import jsonschema_path
 import openapi_core
 from openapi_core.contrib.django import DjangoOpenAPIRequest
 from openapi_core.contrib.django import DjangoOpenAPIResponse
@@ -88,7 +89,7 @@ def _load_spec(version):
     with open(spec_path, 'r') as fh:
         data = yaml.load(fh, Loader=yaml.SafeLoader)
 
-    _LOADED_SPECS[version] = openapi_core.Spec.from_dict(data)
+    _LOADED_SPECS[version] = jsonschema_path.SchemaPath.from_dict(data)
 
     return _LOADED_SPECS[version]
 
index 47ee9afe8a80cd4b07db87e66ea724eb77a6086f..586f93e1643ce73167ab9b57fda44e531cc147a7 100644 (file)
@@ -1,6 +1,6 @@
 Django~=5.0.0
-djangorestframework~=3.14.0
-django-filter~=23.5.0
-django-debug-toolbar~=4.2.0
+djangorestframework~=3.15.2
+django-filter~=24.2.0
+django-debug-toolbar~=4.4.0
 django-dbbackup~=4.1.0
 -r requirements-test.txt
index 75c3825e3de3130b78739d580623e2edeabde131..9c9b3ffabd744a0ab3bf471fe079594332ed0d9b 100644 (file)
@@ -1,5 +1,5 @@
 Django~=5.0.0
-djangorestframework~=3.14.0
-django-filter~=23.5.0
+djangorestframework~=3.15.0
+django-filter~=24.2.0
 psycopg2~=2.9.0
-sqlparse~=0.4.0
+sqlparse~=0.5.0
index 5e9000edfd2ae5490adfb344ef998e50a515ae8d..d6b6225aa0e28e557671aa018696af1fb8bc915e 100644 (file)
@@ -1,7 +1,8 @@
 mysqlclient~=2.2.0
 psycopg2-binary~=2.9.0
-sqlparse~=0.4.0
-python-dateutil~=2.8.0
+sqlparse~=0.5.0
+python-dateutil~=2.9.0
 tblib~=3.0.0
-openapi-core~=0.18.0
+openapi-core~=0.19.0
+jsonschema-path~=0.3.3
 termcolor~=2.4.0
diff --git a/tox.ini b/tox.ini
index 041097cd507b6cfd2db71ad4fda282e133b5cdfd..3df1a7ed710d43498d78c17ac932415790e3f352 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -7,11 +7,11 @@ skip_install = true
 deps =
     -r{toxinidir}/requirements-test.txt
     django42: django~=4.2.0
-    django42: djangorestframework~=3.14.0
-    django42: django-filter~=23.5.0
+    django42: djangorestframework~=3.15.0
+    django42: django-filter~=24.2.0
     django50: django~=5.0.0
-    django50: djangorestframework~=3.14.0
-    django50: django-filter~=23.5.0
+    django50: djangorestframework~=3.15.0
+    django50: django-filter~=24.2.0
 setenv =
     DJANGO_SETTINGS_MODULE = patchwork.settings.dev
     PYTHONDONTWRITEBYTECODE = 1