From b0a96015974f2f1fe0762b94b2459f10e3006ac8 Mon Sep 17 00:00:00 2001 From: Christian Zosel Date: Tue, 17 Sep 2024 15:31:59 +0200 Subject: [PATCH] fix(sse-c): bump django-storages to include fix for head_object This fixes an error that occurs when server-side encryption is enabled and multiple templates are uploaded with the same filename. --- poetry.lock | 14 +++++++++----- pyproject.toml | 2 +- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/poetry.lock b/poetry.lock index 8fe6b789..bbc5a627 100644 --- a/poetry.lock +++ b/poetry.lock @@ -567,10 +567,8 @@ version = "1.14.4" description = "Support for many storage backends in Django" optional = false python-versions = ">=3.7" -files = [ - {file = "django-storages-1.14.4.tar.gz", hash = "sha256:69aca94d26e6714d14ad63f33d13619e697508ee33ede184e462ed766dc2a73f"}, - {file = "django_storages-1.14.4-py3-none-any.whl", hash = "sha256:d61930acb4a25e3aebebc6addaf946a3b1df31c803a6bf1af2f31c9047febaa3"}, -] +files = [] +develop = false [package.dependencies] Django = ">=3.2" @@ -584,6 +582,12 @@ libcloud = ["apache-libcloud"] s3 = ["boto3 (>=1.4.4)"] sftp = ["paramiko (>=1.15)"] +[package.source] +type = "git" +url = "https://github.com/adfinis-forks/django-storages" +reference = "s3-head-object-sse-c" +resolved_reference = "b6555067f7114f254defbf6bd3002abecb75181f" + [[package]] name = "django-stubs" version = "5.0.4" @@ -2519,4 +2523,4 @@ s3 = ["boto3"] [metadata] lock-version = "2.0" python-versions = ">=3.10.0,<3.13" -content-hash = "336deec4274066ab40f0d9cd0e149cdc3a034077dec849f8f2317b8eb4bb65d7" +content-hash = "f62e7d6390c43e59acdefb06bf72f2ea27562189bba6faad38b6be3ebb041d44" diff --git a/pyproject.toml b/pyproject.toml index e88cd364..be5e280d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -31,7 +31,7 @@ django-cors-headers = "^4.4.0" django-environ = "^0.11.2" django-filter = "^24.2" django-generic-api-permissions = "^0.4.6" -django-storages = "^1.14.3" +django-storages = {git = "https://github.com/adfinis-forks/django-storages", rev = "s3-head-object-sse-c"} djangorestframework = "^3.15.2" docx-mailmerge2 = "^0.8.0" docxtpl = ">=0.17,<0.19"