SyntaxError: invalid syntax
*** Error compiling '/home/frappe/frappe-bench/apps/erpnext/erpnext/stock/doctype/landed_cost_voucher/landed_cost_voucher.py'...
File "/home/frappe/frappe-bench/apps/erpnext/erpnext/stock/doctype/landed_cost_voucher/landed_cost_voucher.py", line 71
f"Row {d.idx}: {d.receipt_document_type} {frappe.bold(d.receipt_document)} must be submitted"
^
SyntaxError: invalid syntax
*** Error compiling '/home/frappe/frappe-bench/apps/erpnext/erpnext/stock/doctype/landed_cost_voucher/test_landed_cost_voucher.p y'...
File "/home/frappe/frappe-bench/apps/erpnext/erpnext/stock/doctype/landed_cost_voucher/test_landed_cost_voucher.py", line 117
expected_values[gle.account][0], gle.debit, msg=f"incorrect debit for {gle.account}"
^
SyntaxError: invalid syntax
*** Error compiling '/home/frappe/frappe-bench/apps/erpnext/erpnext/stock/doctype/pick_list/test_pick_list.py'...
File "/home/frappe/frappe-bench/apps/erpnext/erpnext/stock/doctype/pick_list/test_pick_list.py", line 419
self.assertEqual(b.get(key), value, msg=f"{key} doesn't match")
^
SyntaxError: invalid syntax
*** Error compiling '/home/frappe/frappe-bench/apps/erpnext/erpnext/stock/doctype/repost_item_valuation/test_repost_item_valuati on.py'...
File "/home/frappe/frappe-bench/apps/erpnext/erpnext/stock/doctype/repost_item_valuation/test_repost_item_valuation.py", line 57
msg=f"Exepcted true from : {case}",
^
SyntaxError: invalid syntax
*** Error compiling '/home/frappe/frappe-bench/apps/erpnext/erpnext/stock/doctype/serial_no/test_serial_no.py'...
File "/home/frappe/frappe-bench/apps/erpnext/erpnext/stock/doctype/serial_no/test_serial_no.py", line 307
msg=f"{partial_fetch} should be subset of {first_fetch}",
^
SyntaxError: invalid syntax
*** Error compiling '/home/frappe/frappe-bench/apps/erpnext/erpnext/stock/doctype/stock_entry/stock_entry_utils.py'...
File "/home/frappe/frappe-bench/apps/erpnext/erpnext/stock/doctype/stock_entry/stock_entry_utils.py", line 34
) -> "StockEntry":
^
SyntaxError: invalid syntax
*** Error compiling '/home/frappe/frappe-bench/apps/erpnext/erpnext/stock/doctype/stock_ledger_entry/test_stock_ledger_entry.py' ...
File "/home/frappe/frappe-bench/apps/erpnext/erpnext/stock/doctype/stock_ledger_entry/test_stock_ledger_entry.py", line 68
self.assertEqual(v, act_value, msg=f"{k} doesn't match \n{exp_sle}\n{act_sle}")
^
SyntaxError: invalid syntax
*** Error compiling '/home/frappe/frappe-bench/apps/erpnext/erpnext/stock/doctype/stock_reconciliation/stock_reconciliation.py'. ..
File "/home/frappe/frappe-bench/apps/erpnext/erpnext/stock/doctype/stock_reconciliation/stock_reconciliation.py", line 622
f"""
select
i.name as item_code, i.item_name, bin.warehouse as warehouse, i.has_serial_no, i.has_batch_no
from
tabBin bin, tabItem i
where
i.name = bin.item_code
and IFNULL(i.disabled, 0) = 0
and i.is_stock_item = 1
and i.has_variants = 0
and exists(
select name from `tabWarehouse` where lft >= {lft} and rgt <= {rgt} and name = bin.warehouse
)
""",
^
SyntaxError: invalid syntax
*** Error compiling '/home/frappe/frappe-bench/apps/erpnext/erpnext/stock/doctype/warehouse/test_warehouse.py'...
File "/home/frappe/frappe-bench/apps/erpnext/erpnext/stock/doctype/warehouse/test_warehouse.py", line 54
warehouse_names = [f"_Test Warehouse {i} for Unlinking" for i in range(2)]
^
SyntaxError: invalid syntax
*** Error compiling '/home/frappe/frappe-bench/apps/erpnext/erpnext/stock/report/itemwise_recommended_reorder_level/itemwise_rec ommended_reorder_level.py'...
File "/home/frappe/frappe-bench/apps/erpnext/erpnext/stock/report/itemwise_recommended_reorder_level/itemwise_recommended_reor der_level.py", line 102
", ".join(f"'{p}'" for p in purpose_to_exclude)
^
SyntaxError: invalid syntax
*** Error compiling '/home/frappe/frappe-bench/apps/erpnext/erpnext/stock/report/stock_ageing/stock_ageing.py'...
File "/home/frappe/frappe-bench/apps/erpnext/erpnext/stock/report/stock_ageing/stock_ageing.py", line 195
f"0 - {filters['range1']}",
^
SyntaxError: invalid syntax
*** Error compiling '/home/frappe/frappe-bench/apps/erpnext/erpnext/stock/report/test_reports.py'...
File "/home/frappe/frappe-bench/apps/erpnext/erpnext/stock/report/test_reports.py", line 13
REPORT_FILTER_TEST_CASES: List[Tuple[ReportName, ReportFilters]] = [
^
SyntaxError: invalid syntax
*** Error compiling '/home/frappe/frappe-bench/apps/erpnext/erpnext/stock/stock_ledger.py'...
File "/home/frappe/frappe-bench/apps/erpnext/erpnext/stock/stock_ledger.py", line 143
vouchers.append(f"{voucher_type} {voucher_no}")
^
SyntaxError: invalid syntax
*** Error compiling '/home/frappe/frappe-bench/apps/erpnext/erpnext/stock/tests/test_utils.py'...
File "/home/frappe/frappe-bench/apps/erpnext/erpnext/stock/tests/test_utils.py", line 36
self.assertEqual(v, act_value, msg=f"{k} doesn't match \n{exp_sle}\n{act_sle}")
^
SyntaxError: invalid syntax
*** Error compiling '/home/frappe/frappe-bench/apps/erpnext/erpnext/telephony/doctype/call_log/call_log.py'...
File "/home/frappe/frappe-bench/apps/erpnext/erpnext/telephony/doctype/call_log/call_log.py", line 87
text=f"""
Scheduled Employees: {scheduled_employees}
Matching Employee: {employee_emails}
Show Popup To: {emails}
"""
^
SyntaxError: invalid syntax
*** Error compiling '/home/frappe/frappe-bench/apps/erpnext/erpnext/templates/pages/product_search.py'...
File "/home/frappe/frappe-bench/apps/erpnext/erpnext/templates/pages/product_search.py", line 103
query_string += f"|('{clean_up_query(s.string)}')"
^
SyntaxError: invalid syntax
*** Error compiling '/home/frappe/frappe-bench/apps/erpnext/erpnext/tests/test_exotel.py'...
File "/home/frappe/frappe-bench/apps/erpnext/erpnext/tests/test_exotel.py", line 59
f"/api/method/erpnext.erpnext_integrations.exotel_integration.{api_method}",
^
SyntaxError: invalid syntax
*** Error compiling '/home/frappe/frappe-bench/apps/erpnext/erpnext/www/shop-by-category/index.py'...
File "/home/frappe/frappe-bench/apps/erpnext/erpnext/www/shop-by-category/index.py", line 28
values[f"slide_{index}_image"] = slide.image
^
SyntaxError: invalid syntax
*** Error compiling '/home/frappe/frappe-bench/apps/frappe/.github/helper/roulette.py'...
File "/home/frappe/frappe-bench/apps/frappe/.github/helper/roulette.py", line 11
api_url = f"https://api.github.com/repos/{repo}/pulls/{pr_number}"
^
SyntaxError: invalid syntax
*** Error compiling '/home/frappe/frappe-bench/apps/frappe/.github/helper/translation.py'...
File "/home/frappe/frappe-bench/apps/frappe/.github/helper/translation.py", line 17
print(f'Checking: {_file}')
^
SyntaxError: invalid syntax
*** Error compiling '/home/frappe/frappe-bench/apps/frappe/frappe/__init__.py'...
File "/home/frappe/frappe-bench/apps/frappe/frappe/__init__.py", line 175
db: typing.Union[MariaDBDatabase, PostgresDatabase]
^
SyntaxError: invalid syntax
*** Error compiling '/home/frappe/frappe-bench/apps/frappe/frappe/build.py'...
File "/home/frappe/frappe-bench/apps/frappe/frappe/build.py", line 82
url = f"https://github.com/frappe/frappe/releases/download/{tag}/assets.tar.gz"
^
SyntaxError: invalid syntax
*** Error compiling '/home/frappe/frappe-bench/apps/frappe/frappe/commands/__init__.py'...
File "/home/frappe/frappe-bench/apps/frappe/frappe/commands/__init__.py", line 37
click.secho(f"Site {site} does not exist!", fg="yellow")
^
SyntaxError: invalid syntax
*** Error compiling '/home/frappe/frappe-bench/apps/frappe/frappe/commands/scheduler.py'...
File "/home/frappe/frappe-bench/apps/frappe/frappe/commands/scheduler.py", line 43
click.secho(f"Event {event} does not exist!", fg="red")
^
SyntaxError: invalid syntax
*** Error compiling '/home/frappe/frappe-bench/apps/frappe/frappe/commands/site.py'...
File "/home/frappe/frappe-bench/apps/frappe/frappe/commands/site.py", line 326
site_title = click.style(f"{site}", fg="green") if len(context.sites) > 1 else ""
^
SyntaxError: invalid syntax
*** Error compiling '/home/frappe/frappe-bench/apps/frappe/frappe/commands/utils.py'...
File "/home/frappe/frappe-bench/apps/frappe/frappe/commands/utils.py", line 147
prefix = f"{prefix}." if prefix else ""
^
SyntaxError: invalid syntax
*** Error compiling '/home/frappe/frappe-bench/apps/frappe/frappe/core/doctype/communication/communication.py'...
File "/home/frappe/frappe-bench/apps/frappe/frappe/core/doctype/communication/communication.py", line 173
self.content = f'{self.content}</p><br><p class="signature">{signature}'
^
SyntaxError: invalid syntax
*** Error compiling '/home/frappe/frappe-bench/apps/frappe/frappe/core/doctype/communication/email.py'...
File "/home/frappe/frappe-bench/apps/frappe/frappe/core/doctype/communication/email.py", line 54
**kwargs,
^
SyntaxError: invalid syntax
*** Error compiling '/home/frappe/frappe-bench/apps/frappe/frappe/core/doctype/data_import/importer.py'...
File "/home/frappe/frappe-bench/apps/frappe/frappe/core/doctype/data_import/importer.py", line 1067
f"{label} ({df.fieldname})",
^
SyntaxError: invalid syntax
*** Error compiling '/home/frappe/frappe-bench/apps/frappe/frappe/core/doctype/file/test_file.py'...
File "/home/frappe/frappe-bench/apps/frappe/frappe/core/doctype/file/test_file.py", line 419
test_file: File = frappe.get_doc(
^
SyntaxError: invalid syntax
*** Error compiling '/home/frappe/frappe-bench/apps/frappe/frappe/core/doctype/page/page.py'...
File "/home/frappe/frappe-bench/apps/frappe/frappe/core/doctype/page/page.py", line 129
self.script += f"\n\n//# sourceURL={page_name}.js"
^
SyntaxError: invalid syntax
*** Error compiling '/home/frappe/frappe-bench/apps/frappe/frappe/core/doctype/scheduled_job_type/scheduled_job_type.py'...
File "/home/frappe/frappe-bench/apps/frappe/frappe/core/doctype/scheduled_job_type/scheduled_job_type.py", line 94
frappe.logger("scheduler").info(f"Scheduled Job {status}: {self.method} for {frappe.local.site}")
^
SyntaxError: invalid syntax
*** Error compiling '/home/frappe/frappe-bench/apps/frappe/frappe/core/doctype/server_script/server_script.py'...
File "/home/frappe/frappe-bench/apps/frappe/frappe/core/doctype/server_script/server_script.py", line 138
fullkey = f"{key}.{subkey}"
^
SyntaxError: invalid syntax
*** Error compiling '/home/frappe/frappe-bench/apps/frappe/frappe/core/doctype/server_script/test_server_script.py'...
File "/home/frappe/frappe-bench/apps/frappe/frappe/core/doctype/server_script/test_server_script.py", line 168
script=f"""
frappe.db.set_value("ToDo", "{todo.name}", "description", "safe")
""",
^
SyntaxError: invalid syntax
*** Error compiling '/home/frappe/frappe-bench/apps/frappe/frappe/core/doctype/user/test_user.py'...
File "/home/frappe/frappe-bench/apps/frappe/frappe/core/doctype/user/test_user.py", line 279
key = f"rl:{data['cmd']}:{data['user']}"
^
SyntaxError: invalid syntax
*** Error compiling '/home/frappe/frappe-bench/apps/frappe/frappe/custom/doctype/client_script/client_script.py'...
File "/home/frappe/frappe-bench/apps/frappe/frappe/custom/doctype/client_script/client_script.py", line 12
self.name = f"{self.dt}-{self.view}"
^
SyntaxError: invalid syntax
*** Error compiling '/home/frappe/frappe-bench/apps/frappe/frappe/database/database.py'...
File "/home/frappe/frappe-bench/apps/frappe/frappe/database/database.py", line 52
MAX_WRITES_PER_TRANSACTION = 200_000
^
SyntaxError: invalid syntax
*** Error compiling '/home/frappe/frappe-bench/apps/frappe/frappe/database/mariadb/database.py'...
File "/home/frappe/frappe-bench/apps/frappe/frappe/database/mariadb/database.py", line 138
return self.sql(f"RENAME TABLE `{old_name}` TO `{new_name}`")
^
SyntaxError: invalid syntax
*** Error compiling '/home/frappe/frappe-bench/apps/frappe/frappe/database/postgres/database.py'...
File "/home/frappe/frappe-bench/apps/frappe/frappe/database/postgres/database.py", line 203
return self.sql(f"ALTER TABLE `{old_name}` RENAME TO `{new_name}`")
^
SyntaxError: invalid syntax
*** Error compiling '/home/frappe/frappe-bench/apps/frappe/frappe/database/postgres/setup_db.py'...
File "/home/frappe/frappe-bench/apps/frappe/frappe/database/postgres/setup_db.py", line 57
f"psql {frappe.conf.db_name} "
^
SyntaxError: invalid syntax
*** Error compiling '/home/frappe/frappe-bench/apps/frappe/frappe/desk/form/meta.py'...
File "/home/frappe/frappe-bench/apps/frappe/frappe/desk/form/meta.py", line 139
comment = f"\n\n/* Adding {path} */\n\n"
^
SyntaxError: invalid syntax
*** Error compiling '/home/frappe/frappe-bench/apps/frappe/frappe/desk/query_report.py'...
File "/home/frappe/frappe-bench/apps/frappe/frappe/desk/query_report.py", line 196
script += f"\n\n//# sourceURL={scrub(report.name)}.js"
^
SyntaxError: invalid syntax
*** Error compiling '/home/frappe/frappe-bench/apps/frappe/frappe/desk/reportview.py'...
File "/home/frappe/frappe-bench/apps/frappe/frappe/desk/reportview.py", line 61
args.fields = [f"count({distinct}`tab{args.doctype}`.name) as total_count"]
^
SyntaxError: invalid syntax
*** Error compiling '/home/frappe/frappe-bench/apps/frappe/frappe/desk/search.py'...
File "/home/frappe/frappe-bench/apps/frappe/frappe/desk/search.py", line 237
if re.search(f"{re.escape(txt)}.*", _(v.name if as_dict else v[0]), re.IGNORECASE)
^
SyntaxError: invalid syntax
*** Error compiling '/home/frappe/frappe-bench/apps/frappe/frappe/email/doctype/newsletter/newsletter.py'...
File "/home/frappe/frappe-bench/apps/frappe/frappe/email/doctype/newsletter/newsletter.py", line 23
self.route = f"newsletters/{self.name}"
^
SyntaxError: invalid syntax
*** Error compiling '/home/frappe/frappe-bench/apps/frappe/frappe/email/doctype/newsletter/test_newsletter.py'...
File "/home/frappe/frappe-bench/apps/frappe/frappe/email/doctype/newsletter/test_newsletter.py", line 39
return f"{module}.{klass.__qualname__}"
^
SyntaxError: invalid syntax
*** Error compiling '/home/frappe/frappe-bench/apps/frappe/frappe/email/queue.py'...
File "/home/frappe/frappe-bench/apps/frappe/frappe/email/queue.py", line 335
unsubscribe_link = f'<a href="<!--unsubscribe_url-->" target="_blank">{unsubscribe_message}</a>'
^
SyntaxError: invalid syntax
*** Error compiling '/home/frappe/frappe-bench/apps/frappe/frappe/event_streaming/doctype/event_consumer/event_consumer.py'...
File "/home/frappe/frappe-bench/apps/frappe/frappe/event_streaming/doctype/event_consumer/event_consumer.py", line 210
condition: str = dt_entry.condition
^
SyntaxError: invalid syntax
*** Error compiling '/home/frappe/frappe-bench/apps/frappe/frappe/installer.py'...
File "/home/frappe/frappe-bench/apps/frappe/frappe/installer.py", line 241
click.secho(f"App {app_name} not installed on Site {site}", fg="yellow")
^
SyntaxError: invalid syntax
*** Error compiling '/home/frappe/frappe-bench/apps/frappe/frappe/integrations/doctype/ldap_settings/ldap_settings.py'...
File "/home/frappe/frappe-bench/apps/frappe/frappe/integrations/doctype/ldap_settings/ldap_settings.py", line 172
user: "User" = None
^
SyntaxError: invalid syntax
*** Error compiling '/home/frappe/frappe-bench/apps/frappe/frappe/integrations/doctype/ldap_settings/test_ldap_settings.py'...
File "/home/frappe/frappe-bench/apps/frappe/frappe/integrations/doctype/ldap_settings/test_ldap_settings.py", line 96
cls.ldap_user_path = f"ou=users,{cls.ldap_dc_path}"
^
SyntaxError: invalid syntax
*** Error compiling '/home/frappe/frappe-bench/apps/frappe/frappe/integrations/oauth2.py'...
File "/home/frappe/frappe-bench/apps/frappe/frappe/integrations/oauth2.py", line 184
"authorization_endpoint": f"{frappe_server_url}/api/method/frappe.integrations.oauth2.authorize",
^
SyntaxError: invalid syntax
*** Error compiling '/home/frappe/frappe-bench/apps/frappe/frappe/model/base_document.py'...
File "/home/frappe/frappe-bench/apps/frappe/frappe/model/base_document.py", line 514
f"""
SHOW
INDEX
FROM
`tab{self.doctype}`
WHERE
key_name=%s
AND
Non_unique=0
""",
^
SyntaxError: invalid syntax
*** Error compiling '/home/frappe/frappe-bench/apps/frappe/frappe/model/db_query.py'...
File "/home/frappe/frappe-bench/apps/frappe/frappe/model/db_query.py", line 351
if any(f"({keyword}" in field.lower() for keyword in blacklisted_keywords):
^
SyntaxError: invalid syntax
*** Error compiling '/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py'...
File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 1532
docstatus = f" docstatus={self.docstatus}" if self.docstatus else ""
^
SyntaxError: invalid syntax
*** Error compiling '/home/frappe/frappe-bench/apps/frappe/frappe/model/rename_doc.py'...
File "/home/frappe/frappe-bench/apps/frappe/frappe/model/rename_doc.py", line 576
frappe.db.sql(f"update `tab{doctype}` set parenttype=%s where parenttype=%s", (new, old))
^
SyntaxError: invalid syntax
*** Error compiling '/home/frappe/frappe-bench/apps/frappe/frappe/modules/export_file.py'...
File "/home/frappe/frappe-bench/apps/frappe/frappe/modules/export_file.py", line 50
with open(os.path.join(folder, f"{fname}.json"), "w+") as txtfile:
^
SyntaxError: invalid syntax
*** Error compiling '/home/frappe/frappe-bench/apps/frappe/frappe/oauth.py'...
File "/home/frappe/frappe-bench/apps/frappe/frappe/oauth.py", line 619
request_url = f"{request_url.scheme}://{request_url.netloc}"
^
SyntaxError: invalid syntax
*** Error compiling '/home/frappe/frappe-bench/apps/frappe/frappe/parallel_test_runner.py'...
File "/home/frappe/frappe-bench/apps/frappe/frappe/parallel_test_runner.py", line 46
test_module = frappe.get_module(f"{self.app}.tests")
^
SyntaxError: invalid syntax
*** Error compiling '/home/frappe/frappe-bench/apps/frappe/frappe/patches/v13_0/queryreport_columns.py'...
File "/home/frappe/frappe-bench/apps/frappe/frappe/patches/v13_0/queryreport_columns.py", line 19
jstr = f'{{"columns":{jstr}}}'
^
SyntaxError: invalid syntax
*** Error compiling '/home/frappe/frappe-bench/apps/frappe/frappe/printing/doctype/letter_head/letter_head.py'...
File "/home/frappe/frappe-bench/apps/frappe/frappe/printing/doctype/letter_head/letter_head.py", line 67
dimension_value = self.get(f"{dimension_prefix}{dimension}")
^
SyntaxError: invalid syntax
*** Error compiling '/home/frappe/frappe-bench/apps/frappe/frappe/query_builder/custom.py'...
File "/home/frappe/frappe-bench/apps/frappe/frappe/query_builder/custom.py", line 47
return f"{s} AGAINST ({frappe.db.escape(f'+{self._Against}*')} IN BOOLEAN MODE)"
^
SyntaxError: invalid syntax
*** Error compiling '/home/frappe/frappe-bench/apps/frappe/frappe/query_builder/terms.py'...
File "/home/frappe/frappe-bench/apps/frappe/frappe/query_builder/terms.py", line 25
param_key = f"%(param{len(self.parameters) + 1})s"
^
SyntaxError: invalid syntax
*** Error compiling '/home/frappe/frappe-bench/apps/frappe/frappe/rate_limiter.py'...
File "/home/frappe/frappe-bench/apps/frappe/frappe/rate_limiter.py", line 44
self.key = frappe.cache().make_key(f"rate-limit-counter-{self.window_number}")
^
SyntaxError: invalid syntax
*** Error compiling '/home/frappe/frappe-bench/apps/frappe/frappe/tests/test_api.py'...
File "/home/frappe/frappe-bench/apps/frappe/frappe/tests/test_api.py", line 33
RESOURCE_URL = f"{SITE_URL}/api/resource"
^
SyntaxError: invalid syntax
*** Error compiling '/home/frappe/frappe-bench/apps/frappe/frappe/tests/test_commands.py'...
File "/home/frappe/frappe-bench/apps/frappe/frappe/tests/test_commands.py", line 264
site_data = {"another_site": f"{frappe.local.site}-restore.test", **global_config}
^
SyntaxError: invalid syntax
*** Error compiling '/home/frappe/frappe-bench/apps/frappe/frappe/tests/test_db.py'...
File "/home/frappe/frappe-bench/apps/frappe/frappe/tests/test_db.py", line 83
"fieldname": f"test_{fieldtype.lower()}",
^
SyntaxError: invalid syntax
*** Error compiling '/home/frappe/frappe-bench/apps/frappe/frappe/tests/test_document.py'...
File "/home/frappe/frappe-bench/apps/frappe/frappe/tests/test_document.py", line 318
url = f"/ToDo/{todo.name}?key={old_document_key}"
^
SyntaxError: invalid syntax
*** Error compiling '/home/frappe/frappe-bench/apps/frappe/frappe/tests/test_naming.py'...
File "/home/frappe/frappe-bench/apps/frappe/frappe/tests/test_naming.py", line 133
self.assertEqual(doc.name, f"TestAutoname-{field}-{series:02}")
^
SyntaxError: invalid syntax
*** Error compiling '/home/frappe/frappe-bench/apps/frappe/frappe/tests/test_query_builder.py'...
File "/home/frappe/frappe-bench/apps/frappe/frappe/tests/test_query_builder.py", line 12
return unittest.skipIf(db_type_is(frappe.conf.db_type) != dbtype, f"Only runs for {dbtype.value}")
^
SyntaxError: invalid syntax
*** Error compiling '/home/frappe/frappe-bench/apps/frappe/frappe/tests/test_rename_doc.py'...
File "/home/frappe/frappe-bench/apps/frappe/frappe/tests/test_rename_doc.py", line 63
frappe.db.sql_ddl(f"DROP TABLE IF EXISTS `tab{dt}`")
^
SyntaxError: invalid syntax
*** Error compiling '/home/frappe/frappe-bench/apps/frappe/frappe/tests/test_translate.py'...
File "/home/frappe/frappe-bench/apps/frappe/frappe/tests/test_translate.py", line 49
msg=f"Mismatched output:\nExpected: {expected_output}\nFound: {data}",
^
SyntaxError: invalid syntax
*** Error compiling '/home/frappe/frappe-bench/apps/frappe/frappe/tests/test_utils.py'...
File "/home/frappe/frappe-bench/apps/frappe/frappe/tests/test_utils.py", line 327
self.fail(f"Invalid error thrown for valid expression: {expr}: {str(e)}")
^
SyntaxError: invalid syntax
*** Error compiling '/home/frappe/frappe-bench/apps/frappe/frappe/translate.py'...
File "/home/frappe/frappe-bench/apps/frappe/frappe/translate.py", line 36
click.secho(f"{guess_language.__doc__}\n{get_language.__doc__}", fg="yellow")
^
SyntaxError: invalid syntax
*** Error compiling '/home/frappe/frappe-bench/apps/frappe/frappe/utils/__init__.py'...
File "/home/frappe/frappe-bench/apps/frappe/frappe/utils/__init__.py", line 967
return f"tab{table_name}" if not table_name.startswith("__") else table_name
^
SyntaxError: invalid syntax
*** Error compiling '/home/frappe/frappe-bench/apps/frappe/frappe/utils/backups.py'...
File "/home/frappe/frappe-bench/apps/frappe/frappe/utils/backups.py", line 209
for_conf = f"{self.todays_date}-{self.site_slug}-site_config_backup.json"
^
SyntaxError: invalid syntax
*** Error compiling '/home/frappe/frappe-bench/apps/frappe/frappe/utils/change_log.py'...
File "/home/frappe/frappe-bench/apps/frappe/frappe/utils/change_log.py", line 265
r = requests.get(f"https://api.github.com/repos/{owner}/{repo}/releases")
^
SyntaxError: invalid syntax
*** Error compiling '/home/frappe/frappe-bench/apps/frappe/frappe/utils/commands.py'...
File "/home/frappe/frappe-bench/apps/frappe/frappe/utils/commands.py", line 12
f"https://api.github.com/users/{org}/repos", {"type": "sources", "per_page": 200}
^
SyntaxError: invalid syntax
*** Error compiling '/home/frappe/frappe-bench/apps/frappe/frappe/utils/data.py'...
File "/home/frappe/frappe-bench/apps/frappe/frappe/utils/data.py", line 1956
msg += f"<br><pre>{error_line}</pre>"
^
SyntaxError: invalid syntax
*** Error compiling '/home/frappe/frappe-bench/apps/frappe/frappe/utils/jinja.py'...
File "/home/frappe/frappe-bench/apps/frappe/frappe/utils/jinja.py", line 252
path = f"/assets/css-rtl/{file_name}"
^
SyntaxError: invalid syntax
*** Error compiling '/home/frappe/frappe-bench/apps/frappe/frappe/utils/lazy_loader.py'...
File "/home/frappe/frappe-bench/apps/frappe/frappe/utils/lazy_loader.py", line 28
raise ImportError(f"Module {name} Not found.")
^
SyntaxError: invalid syntax
*** Error compiling '/home/frappe/frappe-bench/apps/frappe/frappe/utils/logger.py'...
File "/home/frappe/frappe-bench/apps/frappe/frappe/utils/logger.py", line 20
module=None, with_more_info=False, allow_site=True, filter=None, max_size=100_000, file_count=20
^
SyntaxError: invalid syntax
*** Error compiling '/home/frappe/frappe-bench/apps/frappe/frappe/utils/response.py'...
File "/home/frappe/frappe-bench/apps/frappe/frappe/utils/response.py", line 96
f'{frappe.response.get("display_content_as","attachment")}; filename="{frappe.response["filename"].replace(" ", "_")}"'
^
SyntaxError: invalid syntax
*** Error compiling '/home/frappe/frappe-bench/apps/frappe/frappe/utils/safe_exec.py'...
File "/home/frappe/frappe-bench/apps/frappe/frappe/utils/safe_exec.py", line 36
raise AttributeError(f"module has no attribute '{key}'")
^
SyntaxError: invalid syntax
*** Error compiling '/home/frappe/frappe-bench/apps/frappe/frappe/website/doctype/personal_data_deletion_request/personal_data_d eletion_request.py'...
File "/home/frappe/frappe-bench/apps/frappe/frappe/website/doctype/personal_data_deletion_request/personal_data_deletion_reque st.py", line 45
site = domain if pattern.match(domain) else f"{domain}.com"
^
SyntaxError: invalid syntax
*** Error compiling '/home/frappe/frappe-bench/apps/frappe/frappe/website/doctype/website_settings/website_settings.py'...
File "/home/frappe/frappe-bench/apps/frappe/frappe/website/doctype/website_settings/website_settings.py", line 142
settings: "WebsiteSettings" = frappe.get_single("Website Settings")
^
SyntaxError: invalid syntax
*** Error compiling '/home/frappe/frappe-bench/apps/frappe/frappe/workflow/doctype/workflow_action/workflow_action.py'...
File "/home/frappe/frappe-bench/apps/frappe/frappe/workflow/doctype/workflow_action/workflow_action.py", line 351
subject = _("Workflow Action") + f" on {doctype}: {docname}"
^
SyntaxError: invalid syntax