Installing healthcare
$ ~/frappe-bench/env/bin/python -m pip install --quiet --upgrade -e ~/frappe-bench/apps/healthcare
error: subprocess-exited-with-error
× Getting requirements to build editable did not run successfully.
│ exit code: 1
╰─> [21 lines of output]
Traceback (most recent call last):
File "~/frappe-bench/env/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 389, in <module>
main()
File "~/frappe-bench/env/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 373, in main
json_out["return_val"] = hook(**hook_input["kwargs"])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "~/frappe-bench/env/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 157, in get_requires_for_build_editable
return hook(config_settings)
^^^^^^^^^^^^^^^^^^^^^
File "/tmp/pip-build-env-57ecnp2w/overlay/lib/python3.12/site-packages/flit_core/buildapi.py", line 23, in get_requires_for_build_wheel
info = read_flit_config(pyproj_toml)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/tmp/pip-build-env-57ecnp2w/overlay/lib/python3.12/site-packages/flit_core/config.py", line 85, in read_flit_config
return prep_toml_config(d, path)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/tmp/pip-build-env-57ecnp2w/overlay/lib/python3.12/site-packages/flit_core/config.py", line 112, in prep_toml_config
loaded_cfg = read_pep621_metadata(d['project'], path)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/tmp/pip-build-env-57ecnp2w/overlay/lib/python3.12/site-packages/flit_core/config.py", line 612, in read_pep621_metadata
raise ConfigError(f"License file {license_f} does not exist")
flit_core.config.ConfigError: License file LICENSE.txt does not exist
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
× Getting requirements to build editable did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: ~/frappe-bench/env/bin/python -m pip install --quiet --upgrade -e ~/frappe-bench/apps/healthcare
subprocess.CalledProcessError: Command '~/frappe-bench/env/bin/python -m pip install --quiet --upgrade -e ~/frappe-bench/apps/healthcare ' returned non-zero exit status 1.
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "~/.local/bin/bench", line 8, in <module>
sys.exit(cli())
^^^^^
File "~/.local/lib/python3.12/site-packages/bench/cli.py", line 132, in cli
bench_command()
File "~/.local/lib/python3.12/site-packages/bench/commands/update.py", line 59, in update
update(
File "~/.local/lib/python3.12/site-packages/bench/utils/bench.py", line 476, in update
bench.setup.requirements()
File "~/.local/lib/python3.12/site-packages/bench/utils/render.py", line 105, in wrapper_fn
return fn(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^
File "~/.local/lib/python3.12/site-packages/bench/bench.py", line 466, in requirements
app = App(path_to_app, bench=self.bench, to_clone=False).install(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "~/.local/lib/python3.12/site-packages/bench/utils/render.py", line 126, in wrapper_fn
return fn(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^
File "~/.local/lib/python3.12/site-packages/bench/app.py", line 253, in install
install_app(
File "~/.local/lib/python3.12/site-packages/bench/app.py", line 912, in install_app
bench.run(
File "~/.local/lib/python3.12/site-packages/bench/bench.py", line 48, in run
return exec_cmd(cmd, cwd=cwd or self.cwd, _raise=_raise)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "~/.local/lib/python3.12/site-packages/bench/utils/__init__.py", line 181, in exec_cmd
raise CommandFailedError(cmd) from subprocess.CalledProcessError(return_code, cmd)
bench.exceptions.CommandFailedError: ~/frappe-bench/env/bin/python -m pip install --quiet --upgrade -e ~/frappe-bench/apps/healthcare
bench update --reset fails with the message above
The system config is now:
erpnext 15.53.0
frappe 15.56.1
healthcare 15.0.2
hrms 15.39.1
non_profit 0.0.1
payments 0.0.1
print_designer 1.4.3