Story #6844
closedAs 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
Updated by bmbouter about 4 years ago
- Blocks Story #6808: As an installer user, I can enable the Pulp's prometheus support added
Updated by dkliban@redhat.com about 4 years ago
- Groomed changed from No to Yes
- Sprint set to Sprint 74
Updated by daviddavis about 4 years 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)?
Updated by mdepaulo@redhat.com about 4 years 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]?
Updated by daviddavis about 4 years 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.
Updated by fao89 about 4 years ago
- Status changed from NEW to ASSIGNED
- Assignee set to fao89
Updated by pulpbot about 4 years ago
- Status changed from ASSIGNED to POST
Added by Fabricio Aguiar almost 4 years ago
Updated by Anonymous almost 4 years ago
- Status changed from POST to MODIFIED
- % Done changed from 0 to 100
Applied in changeset pulpcore|70da7fcee079173ea5fd7e8a8ad3a1cf8e25ea22.
Updated by pulpbot almost 4 years ago
- Status changed from MODIFIED to CLOSED - CURRENTRELEASE
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