Red Hat Bugzilla – Bug 1475026
Please better document base.group_install API change
Last modified: 2017-07-26 07:33:31 EDT
There was a bit of compat code from upstream commit fdacdb85533721396789c6185b06a3a1e8148292 which went away in dnf-2 that allowed base.group_install to accept a base.comp.Group object as its first argument instead of a string. Unfortunately the "Changes in DNF-2 compared to DNF-1" document says only:
Following API methods accept different arguments
I had assumed that the change was only the addition of the third optional argument, but it's actually a bit more significant and unfortunately this broke Ansible's DNF module.
I guess there's no undoing the change, but it would be nice to have it more fully documented. I'd argue that a warning on the improper API usage would have been good as well, but it's a bit late for that now.