🔀 chore(pyproject.toml): update the version of huggingface-hub, llama-cpp-python, sentence-transformers, and ctransformers to their latest versions
The huggingface-hub, llama-cpp-python, sentence-transformers, and ctransformers dependencies are now marked as optional in the pyproject.toml file. This allows users to choose whether or not to install these dependencies based on their specific needs. Additionally, the versions of these dependencies have been updated to their latest available versions.
117 lines
2.8 KiB
TOML
117 lines
2.8 KiB
TOML
[tool.poetry]
|
|
name = "langflow"
|
|
version = "0.2.10"
|
|
description = "A Python package with a built-in web application"
|
|
authors = ["Logspace <contact@logspace.ai>"]
|
|
maintainers = [
|
|
"Cristhian Zanforlin <cristhian.lousa@gmail.com>",
|
|
"Gabriel Almeida <gabriel@logspace.ai>",
|
|
"Gustavo Schaedler <gustavopoa@gmail.com>",
|
|
"Lucas Eduoli <lucaseduoli@gmail.com>",
|
|
"Otávio Anovazzi <otavio2204@gmail.com>",
|
|
]
|
|
repository = "https://github.com/logspace-ai/langflow"
|
|
license = "MIT"
|
|
readme = "README.md"
|
|
keywords = ["nlp", "langchain", "openai", "gpt", "gui"]
|
|
packages = [{ include = "langflow", from = "src/backend" }]
|
|
include = ["src/backend/langflow/*", "src/backend/langflow/**/*"]
|
|
|
|
|
|
[tool.poetry.scripts]
|
|
langflow = "langflow.__main__:main"
|
|
|
|
[tool.poetry.dependencies]
|
|
python = ">=3.9,<3.11"
|
|
fastapi = "^0.98.0"
|
|
uvicorn = "^0.22.0"
|
|
beautifulsoup4 = "^4.12.2"
|
|
google-search-results = "^2.4.1"
|
|
google-api-python-client = "^2.79.0"
|
|
typer = "^0.9.0"
|
|
gunicorn = "^20.1.0"
|
|
langchain = "^0.0.219"
|
|
openai = "^0.27.8"
|
|
pandas = "^2.0.0"
|
|
chromadb = "^0.3.21"
|
|
huggingface-hub = { version = "^0.15.0", optional = true }
|
|
rich = "^13.4.2"
|
|
llama-cpp-python = { version = "~0.1.0", optional = true }
|
|
networkx = "^3.1"
|
|
unstructured = "^0.7.0"
|
|
pypdf = "^3.11.0"
|
|
lxml = "^4.9.2"
|
|
pysrt = "^1.1.2"
|
|
fake-useragent = "^1.1.3"
|
|
docstring-parser = "^0.15"
|
|
psycopg2-binary = "^2.9.6"
|
|
pyarrow = "^12.0.0"
|
|
tiktoken = "~0.4.0"
|
|
wikipedia = "^1.4.0"
|
|
langchain-serve = { version = ">0.0.47", optional = true }
|
|
qdrant-client = "^1.3.0"
|
|
websockets = "^10.3"
|
|
weaviate-client = "^3.21.0"
|
|
jina = "3.15.2"
|
|
sentence-transformers = { version = "^2.2.2", optional = true }
|
|
ctransformers = { version = "^0.2.10", optional = true }
|
|
cohere = "^4.11.0"
|
|
python-multipart = "^0.0.6"
|
|
sqlmodel = "^0.0.8"
|
|
faiss-cpu = "^1.7.4"
|
|
anthropic = "^0.3.0"
|
|
orjson = "^3.9.1"
|
|
multiprocess = "^0.70.14"
|
|
cachetools = "^5.3.1"
|
|
types-cachetools = "^5.3.0.5"
|
|
appdirs = "^1.4.4"
|
|
pinecone-client = "^2.2.2"
|
|
supabase = "^1.0.3"
|
|
pymongo = "^4.4.0"
|
|
certifi = "^2023.5.7"
|
|
google-cloud-aiplatform = "^1.26.1"
|
|
psycopg = "^3.1.9"
|
|
psycopg-binary = "^3.1.9"
|
|
|
|
[tool.poetry.dev-dependencies]
|
|
black = "^23.1.0"
|
|
ipykernel = "^6.21.2"
|
|
mypy = "^1.1.1"
|
|
ruff = "^0.0.254"
|
|
httpx = "^0.23.3"
|
|
pytest = "^7.2.2"
|
|
types-requests = "^2.28.11"
|
|
requests = "^2.28.0"
|
|
pytest-cov = "^4.0.0"
|
|
pandas-stubs = "^2.0.0.230412"
|
|
types-pillow = "^9.5.0.2"
|
|
types-appdirs = "^1.4.3.5"
|
|
types-pyyaml = "^6.0.12.8"
|
|
|
|
|
|
[tool.poetry.extras]
|
|
deploy = ["langchain-serve"]
|
|
local = [
|
|
"llama-cpp-python",
|
|
"sentence-transformers",
|
|
"ctransformers",
|
|
"huggingface-hub",
|
|
]
|
|
all = ["deploy", "local"]
|
|
|
|
|
|
[tool.pytest.ini_options]
|
|
minversion = "6.0"
|
|
addopts = "-ra"
|
|
testpaths = ["tests", "integration"]
|
|
console_output_style = "progress"
|
|
filterwarnings = ["ignore::DeprecationWarning"]
|
|
log_cli = true
|
|
|
|
|
|
[tool.ruff]
|
|
line-length = 120
|
|
|
|
[build-system]
|
|
requires = ["poetry-core"]
|
|
build-backend = "poetry.core.masonry.api"
|