← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1505777] [NEW] inconsistent support for optional dependencies

 

Public bug reported:

keystone's requirements.txt includes several things that are really
optional dependencies, only needed if you are using certain features.
These should be moved out of requirements.txt and handled as extras in
setup.cfg. A few of these that I've noticed are:

passlib (only needed for the sql identity backend)
oauthlib
pysaml2

This is already done for several things:

python-ldap
ldappool
python-memcached
pymongo
bandit

We ought to be consistent. Moving optional dependencies to setup.cfg is
both a) correct and b) will allow those who do not need certain features
to package/ship/install less. This is important for applications based
on OpenStack that don't want the extra work of
building/shipping/installing/supporting things which are not necessary
for their application. It's important for users that shouldn't have to
install things they don't need. Etc.

** Affects: keystone
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Keystone.
https://bugs.launchpad.net/bugs/1505777

Title:
  inconsistent support for optional dependencies

Status in Keystone:
  New

Bug description:
  keystone's requirements.txt includes several things that are really
  optional dependencies, only needed if you are using certain features.
  These should be moved out of requirements.txt and handled as extras in
  setup.cfg. A few of these that I've noticed are:

  passlib (only needed for the sql identity backend)
  oauthlib
  pysaml2

  This is already done for several things:

  python-ldap
  ldappool
  python-memcached
  pymongo
  bandit

  We ought to be consistent. Moving optional dependencies to setup.cfg
  is both a) correct and b) will allow those who do not need certain
  features to package/ship/install less. This is important for
  applications based on OpenStack that don't want the extra work of
  building/shipping/installing/supporting things which are not necessary
  for their application. It's important for users that shouldn't have to
  install things they don't need. Etc.

To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1505777/+subscriptions


Follow ups