require that sanity_pip_check is enabled in new/changed easyconfigs#9516
require that sanity_pip_check is enabled in new/changed easyconfigs#9516smoors merged 1 commit intoeasybuilders:developfrom
Conversation
|
Great! But we should also fix easybuilders/easybuild-easyblocks#1877 to avoid failures due to python using the user home. |
|
easybuilders/easybuild-easyblocks#1877 is being fixed with easybuilders/easybuild-easyblocks#1891 @smoors This is good to go imho... |
45471df to
55ac2f7
Compare
|
Thanks, LGTM. However I suggest to rework the assert messages (for pretty much all tests). The current one here is e.g. "sanity_pip_check is enabled in X". So if you see the test failing on travis this will be what is printed. The problem: The opposite is the case: The check failed because it is not enabled. This made me loose some time chasing for the failure because I couldn't understand the message. Better: "sanity_pip_check should be enabled in X" or "sanity_pip_check is not enabled in X" |
|
@Flamefire I understand your confusion, but all other error messages are constructed in the same way. |
|
Ok: #9542 |
|
Test report by @smoors |
|
Going in, thanks @boegel! |
Support for running
pip checkduring the sanity check to ensure that all required Python packages are installed was added in EasyBuild v4.1.0 (see #1853).We should start requiring it in contributed easyconfigs, since it can prevent shipping broken easyconfigs (see #9306 for example).
You can enable the running of
pip checkeither via:or
(it can also be enabled for individual extensions, but there's little point in doing that imho, so no need to cover that in the check here)