Project

Profile

Help

Story #6844

As a user, I can pip install the S3 support or Prometheus support as 'extras'

Added by bmbouter 5 months ago. Updated 28 days ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
Category:
-
Sprint/Milestone:
Start date:
Due date:
% Done:

100%

Estimated time:
Platform Release:
Groomed:
Yes
Sprint Candidate:
No
Tags:
Sprint:
Sprint 80
Quarter:

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.


Related issues

Blocks Pulp - Story #6808: As an installer user, I can enable the Pulp's prometheus supportNEW

<a title="Actions" class="icon-only icon-actions js-contextmenu" href="#">Actions</a>

Associated revisions

History

#1 Updated by bmbouter 5 months ago

  • Blocks Story #6808: As an installer user, I can enable the Pulp's prometheus support added

#2 Updated by dkliban@redhat.com 5 months ago

  • Groomed changed from No to Yes
  • Sprint set to Sprint 74

#3 Updated by daviddavis 5 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)?

[0] https://github.com/jschneier/django-storages/blob/1388e6cfd6129a7f208a19c070879ce2453ca201/setup.cfg#L39-L51

#4 Updated by mdepaulo@redhat.com 5 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 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]?

#5 Updated by daviddavis 5 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.

#6 Updated by rchan 4 months ago

  • Sprint changed from Sprint 74 to Sprint 75

#7 Updated by rchan 4 months ago

  • Sprint changed from Sprint 75 to Sprint 76

#8 Updated by rchan 3 months ago

  • Sprint changed from Sprint 76 to Sprint 77

#9 Updated by rchan 3 months ago

  • Sprint changed from Sprint 77 to Sprint 78

#10 Updated by rchan 2 months ago

  • Sprint changed from Sprint 78 to Sprint 79

#11 Updated by fao89 2 months ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to fao89

#12 Updated by pulpbot 2 months ago

  • Status changed from ASSIGNED to POST

#13 Updated by rchan about 2 months ago

  • Sprint changed from Sprint 79 to Sprint 80

#14 Updated by Anonymous about 2 months ago

  • Status changed from POST to MODIFIED
  • % Done changed from 0 to 100

#15 Updated by bmbouter 28 days ago

  • Sprint/Milestone set to 3.7.0

#16 Updated by pulpbot 28 days ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Please register to edit this issue

Also available in: Atom PDF