Trying to initialize a bench on a GCP VM.
OS - ubuntu 22.04LTS.
Bench version 5.28
Python 3.10 (though i have tried 3.14, and a few other configurations)
everything goes fine until the bench init. Throws the following error at the installing frappe stage:
× Failed to build frappe @ file:///home/sandratoolan001/frappe-bench/apps/frappe
├─▶ The build backend returned an error
╰─▶ Call to flit_core.buildapi.build_editable failed (exit status: 1)
[stderr]
Traceback (most recent call last):
File "<string>", line 14, in <module>
File
"/home/sandratoolan001/.cache/uv/builds-v0/.tmpcVQCYA/lib/python3.10/site-packages/flit_core/buildapi.py",
line 32, in get_requires_for_build_wheel
docstring, version = get_docstring_and_version_via_ast(module)
File
"/home/sandratoolan001/.cache/uv/builds-v0/.tmpcVQCYA/lib/python3.10/site-packages/flit_core/common.py",
line 149, in get_docstring_and_version_via_ast
node = ast.parse(f.read())
File "/usr/lib/python3.10/ast.py", line 50, in parse
return compile(source, filename, mode, flags,
File "<unknown>", line 91
type ConfType = _dict[str, Any] # type: ignore[no-any-explicit]
^^^^^^^^
SyntaxError: invalid syntax
hint: This usually indicates a problem with the package or the build environment.
Tried some obvious stuff.
bench setup requirements - throws whole bunch of uv errors, that i’d prefer to not chase as i’m on fourth vm diag attempt.s
This config is solid generally - i’m thinking its frappe not me
anybody else having the problem.
anybody got any ideas please?
