cli pyproject updating (#12945)

`langchain app add` and `langchain app remove` will now keep the
dependencies list updated.

---------

Co-authored-by: Nuno Campos <nuno@boringbits.io>
This commit is contained in:
Erick Friis
2023-11-07 11:06:08 -08:00
committed by GitHub
parent d9abcf1aae
commit 74134dd7e1
8 changed files with 347 additions and 177 deletions

View File

@@ -1,5 +1,5 @@
[tool.poetry]
name = "langservehub-template"
name = "__app_name__"
version = "0.1.0"
description = ""
authors = ["Your Name <you@example.com>"]
@@ -7,16 +7,12 @@ readme = "README.md"
[tool.poetry.dependencies]
python = "^3.11"
sse-starlette = "^1.6.5"
tomli-w = "^1.0.0"
uvicorn = "^0.23.2"
fastapi = "^0.103.2"
langserve = ">=0.0.16"
langserve = {extras = ["server"], version = ">=0.0.22"}
[tool.poetry.group.dev.dependencies]
uvicorn = "^0.23.2"
pygithub = "^2.1.1"
langchain-cli = ">=0.0.15"
[build-system]
requires = ["poetry-core"]