Hi EasyBuilders,

I wanted to point out the following two pull requests that have just been merged in the develop branches of the easybuild-framework and easybuild-easyblocks repositories, respectively. These changes will be part of the next EasyBuild release v2.1 (currently planned for end of April).

* https://github.com/hpcugent/easybuild-framework/pull/1218
* https://github.com/hpcugent/easybuild-easyblocks/pull/588

With this, we're deprecating the error() and exception() log methods, and are replacing them with "raise EasyBuildError" statements.

This change is mainly important for people that have custom easyblocks, or are making changes to the framework.

For now (EasyBuild 2.x), the available error() and exception() log methods are left unchanged, but they should no longer be used.

In EasyBuild 3.0, the custom implementation for these log methods (which raise an EasyBuildError next to logging the specified message) will be removed,
which will effectively make call to error() and exception() non-fatal.

More details are available in the updated documentation on deprecated functionality:

http://easybuild.readthedocs.org/en/latest/Deprecated-functionality.html#report-errors-by-raising-easybuilderror-rather-than-using-log-methods


regards,

Kenneth

Reply via email to