[openstack-dev] [Nova][Deployers] Optional, platform specific, dependancies in requirements.txt
Clark Boylan
cboylan at sapwetik.org
Thu Apr 12 16:27:01 UTC 2018
On Wed, Apr 11, 2018, at 5:45 PM, Matt Riedemann wrote:
> I also seem to remember that [extras] was less than user-friendly for
> some reason, but maybe that was just because of how our CI jobs are
> setup? Or I'm just making that up. I know it's pretty simple to install
> the stuff from extras for tox runs, it's just an extra set of
> dependencies to list in the tox.ini.
One concern I have as a user is that extras are not very discoverable without reading the source setup.cfg file. This can be addressed by improving installation docs to explain what the extras options are and why you might want to use them.
Another idea was to add a 'all' extras that installed all of the more fine grained extra's options. That way a user can just say give me all the features I don't care even if I can't use them all I know the ones I can use will be properly installed.
As for the CI jobs its just a matter of listing the extras in the appropriate requirements files or explicitly installing them.
Clark
More information about the OpenStack-dev
mailing list