Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

installation is very long #1549

Closed
jcohenadad opened this issue Dec 6, 2017 · 10 comments
Closed

installation is very long #1549

jcohenadad opened this issue Dec 6, 2017 · 10 comments
Assignees
Labels
bug category: fixes an error in the code installation category: install_sct or pip/setup.py upstream Issue caused by software dependencies
Milestone

Comments

@jcohenadad
Copy link
Member

jcohenadad commented Dec 6, 2017

it hangs at "Processing /Users/julien/code/sct" for ~10min. Could this be reduced?

@poquirion
Copy link
Contributor

@jcohenadad,
I have tied to reproduce from the tip of master but could not. It does hang on Processing /home/poquirion/test/sct but only for 5-10 sec. It happens at the pip install $SCT_DIR step, not in the sct.

@poquirion
Copy link
Contributor

Wait it did hang for a while once. Seems to be intermittent.

@zougloub
Copy link
Contributor

zougloub commented Dec 7, 2017

I'll try to reproduce the isue on my mac when back home as I don't see this when doing a full package install on Linux.
Do you have a way to trace what is blocking on your system (something like strace) ?

@jcohenadad
Copy link
Member Author

@zougloub: sorry i'm not sure how to use strace (i guess the mac equivalent would be dtrace)

@zougloub
Copy link
Contributor

I tried to look at the issue a few weeks ago but had some permission issues to use dtrace... will check again soon. The issue is still relevant?

@jcohenadad
Copy link
Member Author

on a Mac OSX 10.10.5 using version cf64e93, this step: Processing /Users/julien/code/sct now takes about 35s, which I guess is acceptable.
I will try on other stations and maybe we can close this issue it it remains at acceptable durations.

@zougloub
Copy link
Contributor

zougloub commented Feb 28, 2018

The issue is still relevant... even Travis has it.

@zougloub zougloub added bug category: fixes an error in the code installation category: install_sct or pip/setup.py labels Feb 28, 2018
@zougloub
Copy link
Contributor

zougloub commented Mar 1, 2018

Upstream pip issue: pypa/pip#2195

@zougloub zougloub added the upstream Issue caused by software dependencies label Mar 1, 2018
@zougloub
Copy link
Contributor

zougloub commented Mar 1, 2018

pip v10.0.0 (not yet released) has merged pypa/pip#4764 which is addressing the slowness issue.
In 9ec9e86 I modified the installer to use the master branch of pip, until pip 10 is released.
IMHO this shouldn't be too unsafe, but we could also access a specific commit.

@zougloub
Copy link
Contributor

zougloub commented Mar 1, 2018

Implemented conditional install of the pre-release.

@zougloub zougloub closed this as completed Mar 1, 2018
@zougloub zougloub added this to the 3.1.2 milestone Mar 1, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug category: fixes an error in the code installation category: install_sct or pip/setup.py upstream Issue caused by software dependencies
Projects
None yet
Development

No branches or pull requests

3 participants