[ARCHLINUX] [LXC containers] Installation troubleshooting

I finally switch to master branch by doing two things:

bench get-app erpnext GitHub - frappe/erpnext: Free and Open Source Enterprise Resource Planning (ERP) --branch master
bench switch-to-master

However, master branch of ERPNEXt is not compatible with python 3 (only devlopment banch is).

Thus i have the following error (see below):

This is a disaster i am stuck in the development branch (!!!)

What is interesting to note is that I am not the only one to do not understand the release process.

Dear ERPNext developers, if someday your concern is to have an industrial product, please take in considerations our feedbacks. We need stable release that is by default installed (and if we want to test the latest dev we will fetch the right things BUT not the opposite - it does not make sense to have the develop branch fetch instead of master by default)

[user1@erpnext-base frappe-bench]$ bench update --reset --force
INFO:bench.utils:updating bench
INFO:bench.utils:git pull
Already up to date.
INFO:bench.utils:./env/bin/pip install Pillow
Requirement already satisfied: Pillow in ./env/lib/python3.6/site-packages
You are using pip version 9.0.3, however version 10.0.1 is available.
You should consider upgrading via the ‘pip install --upgrade pip’ command.
INFO:bench.app:pulling frappe
INFO:bench.utils:git fetch --all
Fetching upstream
INFO:bench.utils:git reset --hard upstream/master
HEAD is now at b9fffc991 Merge branch ‘hotfix’
INFO:bench.utils:find . -name “.pyc" -delete
INFO:bench.app:pulling frappe_io
INFO:bench.utils:git fetch --all
Fetching upstream
INFO:bench.utils:git reset --hard upstream/master
HEAD is now at 62bf139 Datatable
INFO:bench.utils:find . -name "
.pyc” -delete
INFO:bench.app:pulling erpnext
INFO:bench.utils:git fetch --all
Fetching upstream
INFO:bench.utils:git reset --hard upstream/master
HEAD is now at 8ca5940f76 Merge branch ‘hotfix’
INFO:bench.utils:find . -name “.pyc" -delete
INFO:bench.app:pulling foundation
INFO:bench.utils:git fetch --all
Fetching upstream
INFO:bench.utils:git reset --hard upstream/master
HEAD is now at 6d2f203 style + sidebar
INFO:bench.utils:find . -name "
.pyc” -delete
Updating Python libraries…
INFO:bench.utils:./env/bin/pip install --upgrade pip==9.0.3
Requirement already up-to-date: pip==9.0.3 in ./env/lib/python3.6/site-packages
You are using pip version 9.0.3, however version 10.0.1 is available.
You should consider upgrading via the ‘pip install --upgrade pip’ command.
INFO:bench.utils:./env/bin/pip install -q -r /home/user1/bench-repo/requirements.txt
INFO:bench.utils:./env/bin/pip install -q -r ./apps/erpnext/requirements.txt
INFO:bench.utils:./env/bin/pip install -q -r ./apps/foundation/requirements.txt
INFO:bench.utils:./env/bin/pip install -q -r ./apps/frappe_io/requirements.txt
INFO:bench.utils:./env/bin/pip install -q -r ./apps/frappe/requirements.txt
Updating node packages…
INFO:bench.utils:npm install
npm WARN frappe@ No description
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.4 (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.4: wanted {“os”:“darwin”,“arch”:“any”} (current: {“os”:“linux”,“arch”:“x64”})

audited 2626 packages in 4.296s
found 0 vulnerabilities

Backing up sites…
Patching sites…
Traceback (most recent call last):
File “/home/user1/frappe-bench/apps/frappe/frappe/utils/bench_helper.py”, line 64, in get_app_commands
app_command_module = importlib.import_module(app + ‘.commands’)
File “/home/user1/frappe-bench/env/lib/python3.6/importlib/init.py”, line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File “”, line 994, in _gcd_import
File “”, line 971, in _find_and_load
File “”, line 953, in _find_and_load_unlocked
ModuleNotFoundError: No module named ‘frappe_io.commands’
Traceback (most recent call last):
File “/home/user1/frappe-bench/apps/frappe/frappe/utils/bench_helper.py”, line 64, in get_app_commands
app_command_module = importlib.import_module(app + ‘.commands’)
File “/home/user1/frappe-bench/env/lib/python3.6/importlib/init.py”, line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File “”, line 994, in _gcd_import
File “”, line 971, in _find_and_load
File “”, line 953, in _find_and_load_unlocked
ModuleNotFoundError: No module named ‘foundation.commands’
*** Error compiling ‘…/apps/erpnext/erpnext/education/doctype/guardian/guardian.py’…
File “…/apps/erpnext/erpnext/education/doctype/guardian/guardian.py”, line 40
print guardian_as_user
^
SyntaxError: Missing parentheses in call to ‘print’. Did you mean print(guardian_as_user)?

*** Error compiling ‘…/apps/erpnext/erpnext/healthcare/doctype/healthcare_settings/healthcare_settings.py’…
Sorry: TabError: inconsistent use of tabs and spaces in indentation (healthcare_settings.py, line 28)
*** Error compiling ‘…/apps/erpnext/erpnext/hr/doctype/payroll_entry/test_payroll_entry.py’…
File “…/apps/erpnext/erpnext/hr/doctype/payroll_entry/test_payroll_entry.py”, line 170
new_year = dt + relativedelta(month=01, day=01, year=dt.year)
^
SyntaxError: invalid token

*** Error compiling ‘…/apps/erpnext/erpnext/patches/v4_0/validate_v3_patch.py’…
File “…/apps/erpnext/erpnext/patches/v4_0/validate_v3_patch.py”, line 11
raise Exception, “site not ready to migrate to version 4”
^
SyntaxError: invalid syntax

*** Error compiling ‘…/apps/erpnext/erpnext/setup/utils.py’…
File “…/apps/erpnext/erpnext/setup/utils.py”, line 131
except frappe.DuplicateEntryError, e:
^