feat: Bump blockbuster version to 1.5.0 (#5292)
* Bump blockbuster version to 1.5.0 * [autofix.ci] apply automated fixes --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
This commit is contained in:
parent
201d6c7639
commit
c3f36b69a2
5 changed files with 36 additions and 9 deletions
|
|
@ -52,6 +52,9 @@ def blockbuster(request):
|
|||
"io.BufferedWriter.write",
|
||||
"io.TextIOWrapper.read",
|
||||
"io.TextIOWrapper.write",
|
||||
"os.mkdir",
|
||||
"os.stat",
|
||||
"os.path.abspath",
|
||||
]:
|
||||
bb.functions[func].can_block_functions.append(("settings/service.py", {"initialize"}))
|
||||
for func in [
|
||||
|
|
@ -59,6 +62,29 @@ def blockbuster(request):
|
|||
"io.TextIOWrapper.read",
|
||||
]:
|
||||
bb.functions[func].can_block_functions.append(("importlib_metadata/__init__.py", {"metadata"}))
|
||||
|
||||
# TODO: make set_class_code async
|
||||
bb.functions["os.stat"].can_block_functions.append(
|
||||
("langflow/custom/custom_component/component.py", {"set_class_code"})
|
||||
)
|
||||
|
||||
# TODO: follow discussion in https://github.com/encode/httpx/discussions/3456
|
||||
bb.functions["os.stat"].can_block_functions.append(("httpx/_client.py", {"_init_transport"}))
|
||||
|
||||
bb.functions["os.stat"].can_block_functions.append(("linecache.py", {"checkcache", "updatecache"}))
|
||||
bb.functions["os.stat"].can_block_functions.append(("rich/traceback.py", {"_render_stack"}))
|
||||
bb.functions["os.stat"].can_block_functions.append(
|
||||
("langchain_core/_api/internal.py", {"is_caller_internal"})
|
||||
)
|
||||
bb.functions["os.path.abspath"].can_block_functions.extend(
|
||||
[
|
||||
("loguru/_better_exceptions.py", {"_get_lib_dirs", "_format_exception"}),
|
||||
("sqlalchemy/dialects/sqlite/pysqlite.py", {"create_connect_args"}),
|
||||
("_pytest/assertion/rewrite.py", {"_should_rewrite"}),
|
||||
]
|
||||
)
|
||||
bb.functions["os.mkdir"].can_block_functions.append(("_pytest/assertion/rewrite.py", {"try_makedirs"}))
|
||||
bb.functions["os.replace"].can_block_functions.append(("_pytest/assertion/rewrite.py", {"_write_pyc"}))
|
||||
yield bb
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue