It is very slow to execute "pip install -U -r requirements.txt" when reinstall Compass
Bug #1393389 reported by
guoshi zeng
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Compass |
Incomplete
|
Undecided
|
Unassigned |
Bug Description
When I was reinstalling Compass after a failed installation,i found it spends a lot of time to
execute "pip install -U -r requirements.txt". I can sure the requirements i installed before
is a fresh one.
So ,I think it is not a good way to add the parameters "-U".
Or we could add a choose before installing Compass, like below:
"Choose if you need to force upgrade packages:(default is False)"
information type: | Private Security → Public |
tags: | added: install |
Changed in compass: | |
assignee: | nobody → guoshi zeng (zengguoshi) |
Changed in compass: | |
assignee: | guoshi zeng (zengguoshi) → nobody |
assignee: | nobody → Compass Team (syscompass) |
Changed in compass: | |
assignee: | Compass Team (syscompass) → Xiaodong Wang (xiaodongwang) |
status: | New → Invalid |
status: | Invalid → Incomplete |
tags: |
added: deploy-bootstrap removed: install |
Changed in compass: | |
status: | Incomplete → Invalid |
status: | Invalid → New |
assignee: | Xiaodong Wang (xiaodongwang) → nobody |
Changed in compass: | |
status: | New → Confirmed |
To post a comment you must log in.
pip install -U -r requirements.txt in general will only check all package having the latest version, it should not take that long. Can you double check?
In some case we update the code the requirement is also need to update. It is better to fix package version conflict early than some weird thing happens.
I do not think giving customer option to select y/n update package is better because if they ignore update package, we have less confident everything will work.