Skip to content

Commit

Permalink
fix(deps): revert la maj de django-storages (#1420)
Browse files Browse the repository at this point in the history
  • Loading branch information
raphodn authored Aug 27, 2024
1 parent e7805c7 commit dde69be
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 14 deletions.
2 changes: 1 addition & 1 deletion config/settings/prod.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
MEDIA_URL = f"https://{S3_STORAGE_ENDPOINT_DOMAIN}/" # noqa

# flake8: noqa F405
STORAGES |= {"default": {"BACKEND": "storages.backends.s3.S3Storage"}}
STORAGES |= {"default": {"BACKEND": "lemarche.utils.s3boto.S3BotoStorage"}}


# Sentry
Expand Down
2 changes: 1 addition & 1 deletion config/settings/staging.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
MEDIA_URL = f"https://{S3_STORAGE_ENDPOINT_DOMAIN}/" # noqa

# flake8: noqa F405
STORAGES |= {"default": {"BACKEND": "storages.backends.s3.S3Storage"}}
STORAGES |= {"default": {"BACKEND": "lemarche.utils.s3boto.S3BotoStorage"}}


# Sentry
Expand Down
1 change: 1 addition & 0 deletions lemarche/utils/s3boto.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# copy from django-storage-1.8
# replace force_text by force_str
# get_available_overwrite_name is removed in 1.14.4
import io
import mimetypes
import os
Expand Down
14 changes: 7 additions & 7 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ django-htmx = "^1.19.0"
django-libsass = "^0.9"
django-select2 = "^7.11.1"
django-sesame = "^3.2.2"
django-storages = "^1.14.4"
django-storages = "^1.14.3"
djangorestframework = "^3.15.2"
drf-spectacular = "^0.27.2"
elastic-apm = "^6.23.0"
Expand Down
4 changes: 2 additions & 2 deletions requirements/dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ greenlet==3.0.3 ; python_version < "3.13" and (platform_machine == "win32" or pl
h11==0.14.0 ; python_full_version >= "3.10.4" and python_version < "4.0"
html5lib==1.1 ; python_full_version >= "3.10.4" and python_full_version < "4.0.0"
httpcore==1.0.5 ; python_full_version >= "3.10.4" and python_version < "4.0"
httpx==0.27.1 ; python_full_version >= "3.10.4" and python_version < "4.0"
httpx==0.27.2 ; python_full_version >= "3.10.4" and python_version < "4.0"
huey==2.5.1 ; python_full_version >= "3.10.4" and python_full_version < "4.0.0"
identify==2.6.0 ; python_full_version >= "3.10.4" and python_full_version < "4.0.0"
idna==3.8 ; python_full_version >= "3.10.4" and python_version < "4.0"
Expand All @@ -93,7 +93,7 @@ langchain-community==0.0.38 ; python_full_version >= "3.10.4" and python_version
langchain-core==0.1.52 ; python_full_version >= "3.10.4" and python_version < "4.0"
langchain-text-splitters==0.0.2 ; python_full_version >= "3.10.4" and python_version < "4.0"
langchain==0.1.20 ; python_full_version >= "3.10.4" and python_version < "4.0"
langsmith==0.1.104 ; python_full_version >= "3.10.4" and python_version < "4.0"
langsmith==0.1.105 ; python_full_version >= "3.10.4" and python_version < "4.0"
libsass==0.23.0 ; python_full_version >= "3.10.4" and python_full_version < "4.0.0"
marshmallow==3.22.0 ; python_full_version >= "3.10.4" and python_version < "4.0"
matplotlib-inline==0.1.7 ; python_full_version >= "3.10.4" and python_full_version < "4.0.0"
Expand Down
4 changes: 2 additions & 2 deletions requirements/staging.txt
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ greenlet==3.0.3 ; python_version < "3.13" and (platform_machine == "win32" or pl
h11==0.14.0 ; python_full_version >= "3.10.4" and python_version < "4.0"
html5lib==1.1 ; python_full_version >= "3.10.4" and python_full_version < "4.0.0"
httpcore==1.0.5 ; python_full_version >= "3.10.4" and python_version < "4.0"
httpx==0.27.1 ; python_full_version >= "3.10.4" and python_version < "4.0"
httpx==0.27.2 ; python_full_version >= "3.10.4" and python_version < "4.0"
huey==2.5.1 ; python_full_version >= "3.10.4" and python_full_version < "4.0.0"
idna==3.8 ; python_full_version >= "3.10.4" and python_version < "4.0"
inflection==0.5.1 ; python_full_version >= "3.10.4" and python_full_version < "4.0.0"
Expand All @@ -77,7 +77,7 @@ langchain-community==0.0.38 ; python_full_version >= "3.10.4" and python_version
langchain-core==0.1.52 ; python_full_version >= "3.10.4" and python_version < "4.0"
langchain-text-splitters==0.0.2 ; python_full_version >= "3.10.4" and python_version < "4.0"
langchain==0.1.20 ; python_full_version >= "3.10.4" and python_version < "4.0"
langsmith==0.1.104 ; python_full_version >= "3.10.4" and python_version < "4.0"
langsmith==0.1.105 ; python_full_version >= "3.10.4" and python_version < "4.0"
libsass==0.23.0 ; python_full_version >= "3.10.4" and python_full_version < "4.0.0"
marshmallow==3.22.0 ; python_full_version >= "3.10.4" and python_version < "4.0"
matplotlib-inline==0.1.7 ; python_full_version >= "3.10.4" and python_full_version < "4.0.0"
Expand Down

0 comments on commit dde69be

Please sign in to comment.