Skip to content

exclude 'easyblocks' pkg from sys.path, make sure $EASYBUILD_BOOTSTRAP* env vars are undefined via pop#1289

Merged
boegel merged 1 commit intoeasybuilders:developfrom
boegel:bootstrap_fixes
May 27, 2015
Merged

exclude 'easyblocks' pkg from sys.path, make sure $EASYBUILD_BOOTSTRAP* env vars are undefined via pop#1289
boegel merged 1 commit intoeasybuilders:developfrom
boegel:bootstrap_fixes

Conversation

@boegel
Copy link
Copy Markdown
Member

@boegel boegel commented May 27, 2015

The setup.py of easybuild-easyblocks import directly from the easyblocks package (see below), so any paths providing this namespace should also be excluded from the Python search path prior to initiating the bootstrap procedure.

sys.path.append('easybuild')                                                                                            
from easyblocks import VERSION  

The $EASYBUILD_BOOTSTRAP* environment variables must be unset, since they are not valid EasyBuild configuration options, which EasyBuild trips over since v2.1.0 (see #1253).

@hpcugentbot
Copy link
Copy Markdown

Refer to this link for build results (access rights to CI server needed):
https://jenkins1.ugent.be/job/easybuild-framework-pr-builder/1726/
EasyBuild framework unit test suite PASSed (see https://jenkins1.ugent.be/job/easybuild-framework-pr-builder/1726/console for more details).

This pull request is now ready for review/testing.

Please try and find someone who can tackle this; contact @boegel if you're not sure what to do.

@berndmohr
Copy link
Copy Markdown

@boegel I can confirm that the script fixes the issues I had with bootstrapping 2.1.1 on my laptop

@wpoely86
Copy link
Copy Markdown
Member

looks fine

@boegel
Copy link
Copy Markdown
Member Author

boegel commented May 27, 2015

Thanks for the review @wpoely86, and @berndmohr for confirming the fix!

Going in...

boegel added a commit that referenced this pull request May 27, 2015
exclude 'easyblocks' pkg from sys.path, make sure $EASYBUILD_BOOTSTRAP* env vars are undefined via pop
@boegel boegel merged commit 84d2dac into easybuilders:develop May 27, 2015
@boegel boegel deleted the bootstrap_fixes branch May 27, 2015 08:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants