chore(deps): update pyleak version and activate pyleak_marker in tests (#8905)
* chore: update pyleak dependency to version 0.1.14 in pyproject.toml and uv.lock * fix(tests): enable pyleak marker in test files to address memory leak issues
This commit is contained in:
parent
b6e3df6b89
commit
7ec3cb063d
4 changed files with 6 additions and 10 deletions
|
|
@ -3,11 +3,9 @@ from langflow.components.processing.parse_json_data import ParseJSONDataComponen
|
|||
from langflow.schema import Data
|
||||
|
||||
from tests.integration.components.mock_components import TextToData
|
||||
from tests.integration.utils import ComponentInputHandle, run_single_component
|
||||
from tests.integration.utils import ComponentInputHandle, pyleak_marker, run_single_component
|
||||
|
||||
# TODO: Fix pyleak issue
|
||||
# https://github.com/langflow-ai/langflow/actions/runs/16013103799/job/45208685212
|
||||
# pytestmark = pyleak_marker()
|
||||
pytestmark = pyleak_marker()
|
||||
|
||||
|
||||
async def test_from_data():
|
||||
|
|
|
|||
|
|
@ -3,12 +3,10 @@ from langflow.components.processing import PromptComponent
|
|||
from langflow.graph import Graph
|
||||
from langflow.schema.message import Message
|
||||
|
||||
from tests.integration.utils import run_flow
|
||||
from tests.integration.utils import pyleak_marker, run_flow
|
||||
|
||||
|
||||
# TODO: Fix pyleak issue
|
||||
# https://github.com/langflow-ai/langflow/actions/runs/16013103799/job/45208685212
|
||||
# @pyleak_marker()
|
||||
@pyleak_marker()
|
||||
async def test_simple_no_llm():
|
||||
graph = Graph()
|
||||
flow_input = graph.add_component(ChatInput())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue