I'm trying to add module support to lorax-composer, using libdnf via dnf and python. After I grab the list of modules with: modules = dbo._moduleContainer.getModulePackages() latest = dbo._moduleContainer.getLatestModulesPerRepo(STATE_UNKNOWN, modules) And digging down to the module object I call some of the ModulePackage methods to get details about it. I can't seem to get python to iterate the result of getModuleDependencies() called on the ModulePackage object. Other methods work just fine. This one returns: <Swig Object of type 'std::vector< libdnf::ModuleDependencies,std::allocator< libdnf::ModuleDependencies > > *' at 0x7fd1eb699930> But there doesn't seem to be any way to use it in from python. Note, I've also filed a GH issue for this at - https://github.com/rpm-software-management/libdnf/issues/718
I created a patch that allows to work with std::vector< libdnf::ModuleDependencies> (https://github.com/rpm-software-management/libdnf/pull/726). Thank you very much for your report.
FEDORA-2019-58c2d3f1aa has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2019-58c2d3f1aa
dnf-4.2.7-1.fc30, libdnf-0.35.1-1.fc30 has been pushed to the Fedora 30 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-58c2d3f1aa
FEDORA-2019-672a74d688 has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2019-672a74d688
dnf-4.2.7-2.fc30, libdnf-0.35.1-2.fc30 has been pushed to the Fedora 30 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-672a74d688
dnf-4.2.7-2.fc30, libdnf-0.35.1-2.fc30 has been pushed to the Fedora 30 stable repository. If problems still persist, please make note of it in this bug report.