From f71cf387f02615366b3a9e289e55028d8ea95298 Mon Sep 17 00:00:00 2001 From: Chester Curme Date: Mon, 3 Feb 2025 10:49:46 -0500 Subject: [PATCH] update core --- libs/core/pyproject.toml | 96 +++++++++++++++++++++++++++++++++++++++- 1 file changed, 94 insertions(+), 2 deletions(-) diff --git a/libs/core/pyproject.toml b/libs/core/pyproject.toml index 6328c7fa87f..8fb42b4a0c8 100644 --- a/libs/core/pyproject.toml +++ b/libs/core/pyproject.toml @@ -1,6 +1,6 @@ [build-system] -requires = [ "poetry-core>=1.0.0",] -build-backend = "poetry.core.masonry.api" +requires = ["pdm-backend"] +build-backend = "pdm.backend" [tool.poetry] name = "langchain-core" @@ -148,3 +148,95 @@ develop = true [tool.poetry.group.test.dependencies.langchain-tests] path = "../standard-tests" develop = true + + +[tool.pdm.dev-dependencies] +lint = [ + "ruff<1.0.0,>=0.9.2", +] +typing = [ + "mypy<1.11,>=1.10", + "types-pyyaml<7.0.0.0,>=6.0.12.2", + "types-requests<3.0.0.0,>=2.28.11.5", + "types-jinja2<3.0.0,>=2.11.9", +] +dev = [ + "jupyter<2.0.0,>=1.0.0", + "setuptools<68.0.0,>=67.6.1", + "grandalf<1.0,>=0.8", +] +test = [ + "pytest<9,>=8", + "freezegun<2.0.0,>=1.2.2", + "pytest-mock<4.0.0,>=3.10.0", + "syrupy<5.0.0,>=4.0.2", + "pytest-watcher<1.0.0,>=0.3.4", + "pytest-asyncio<1.0.0,>=0.21.1", + "grandalf<1.0,>=0.8", + "responses<1.0.0,>=0.25.0", + "pytest-socket<1.0.0,>=0.7.0", + "pytest-xdist<4.0.0,>=3.6.1", + "blockbuster~=1.5.11", + "numpy<2.0.0,>=1.24.0; python_version < \"3.12\"", + "numpy<3,>=1.26.0; python_version >= \"3.12\"", +] +test_integration = [] + +[tool.pdm.build] +includes = [] + +[project] +authors = [] +license = {text = "MIT"} +requires-python = "<4.0,>=3.9" +dependencies = [ + "langsmith<0.4,>=0.1.125", + "tenacity!=8.4.0,<10.0.0,>=8.1.0", + "jsonpatch<2.0,>=1.33", + "PyYAML>=5.3", + "packaging<25,>=23.2", + "typing-extensions>=4.7", + "pydantic<3.0.0,>=2.5.2; python_full_version < \"3.12.4\"", + "pydantic<3.0.0,>=2.7.4; python_full_version >= \"3.12.4\"", +] +name = "langchain-core" +version = "0.3.33" +description = "Building applications with LLMs through composability" +readme = "README.md" + +[project.urls] +"Source Code" = "https://github.com/langchain-ai/langchain/tree/master/libs/core" +"Release Notes" = "https://github.com/langchain-ai/langchain/releases?q=tag%3A%22langchain-core%3D%3D0%22&expanded=true" +repository = "https://github.com/langchain-ai/langchain" + +[dependency-groups] +lint = [ + "ruff<1.0.0,>=0.9.2", +] +typing = [ + "mypy<1.11,>=1.10", + "types-pyyaml<7.0.0.0,>=6.0.12.2", + "types-requests<3.0.0.0,>=2.28.11.5", + "types-jinja2<3.0.0,>=2.11.9", +] +dev = [ + "jupyter<2.0.0,>=1.0.0", + "setuptools<68.0.0,>=67.6.1", + "grandalf<1.0,>=0.8", +] +test = [ + "pytest<9,>=8", + "freezegun<2.0.0,>=1.2.2", + "pytest-mock<4.0.0,>=3.10.0", + "syrupy<5.0.0,>=4.0.2", + "pytest-watcher<1.0.0,>=0.3.4", + "pytest-asyncio<1.0.0,>=0.21.1", + "grandalf<1.0,>=0.8", + "responses<1.0.0,>=0.25.0", + "pytest-socket<1.0.0,>=0.7.0", + "pytest-xdist<4.0.0,>=3.6.1", + "blockbuster~=1.5.11", + "numpy<2.0.0,>=1.24.0; python_version < \"3.12\"", + "numpy<3,>=1.26.0; python_version >= \"3.12\"", +] +test_integration = []