It is very slow to execute "pip install -U -r requirements.txt" when reinstall Compass

Bug #1393389 reported by guoshi zeng
6
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)"

guoshi zeng (zengguoshi)
information type: Private Security → Public
tags: added: install
Changed in compass:
assignee: nobody → guoshi zeng (zengguoshi)
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
syang1 (shuo-yang)
tags: added: deploy-bootstrap
removed: install
Changed in compass:
status: Incomplete → Invalid
status: Invalid → New
assignee: Xiaodong Wang (xiaodongwang) → nobody
syang1 (shuo-yang)
Changed in compass:
status: New → Confirmed
Revision history for this message
Xiaodong Wang (xiaodongwang) wrote :

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.

Changed in compass:
status: Confirmed → Incomplete
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.