diff --git a/poetry.lock b/poetry.lock index bc99d20..a5c5cb7 100644 --- a/poetry.lock +++ b/poetry.lock @@ -2840,4 +2840,4 @@ cffi = ["cffi (>=1.11)"] [metadata] lock-version = "2.1" python-versions = ">=3.10,<4.0" -content-hash = "f536d920e814b92fcc10e8a335ac79e0d20b3c877afbc3b5a125cafe50c74e72" +content-hash = "41fd709c5e597a39a8bb951ffd9a0ed0d9a9ec5ed24b236cf28e42824ac98482" diff --git a/pyproject.toml b/pyproject.toml index 237c4da..d760ee1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,30 +1,30 @@ [build-system] -requires = ["poetry-core>=1.0.0"] +requires = ["poetry-core>=2.0.0"] build-backend = "poetry.core.masonry.api" -[tool.poetry] +[project] name = "langchain-apify" version = "0.1.6" description = "An integration package connecting Apify and LangChain" -authors = ["Apify Technologies s.r.o. "] +authors = [{ name = "Apify Technologies s.r.o.", email = "support@apify.com" }] readme = "README.md" -repository = "https://github.com/apify/langchain-apify" license = "Apache-2.0" +requires-python = ">=3.10,<4.0" +dependencies = [ + "langchain-core>=0.3.15,<2.0.0", + "apify-client>=2.3.0,<3.0.0", + "eval-type-backport>=0.2.2", +] -[tool.mypy] -disallow_untyped_defs = true - -[tool.poetry.urls] +[project.urls] "Apify Homepage" = "https://apify.com" +"Repository" = "https://github.com/apify/langchain-apify" "Source Code" = "https://github.com/apify/langchain-apify/tree/main/" "Release Notes" = "https://github.com/apify/langchain-apify/releases?expanded=true" "Issue Tracker" = "https://github.com/apify/langchain-apify/issues" -[tool.poetry.dependencies] -python = ">=3.10,<4.0" -langchain-core = ">=0.3.15,<2.0.0" -apify-client = "^2.3.0" -eval-type-backport = ">=0.2.2" +[tool.mypy] +disallow_untyped_defs = true [tool.ruff] line-length = 120 diff --git a/tests/unit_tests/test_tools.py b/tests/unit_tests/test_tools.py index 4593ffd..381658c 100644 --- a/tests/unit_tests/test_tools.py +++ b/tests/unit_tests/test_tools.py @@ -673,7 +673,7 @@ def test_generic_tools_have_correct_metadata() -> None: 'apify_run_task_and_get_dataset', ] - for tool, expected_name in zip(tools, expected_names): + for tool, expected_name in zip(tools, expected_names, strict=True): assert tool.name == expected_name assert tool.description assert tool.args_schema is not None