Impossible to override the progress class when installing the PARENT module of a module
When Webbob tries to load an installed module, which requires a parent module (here, this calls the method load_or_install_module
of the Weboob
class (here), which calls the install
method of the Repositories
class.
The problem is that the call to the install method is done without providing a progress
, Weboob then uses the default one , which causes a problem with Kresus, as the default progress prints on the stdout
, and Kresus only expects json on the stdout.
This occurs because the installation of the parent modules occurs when trying to load the module, and not when installing it.