Skip to content
Snippets Groups Projects
Verified Commit d83955ec authored by Tom Teichler's avatar Tom Teichler :beers:
Browse files

Make django-storages optional

parent 5561866f
No related branches found
No related tags found
1 merge request!534Resolve "Support S3 storage for media"
Pipeline #6591 failed
FROM python:3.9-buster AS core
# Build arguments
ARG EXTRAS="ldap"
ARG EXTRAS="ldap,s3"
ARG APP_VERSION=""
# Configure Python to be nice inside Docker and pip to stfu
......
......@@ -216,7 +216,7 @@ name = "boto3"
version = "1.17.33"
description = "The AWS SDK for Python"
category = "main"
optional = false
optional = true
python-versions = ">= 2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, !=3.5.*"
[package.dependencies]
......@@ -229,7 +229,7 @@ name = "botocore"
version = "1.20.33"
description = "Low-level, data-driven core of boto 3."
category = "main"
optional = false
optional = true
python-versions = ">= 2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, !=3.5.*"
[package.dependencies]
......@@ -1006,7 +1006,7 @@ name = "django-storages"
version = "1.11.1"
description = "Support for many storage backends in Django"
category = "main"
optional = false
optional = true
python-versions = ">=3.5"
[package.dependencies]
......@@ -1481,7 +1481,7 @@ name = "jmespath"
version = "0.10.0"
description = "JSON Matching Expressions"
category = "main"
optional = false
optional = true
python-versions = ">=2.6, !=3.0.*, !=3.1.*, !=3.2.*"
[[package]]
......@@ -2062,7 +2062,7 @@ name = "s3transfer"
version = "0.3.6"
description = "An Amazon S3 Transfer Manager"
category = "main"
optional = false
optional = true
python-versions = "*"
[package.dependencies]
......@@ -2479,11 +2479,12 @@ testing = ["pytest (>=4.6)", "pytest-checkdocs (>=1.2.3)", "pytest-flake8", "pyt
[extras]
ldap = ["django-auth-ldap"]
s3 = ["boto3", "django-storages"]
[metadata]
lock-version = "1.1"
python-versions = "^3.7"
content-hash = "0cae74fc2064e062810767bbbdee875dc77207456cce7c8cead89c89a0ed7ac1"
content-hash = "fdb29a69283c1a951aba974e6b1121bdb2b002b5815df3b93d9cae89fe520f67"
[metadata.files]
alabaster = [
......
......@@ -97,11 +97,12 @@ django-uwsgi-ng = "^1.1.0"
django-extensions = "^3.1.1"
ipython = "^7.20.0"
django-redis = "^4.12.1"
django-storages = "^1.11.1"
boto3 = "^1.17.33"
django-storages = {version = "^1.11.1", optional = true}
boto3 = {version = "^1.17.33", optional = true}
[tool.poetry.extras]
ldap = ["django-auth-ldap"]
s3 = ["boto3", "django-storages"]
[tool.poetry.dev-dependencies]
aleksis-builddeps = "*"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment