make sure setuptools installed in stage0 is still available at end of stage1#1727
Conversation
|
@andreas-h: please test? You can download the patched bootstrap script via |
|
@andreas-h: please test?
Success! Thank you, @boegel!
|
|
The problem is that `easybuild` is being imported without having `setuptools` (which provides `pkg_resources`) available at all.
That's interesting, as I also noticed the absolute absence of setuptools
on the system, and did a bootstrap-install of pip, which placed a
setuptools version into `~/.local/lib/python2.7/site-packages`. I
wonder why the eb setup didn't recognize this?
|
|
@andreas-h It *will8 be picked up when installing things in that location through |
|
Not so sure about that, @boegel , as on my Debian system, I have the following behaviour: On the contrary, some time ago (on a Ubuntu machine) I had the problem that |
|
@andreas-h Is that a system where Anyway, the whole Python packaging ecosystem is a huge mess, and it's not getting better. The fact that we need a bootstrap script to get EasyBuild installed easily is just a little bit too ironic... |
Maybe it's time to start believing in magic, then ;-) So my local But let's remove that and see what happens: Anyways, the problem at hand is solved, so maybe that should be all to |
|
EasyBuild framework unit test suite PASSed (see https://jenkins1.ugent.be/job/easybuild-framework-pr-builder/2942/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. |
|
@andreas-h The problem in the bootstrap script was a little bit different, there Anyway, the change done here should be airtight, regardless of whether So, going in, thanks for the feedback! |
fix for problem reported by @andreas-h on EasyBuild mailing list, which manifests itself as:
The problem is that
easybuildis being imported without havingsetuptools(which providespkg_resources) available at all.The fix proposed in this patch makes sure that the
distribute(basically an old version ofsetuptools) being installed instage0remains available.