Story #6844
As a user, I can pip install the S3 support or Prometheus support as 'extras'
100%
Description
Problem¶
Pulp has a few optional dependencies, but currently no easy way to install them.
- S3 support (not sure which dependencies are needed)
- Prometheus support django_prometheus
- test dependencies listed here
Solution¶
Declare setuptools extras so users can easily install these with pip.
Related issues
Associated revisions
History
#1
Updated by bmbouter 8 months ago
- Blocks Story #6808: As an installer user, I can enable the Pulp's prometheus support added
#2
Updated by dkliban@redhat.com 7 months ago
- Groomed changed from No to Yes
- Sprint set to Sprint 74
#3
Updated by daviddavis 7 months ago
S3 support (not sure which dependencies are needed)
This is a little tricky. django-storages has its own set of extrras[0] depending on what storage solution the user is using. I am not sure how to handle this? Is it possible to somehow map our extras to django-storage's extras (eg have an s3
extra which installs django-storages[boto3]
, an azure
extra which installs django-storages[azure]
, and so forth)?
#4
Updated by mdepaulo@redhat.com 7 months ago
daviddavis wrote:
S3 support (not sure which dependencies are needed)
This is a little tricky. django-storages has its own set of extrras[0] depending on what storage solution the user is using. I am not sure how to handle this? Is it possible to somehow map our extras to django-storage's extras (eg have an
s3
extra which installsdjango-storages[boto3]
, anazure
extra which installsdjango-storages[azure]
, and so forth)?
Mapping it would be a ideal IMHO, but I do not know if it is possible.
Can we specify django-storages[s3] for example as the extra requirements of pulpcore[s3]?
#5
Updated by daviddavis 7 months ago
Can we specify django-storages[s3] for example as the extra requirements of pulpcore[s3]?
I don't know but we can test it out. Worst case scenario is we can just have pulpcore[s3] include django-storages and boto3.
#14
Updated by Anonymous 5 months ago
- Status changed from POST to MODIFIED
- % Done changed from 0 to 100
Applied in changeset pulpcore|70da7fcee079173ea5fd7e8a8ad3a1cf8e25ea22.
Please register to edit this issue
Extra require: s3, azure, prometheus and test
https://pulp.plan.io/issues/6844 closes #6844
Ref: https://github.com/pypa/pip/issues/3147#issuecomment-144656466