Project

Profile

Help

Story #6844

closed

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

Added by bmbouter over 2 years ago. Updated over 1 year ago.

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

100%

Estimated time:
(Total: 0:00 h)
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.


Subtasks 1 (0 open1 closed)

Story #8446: As an installer user, I can install object storage supportCLOSED - CURRENTRELEASEfao89

Actions

Related issues

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

Actions
Actions #1

Updated by bmbouter over 2 years ago

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

Updated by dkliban@redhat.com over 2 years ago

  • Groomed changed from No to Yes
  • Sprint set to Sprint 74
Actions #3

Updated by daviddavis over 2 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)?

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

Actions #4

Updated by mdepaulo@redhat.com over 2 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 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]?

Actions #5

Updated by daviddavis over 2 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.

Actions #6

Updated by rchan over 2 years ago

  • Sprint changed from Sprint 74 to Sprint 75
Actions #7

Updated by rchan over 2 years ago

  • Sprint changed from Sprint 75 to Sprint 76
Actions #8

Updated by rchan about 2 years ago

  • Sprint changed from Sprint 76 to Sprint 77
Actions #9

Updated by rchan about 2 years ago

  • Sprint changed from Sprint 77 to Sprint 78
Actions #10

Updated by rchan about 2 years ago

  • Sprint changed from Sprint 78 to Sprint 79
Actions #11

Updated by fao89 about 2 years ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to fao89
Actions #12

Updated by pulpbot about 2 years ago

  • Status changed from ASSIGNED to POST
Actions #13

Updated by rchan about 2 years ago

  • Sprint changed from Sprint 79 to Sprint 80

Added by Fabricio Aguiar about 2 years ago

Revision 70da7fce

Actions #14

Updated by Anonymous about 2 years ago

  • Status changed from POST to MODIFIED
  • % Done changed from 0 to 100
Actions #15

Updated by bmbouter about 2 years ago

  • Sprint/Milestone set to 3.7.0
Actions #16

Updated by pulpbot about 2 years ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Also available in: Atom PDF