This is needed to have different MBS configuration for rhpkg and fedpkg, or even fedpkg and fedpk-stage.
Should this maybe start with a copy of os.environ? Right now it would reset all existing env variables, which may not be desired.
os.environ
Other than the empty environment this looks good to me. The failing tests are caused by missing python3.5, which is addressed in #309.
python3.5
_run_command(...) actually uses os.environ and just adds what's in env to it:
_run_command(...)
env
# Process any environment variables. environ = os.environ if env: for item in env.keys(): self.log.debug('Adding %s:%s to the environment', item, env[item]) environ[item] = env[item]
So there is no need to set it explicitly in module_local_build(...).
module_local_build(...)
Looks good to me.
pretty please pagure-ci rebuild
Commit d49c48e6 fixes this pull-request
Pull-Request has been merged by lsedlar
This is needed to have different MBS configuration for rhpkg and fedpkg, or even fedpkg and fedpk-stage.