Skip to content

ensure stand-alone Python package being installed is in view when running 'pip check' by loading fake module first#2114

Merged
smoors merged 1 commit intoeasybuilders:developfrom
boegel:pythonpackage_fix_pip_check
Aug 12, 2020
Merged

ensure stand-alone Python package being installed is in view when running 'pip check' by loading fake module first#2114
smoors merged 1 commit intoeasybuilders:developfrom
boegel:pythonpackage_fix_pip_check

Conversation

@boegel
Copy link
Copy Markdown
Member

@boegel boegel commented Aug 11, 2020

Not loading the fake module basically renders pip check useless, since the dependencies are only being checked for Python packages which are "in view" (through $PYTHONPATH).

This bug only affects stand-alone installation of Python packages (using the PythonPackage easyblock, or one that derives from it), not sets of Python packages being installed as extensions (either via PythonBundle, or as extensions in the Python installations or those of other software like GROMACS).

PRs that should get merged when this is merged (to avoid breaking the installations of easyconfigs):

…ning 'pip check' by loading fake module first
@boegel
Copy link
Copy Markdown
Member Author

boegel commented Aug 11, 2020

There's a whole bunch of easyconfigs we need to re-check to ensure there's no fallout from this bug.

It definitely affects scikit-learn 0.23.1, see #11089.

I'm wading through the easyconfigs that may be hit by this, to see if there's more problems to fix...

@smoors
Copy link
Copy Markdown
Contributor

smoors commented Aug 12, 2020

all tests of the above easyconfig PRs succeeded with this easyblock PR included, except for LiBis, but that is due to an error in it's MOABS dependency.

Copy link
Copy Markdown
Contributor

@smoors smoors left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@smoors
Copy link
Copy Markdown
Contributor

smoors commented Aug 12, 2020

Going in, thanks @boegel!

@smoors smoors merged commit 45abe96 into easybuilders:develop Aug 12, 2020
@boegel boegel deleted the pythonpackage_fix_pip_check branch August 12, 2020 08:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants