Skip to content

don't pass empty string as custom installopts for numpy in test_step#1067

Merged
boegel merged 1 commit intoeasybuilders:developfrom
boegel:numpy_installopts
Dec 8, 2016
Merged

don't pass empty string as custom installopts for numpy in test_step#1067
boegel merged 1 commit intoeasybuilders:developfrom
boegel:numpy_installopts

Conversation

@boegel
Copy link
Copy Markdown
Member

@boegel boegel commented Dec 8, 2016

self.installopts is initialized as empty and never touched again in the numpy easyblock

It is then used to pass down custom installopts to compose_install_command in test_step, which makes the installopts is None check in PythonPackage.test_step fail, causing self.cfg['installopts'] not to be used

This is a problem when numpy is being installed with pip, since it means that --ignore-installed (cfr. #1066) will not be passed down when the temporary installation of numpy to run the tests on is being installed, resulting in the numpy being part of the Python installation being removed...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant