ERROR: Failed building wheel for cairocffi

note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for cairocffi
ERROR: Could not build wheels for cairocffi, which is required to install pyproject.toml-based projects
ERROR: /home/frappe/frappe-bench/env/bin/python -m pip install --quiet --upgrade -e /home/frappe/frappe-bench/apps/frappe
subprocess.CalledProcessError: Command '/home/frappe/frappe-bench/env/bin/python -m pip install --quiet --upgrade -e /home/frappe/frappe-bench/apps/frappe ’ returned non-zero exit status 1.

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File “/usr/local/bin/bench”, line 8, in
sys.exit(cli())
^^^^^
File “/usr/local/lib/python3.11/dist-packages/bench/cli.py”, line 132, in cli
bench_command()
File “/usr/local/lib/python3.11/dist-packages/bench/commands/update.py”, line 59, in update
update(
File “/usr/local/lib/python3.11/dist-packages/bench/utils/bench.py”, line 446, in update
bench.setup.requirements()
File “/usr/local/lib/python3.11/dist-packages/bench/utils/render.py”, line 105, in wrapper_fn
return fn(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^
File “/usr/local/lib/python3.11/dist-packages/bench/bench.py”, line 464, in requirements
app = App(path_to_app, bench=self.bench, to_clone=False).install(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/local/lib/python3.11/dist-packages/bench/utils/render.py”, line 126, in wrapper_fn
return fn(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^
File “/usr/local/lib/python3.11/dist-packages/bench/app.py”, line 242, in install
install_app(
File “/usr/local/lib/python3.11/dist-packages/bench/app.py”, line 573, in install_app
bench.run(
File “/usr/local/lib/python3.11/dist-packages/bench/bench.py”, line 48, in run
return exec_cmd(cmd, cwd=cwd or self.cwd, _raise=_raise)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/local/lib/python3.11/dist-packages/bench/utils/init.py”, line 158, in exec_cmd
raise CommandFailedError(cmd) from subprocess.CalledProcessError(return_code, cmd)
bench.exceptions.CommandFailedError: /home/frappe/frappe-bench/env/bin/python -m pip install --quiet --upgrade -e /home/frappe/frappe-bench/apps/frappe

Solving this error, I have to update cairocffi from version 1.5.1 on the pyproject.toml to version 1.6.0.