From 64014397c5f2b7ae1afbe25547dd65b703c497b7 Mon Sep 17 00:00:00 2001 From: "Openverse (Bot)" <101814513+openverse-bot@users.noreply.github.com> Date: Wed, 13 Nov 2024 12:47:22 -0400 Subject: [PATCH] Update dependency django to v5 (#5122) Co-authored-by: Dhruv Bhanushali --- api/pdm.lock | 13 ++++++------- api/pyproject.toml | 2 +- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/api/pdm.lock b/api/pdm.lock index b3b9a1b6e15..1b20e5a5034 100644 --- a/api/pdm.lock +++ b/api/pdm.lock @@ -5,7 +5,7 @@ groups = ["default", "dev", "overrides", "test"] strategy = ["inherit_metadata"] lock_version = "4.5.0" -content_hash = "sha256:caada80a0fd693e27e13ee682d8c329eb19b44cd09dfaf06521af18635b5f439" +content_hash = "sha256:15a9263f5e3e619c09b6e1ce224fd11c843815f45496fa1b9261365d4161fb8e" [[metadata.targets]] requires_python = "==3.12.*" @@ -381,19 +381,18 @@ files = [ [[package]] name = "django" -version = "4.2.11" -requires_python = ">=3.8" +version = "5.1.3" +requires_python = ">=3.10" summary = "A high-level Python web framework that encourages rapid development and clean, pragmatic design." groups = ["default"] dependencies = [ - "asgiref<4,>=3.6.0", - "backports-zoneinfo; python_version < \"3.9\"", + "asgiref<4,>=3.8.1", "sqlparse>=0.3.1", "tzdata; sys_platform == \"win32\"", ] files = [ - {file = "Django-4.2.11-py3-none-any.whl", hash = "sha256:ddc24a0a8280a0430baa37aff11f28574720af05888c62b7cfe71d219f4599d3"}, - {file = "Django-4.2.11.tar.gz", hash = "sha256:6e6ff3db2d8dd0c986b4eec8554c8e4f919b5c1ff62a5b4390c17aff2ed6e5c4"}, + {file = "Django-5.1.3-py3-none-any.whl", hash = "sha256:8b38a9a12da3ae00cb0ba72da985ec4b14de6345046b1e174b1fd7254398f818"}, + {file = "Django-5.1.3.tar.gz", hash = "sha256:c0fa0e619c39325a169208caef234f90baa925227032ad3f44842ba14d75234a"}, ] [[package]] diff --git a/api/pyproject.toml b/api/pyproject.toml index dd83fe96ccd..e3a0dc6e4b1 100644 --- a/api/pyproject.toml +++ b/api/pyproject.toml @@ -14,7 +14,7 @@ dependencies = [ "aiohttp >=3.9.3, <4", "aws-requests-auth >=0.4.3, <0.5", "deepdiff >=8.0.1, <9", - "django >=4.2.11, <5", + "django >=5.1.3, <6", "django-asgi-lifespan >=0.4, <0.5", "django-cors-headers >=4.3.1, <5", "django-migrations-git-conflicts >=1.0, <2",