[Freeipa-devel] [freeipa PR#397][comment] Improve wheel building and provide ipaserver wheel for local testing

HonzaCholasta freeipa-github-notification at redhat.com
Wed Feb 22 09:16:44 UTC 2017


  URL: https://github.com/freeipa/freeipa/pull/397
Title: #397: Improve wheel building and provide ipaserver wheel for local testing

HonzaCholasta commented:
"""
The trust plugin and other trust bits are optional. The cert plugin, which depends on `pyhbac`, is *not* optional, so you can't apply the same logic to it.

An acceptable compromise would be to skip the cert plugin entirely if `pyhbac` is not available:
```python
try:
    import pyhbac
except ImportError:
    raise errors.SkipPluginModule(reason=_('pyhbac is not installed'))
```
"""

See the full comment at https://github.com/freeipa/freeipa/pull/397#issuecomment-281612799


More information about the Freeipa-devel mailing list