Story #6844
closed
As a user, I can pip install the S3 support or Prometheus support as 'extras'
Status:
CLOSED - CURRENTRELEASE
Estimated time:
(Total: 0:00 h)
Description
Problem¶
Pulp has a few optional dependencies, but currently no easy way to install them.
Solution¶
Declare setuptools extras so users can easily install these with pip.
- Blocks Story #6808: As an installer user, I can enable the Pulp's prometheus support added
- Groomed changed from No to Yes
- Sprint set to Sprint 74
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 installs django-storages[boto3]
, an azure
extra which installs django-storages[azure]
, and so forth)?
[0] https://github.com/jschneier/django-storages/blob/1388e6cfd6129a7f208a19c070879ce2453ca201/setup.cfg#L39-L51
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]?
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.
- Sprint changed from Sprint 74 to Sprint 75
- Sprint changed from Sprint 75 to Sprint 76
- Sprint changed from Sprint 76 to Sprint 77
- Sprint changed from Sprint 77 to Sprint 78
- Sprint changed from Sprint 78 to Sprint 79
- Status changed from NEW to ASSIGNED
- Assignee set to fao89
- Status changed from ASSIGNED to POST
- Sprint changed from Sprint 79 to Sprint 80
- Status changed from POST to MODIFIED
- % Done changed from 0 to 100
- Sprint/Milestone set to 3.7.0
- Status changed from MODIFIED to CLOSED - CURRENTRELEASE
Also available in: Atom
PDF
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