[openstack-dev] [glance] Removing python-swiftclient from requirements.txt
William M Edmonds
edmondsw at us.ibm.com
Wed Jul 29 18:27:54 UTC 2015
> From: Doug Hellmann <doug at doughellmann.com>
> To: openstack-dev <openstack-dev at lists.openstack.org>
> Date: 07/28/2015 07:59 PM
> Subject: Re: [openstack-dev] [glance] Removing python-swiftclient
> from requirements.txt
>
<snip>
> I replied on both patches, but I'll repeat it here for a broader
> audience:
>
> Please set up an "extras" entry for each backend instead of just
> removing the dependencies. That will signal to users that you know
> what dependencies there are for a backend, but that they are optional,
> and still allow someone to do the equivalent of "pip install
> glance[vmware]" or "pip install glance[swift]" to get those
> dependencies. Nova and oslo.versionedobjects have examples in their
> setup.cfg if you need a template.
>
> I didn't mention in the reviews, but this will also make integration
> tests in our gate easier, since you can put ".[vmware]" or ".[swift]" in
> the tox.ini to pull in those dependencies.
>
> Doug
>
<snip>
I did this... but now I'm thinking I really shouldn't have. That makes
perfect sense for glance_store, but shouldn't that only be in glance_store,
and not also in glance?
Matthew
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20150729/3ac0d781/attachment.html>
More information about the OpenStack-dev
mailing list