Another bench update failure

The error is about 1000 lines long, but to surmise: subprocess.CalledProcessError: Command './env/bin/pip install -q -r ./apps/frappe/requirements.txt' returned non-zero exit status 2

This is in the Virtual Appliance version of erpnext. These updates have been about 50/50 if they work or crash. Is there something I am doing wrong or am I pulling from the wrong repo’s?

Can you run ./env/bin/pip install -r ./apps/frappe/requirements.txt from frappe-bench dir and post the output, I just updated the requirements on a test system and it worked.

I get the same failure, but looking at the pip.log the final lines of the output reference this, which I think is the root of the issue. RuntimeError: maximum recursion depth exceeded in cmp

The full log is here:

Still broken… any updates? Todays attempt: *

branch            master     -> FETCH_HEAD
Updating 169c3ed..4a13192
 erpnext/                             |    2 +-
 .../doctype/journal_entry/journal_entry.js         |    4 -
 .../doctype/journal_entry/         |    2 +-
 .../        |    2 +-
 erpnext/                                   |    2 +-
 .../manufacturing_settings.json                    |  190 ++++++++++----------
 erpnext/patches.txt                                |    2 +-
 erpnext/patches/v5_4/      |   11 +-
 erpnext/translations/es.csv                        |  124 ++++++-------                                           |    2 +-
 10 files changed, 171 insertions(+), 170 deletions(-)
Traceback (most recent call last):
  File "/home/erpnext/frappe-bench/env/local/lib/python2.7/site-packages/pip/", line 119, in main
    status =, args)

Then the rest of the 1000 lines just like what I posted previously.