mirror of
https://github.com/langgenius/dify.git
synced 2026-05-31 22:26:19 +08:00
Updates the requirements on [weaviate-client](https://github.com/weaviate/weaviate-python-client), [alibabacloud-gpdb20160503](https://github.com/aliyun/alibabacloud-python-sdk), [chromadb](https://github.com/chroma-core/chroma), [clickhouse-connect](https://github.com/ClickHouse/clickhouse-connect), [couchbase](https://github.com/couchbase/couchbase-python-client), [elasticsearch](https://github.com/elastic/elasticsearch-py), [opensearch-py](https://github.com/opensearch-project/opensearch-py), [oracledb](https://github.com/oracle/python-oracledb), [pgvecto-rs[sqlalchemy]](https://github.com/tensorchord/pgvecto.rs), [pymilvus](https://github.com/milvus-io/pymilvus), [pymochow](http://bce.baidu.com), [pyobvector](https://github.com/oceanbase/pyobvector), [qdrant-client](https://github.com/qdrant/qdrant-client), [intersystems-irispython](https://www.intersystems.com/), [tablestore](https://github.com/aliyun/aliyun-tablestore-python-sdk), tcvectordb, [xinference-client](https://github.com/xorbitsai/inference-client) and [mysql-connector-python](https://github.com/mysql/mysql-connector-python) to permit the latest version. Updates `weaviate-client` from 4.20.5 to 4.21.0 - [Release notes](https://github.com/weaviate/weaviate-python-client/releases) - [Changelog](https://github.com/weaviate/weaviate-python-client/blob/main/docs/changelog.rst) - [Commits](https://github.com/weaviate/weaviate-python-client/compare/v4.20.5...v4.21.0) Updates `alibabacloud-gpdb20160503` from 5.1.0 to 5.3.0 - [Changelog](https://github.com/aliyun/alibabacloud-python-sdk/blob/master/docmind-api-20220711/ChangeLog.md) - [Commits](https://github.com/aliyun/alibabacloud-python-sdk/commits) Updates `chromadb` from 0.5.20 to 1.5.9 - [Release notes](https://github.com/chroma-core/chroma/releases) - [Changelog](https://github.com/chroma-core/chroma/blob/main/RELEASE_PROCESS.md) - [Commits](https://github.com/chroma-core/chroma/compare/0.5.20...1.5.9) Updates `clickhouse-connect` from 0.14.1 to 1.0.1 - [Release notes](https://github.com/ClickHouse/clickhouse-connect/releases) - [Changelog](https://github.com/ClickHouse/clickhouse-connect/blob/main/CHANGELOG.md) - [Commits](https://github.com/ClickHouse/clickhouse-connect/compare/v0.14.1...v1.0.1) Updates `couchbase` from 4.5.0 to 4.6.1 - [Commits](https://github.com/couchbase/couchbase-python-client/compare/4.5.0...4.6.1) Updates `elasticsearch` from 8.14.0 to 9.4.0 - [Release notes](https://github.com/elastic/elasticsearch-py/releases) - [Commits](https://github.com/elastic/elasticsearch-py/compare/v8.14.0...v9.4.0) Updates `opensearch-py` from 3.1.0 to 3.2.0 - [Release notes](https://github.com/opensearch-project/opensearch-py/releases) - [Changelog](https://github.com/opensearch-project/opensearch-py/blob/main/CHANGELOG.md) - [Commits](https://github.com/opensearch-project/opensearch-py/compare/v3.1.0...v3.2.0) Updates `oracledb` from 3.4.2 to 4.0.1 - [Release notes](https://github.com/oracle/python-oracledb/releases) - [Commits](https://github.com/oracle/python-oracledb/compare/v3.4.2...v4.0.1) Updates `pgvecto-rs[sqlalchemy]` to 0.2.2 - [Release notes](https://github.com/tensorchord/pgvecto.rs/releases) - [Commits](https://github.com/tensorchord/pgvecto.rs/commits) Updates `pymilvus` from 2.6.10 to 3.0.0 - [Release notes](https://github.com/milvus-io/pymilvus/releases) - [Commits](https://github.com/milvus-io/pymilvus/compare/v2.6.10...v3.0.0) Updates `pymochow` from 2.3.6 to 2.4.1 Updates `pyobvector` from 0.2.25 to 0.2.26 - [Release notes](https://github.com/oceanbase/pyobvector/releases) - [Changelog](https://github.com/oceanbase/pyobvector/blob/main/RELEASE_NOTES.md) - [Commits](https://github.com/oceanbase/pyobvector/compare/release-v0.2.25...release-v0.2.26) Updates `qdrant-client` from 1.9.0 to 1.18.0 - [Release notes](https://github.com/qdrant/qdrant-client/releases) - [Commits](https://github.com/qdrant/qdrant-client/compare/v1.9.0...v1.18.0) Updates `intersystems-irispython` from 5.3.1 to 5.3.2 Updates `tablestore` from 6.4.1 to 6.4.6 - [Release notes](https://github.com/aliyun/aliyun-tablestore-python-sdk/releases) - [Changelog](https://github.com/aliyun/aliyun-tablestore-python-sdk/blob/master/CHANGELOG.md) - [Commits](https://github.com/aliyun/aliyun-tablestore-python-sdk/commits) Updates `tcvectordb` from 2.0.0 to 2.1.1 Updates `xinference-client` from 2.3.1 to 2.9.0 - [Release notes](https://github.com/xorbitsai/inference-client/releases) - [Commits](https://github.com/xorbitsai/inference-client/compare/v2.3.1...v2.9.0) Updates `mysql-connector-python` from 9.6.0 to 9.7.0 - [Changelog](https://github.com/mysql/mysql-connector-python/blob/trunk/CHANGES.txt) - [Commits](https://github.com/mysql/mysql-connector-python/compare/9.6.0...9.7.0) --- updated-dependencies: - dependency-name: weaviate-client dependency-version: 4.21.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: vdb - dependency-name: alibabacloud-gpdb20160503 dependency-version: 5.3.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: vdb - dependency-name: chromadb dependency-version: 1.5.9 dependency-type: direct:development update-type: version-update:semver-major dependency-group: vdb - dependency-name: clickhouse-connect dependency-version: 1.0.1 dependency-type: direct:development update-type: version-update:semver-major dependency-group: vdb - dependency-name: couchbase dependency-version: 4.6.1 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: vdb - dependency-name: elasticsearch dependency-version: 9.4.0 dependency-type: direct:development update-type: version-update:semver-major dependency-group: vdb - dependency-name: opensearch-py dependency-version: 3.2.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: vdb - dependency-name: oracledb dependency-version: 4.0.1 dependency-type: direct:development update-type: version-update:semver-major dependency-group: vdb - dependency-name: pgvecto-rs[sqlalchemy] dependency-version: 0.2.2 dependency-type: direct:development dependency-group: vdb - dependency-name: pymilvus dependency-version: 3.0.0 dependency-type: direct:development update-type: version-update:semver-major dependency-group: vdb - dependency-name: pymochow dependency-version: 2.4.1 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: vdb - dependency-name: pyobvector dependency-version: 0.2.26 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: vdb - dependency-name: qdrant-client dependency-version: 1.18.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: vdb - dependency-name: intersystems-irispython dependency-version: 5.3.2 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: vdb - dependency-name: tablestore dependency-version: 6.4.6 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: vdb - dependency-name: tcvectordb dependency-version: 2.1.1 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: vdb - dependency-name: xinference-client dependency-version: 2.9.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: vdb - dependency-name: mysql-connector-python dependency-version: 9.7.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: vdb ... Signed-off-by: dependabot[bot] <support@github.com>
267 lines
7.8 KiB
TOML
267 lines
7.8 KiB
TOML
[project]
|
|
name = "dify-api"
|
|
version = "1.13.3"
|
|
requires-python = "~=3.12.0"
|
|
|
|
dependencies = [
|
|
"aliyun-log-python-sdk~=0.9.37",
|
|
"arize-phoenix-otel~=0.15.0",
|
|
"azure-identity==1.25.3",
|
|
"beautifulsoup4==4.14.3",
|
|
"boto3==1.42.73",
|
|
"bs4~=0.0.1",
|
|
"cachetools~=5.3.0",
|
|
"celery~=5.6.2",
|
|
"charset-normalizer>=3.4.4",
|
|
"flask~=3.1.2",
|
|
"flask-compress>=1.17,<1.24",
|
|
"flask-cors~=6.0.0",
|
|
"flask-login~=0.6.3",
|
|
"flask-migrate~=4.1.0",
|
|
"flask-orjson~=2.0.0",
|
|
"flask-sqlalchemy~=3.1.1",
|
|
"gevent~=25.9.1",
|
|
"gmpy2~=2.3.0",
|
|
"google-api-core>=2.19.1",
|
|
"google-api-python-client==2.193.0",
|
|
"google-auth>=2.47.0",
|
|
"google-auth-httplib2==0.3.0",
|
|
"google-cloud-aiplatform>=1.123.0",
|
|
"googleapis-common-protos>=1.65.0",
|
|
"gunicorn~=25.1.0",
|
|
"httpx[socks]~=0.28.0",
|
|
"jieba==0.42.1",
|
|
"json-repair>=0.55.1",
|
|
"jsonschema>=4.25.1",
|
|
"langfuse~=2.51.3",
|
|
"langsmith>=0.8.0",
|
|
"markdown~=3.10.2",
|
|
"mlflow-skinny>=3.0.0",
|
|
"numpy~=1.26.4",
|
|
"openpyxl~=3.1.5",
|
|
"opik~=1.10.37",
|
|
"litellm>=1.83.10",
|
|
"opentelemetry-api==1.28.0",
|
|
"opentelemetry-distro==0.49b0",
|
|
"opentelemetry-exporter-otlp==1.28.0",
|
|
"opentelemetry-exporter-otlp-proto-common==1.28.0",
|
|
"opentelemetry-exporter-otlp-proto-grpc==1.28.0",
|
|
"opentelemetry-exporter-otlp-proto-http==1.28.0",
|
|
"opentelemetry-instrumentation==0.49b0",
|
|
"opentelemetry-instrumentation-celery==0.49b0",
|
|
"opentelemetry-instrumentation-flask==0.49b0",
|
|
"opentelemetry-instrumentation-httpx==0.49b0",
|
|
"opentelemetry-instrumentation-redis==0.49b0",
|
|
"opentelemetry-instrumentation-sqlalchemy==0.49b0",
|
|
"opentelemetry-propagator-b3==1.40.0",
|
|
"opentelemetry-proto==1.28.0",
|
|
"opentelemetry-sdk==1.28.0",
|
|
"opentelemetry-semantic-conventions==0.49b0",
|
|
"opentelemetry-util-http==0.49b0",
|
|
"pandas[excel,output-formatting,performance]~=3.0.1",
|
|
"psycogreen~=1.0.2",
|
|
"psycopg2-binary~=2.9.6",
|
|
"pycryptodome==3.23.0",
|
|
"pydantic~=2.12.5",
|
|
"pydantic-extra-types~=2.11.0",
|
|
"pydantic-settings~=2.13.1",
|
|
"pyjwt~=2.12.0",
|
|
"pypdfium2==5.6.0",
|
|
"python-docx~=1.2.0",
|
|
"python-dotenv==1.2.2",
|
|
"pyyaml~=6.0.1",
|
|
"readabilipy~=0.3.0",
|
|
"redis[hiredis]~=7.3.0",
|
|
"resend~=2.26.0",
|
|
"sentry-sdk[flask]~=2.55.0",
|
|
"sqlalchemy~=2.0.29",
|
|
"starlette==1.0.0",
|
|
"tiktoken~=0.12.0",
|
|
"transformers~=5.3.0",
|
|
"unstructured[docx,epub,md,ppt,pptx]~=0.21.5",
|
|
"pypandoc~=1.13",
|
|
"yarl~=1.23.0",
|
|
"webvtt-py~=0.5.1",
|
|
"sseclient-py~=1.9.0",
|
|
"httpx-sse~=0.4.0",
|
|
"sendgrid~=6.12.5",
|
|
"flask-restx~=1.3.2",
|
|
"packaging~=23.2",
|
|
"croniter>=6.0.0",
|
|
"weaviate-client==4.21.0",
|
|
"apscheduler>=3.11.0",
|
|
"weave>=0.52.16",
|
|
"fastopenapi[flask]>=0.7.0",
|
|
"bleach~=6.3.0",
|
|
]
|
|
# Before adding new dependency, consider place it in
|
|
# alphabet order (a-z) and suitable group.
|
|
|
|
[tool.setuptools]
|
|
packages = []
|
|
|
|
[tool.uv]
|
|
default-groups = ["storage", "tools", "vdb"]
|
|
package = false
|
|
# litellm==1.83.7 pins jsonschema==4.23.0 and python-dotenv==1.0.1; overrides keep
|
|
# resolution aligned with our direct deps (see dependency-groups / CI lock checks).
|
|
override-dependencies = [
|
|
"jsonschema>=4.25.1",
|
|
"python-dotenv==1.2.2",
|
|
"pyarrow>=18.0.0",
|
|
]
|
|
|
|
[dependency-groups]
|
|
|
|
############################################################
|
|
# [ Dev ] dependency group
|
|
# Required for development and running tests
|
|
############################################################
|
|
dev = [
|
|
"coverage~=7.13.4",
|
|
"dotenv-linter~=0.7.0",
|
|
"faker~=40.11.0",
|
|
"lxml-stubs~=0.5.1",
|
|
"basedpyright~=1.38.2",
|
|
"ruff~=0.15.5",
|
|
"pytest~=9.0.2",
|
|
"pytest-benchmark~=5.2.3",
|
|
"pytest-cov~=7.1.0",
|
|
"pytest-env~=1.6.0",
|
|
"pytest-mock~=3.15.1",
|
|
"testcontainers~=4.14.1",
|
|
"types-aiofiles~=25.1.0",
|
|
"types-beautifulsoup4~=4.12.0",
|
|
"types-cachetools~=6.2.0",
|
|
"types-colorama~=0.4.15",
|
|
"types-defusedxml~=0.7.0",
|
|
"types-deprecated~=1.3.1",
|
|
"types-docutils~=0.22.3",
|
|
"types-jsonschema~=4.26.0",
|
|
"types-flask-cors~=6.0.0",
|
|
"types-flask-migrate~=4.1.0",
|
|
"types-gevent~=25.9.0",
|
|
"types-greenlet~=3.3.0",
|
|
"types-html5lib~=1.1.11",
|
|
"types-markdown~=3.10.2",
|
|
"types-oauthlib~=3.3.0",
|
|
"types-objgraph~=3.6.0",
|
|
"types-olefile~=0.47.0",
|
|
"types-openpyxl~=3.1.5",
|
|
"types-pexpect~=4.9.0",
|
|
"types-protobuf~=6.32.1",
|
|
"types-psutil~=7.2.2",
|
|
"types-psycopg2~=2.9.21",
|
|
"types-pygments~=2.19.0",
|
|
"types-pymysql~=1.1.0",
|
|
"types-python-dateutil~=2.9.0",
|
|
"types-pywin32~=311.0.0",
|
|
"types-pyyaml~=6.0.12",
|
|
"types-regex~=2026.2.28",
|
|
"types-shapely~=2.1.0",
|
|
"types-simplejson>=3.20.0",
|
|
"types-six>=1.17.0",
|
|
"types-tensorflow>=2.18.0",
|
|
"types-tqdm>=4.67.0",
|
|
"types-ujson>=5.10.0",
|
|
"boto3-stubs>=1.38.20",
|
|
"types-jmespath>=1.0.2.20240106",
|
|
"hypothesis>=6.131.15",
|
|
"types_pyOpenSSL>=24.1.0",
|
|
"types_cffi>=1.17.0",
|
|
"types_setuptools>=80.9.0",
|
|
"pandas-stubs~=3.0.0",
|
|
"scipy-stubs>=1.15.3.0",
|
|
"types-python-http-client>=3.3.7.20240910",
|
|
"import-linter>=2.3",
|
|
"types-redis>=4.6.0.20241004",
|
|
"celery-types>=0.23.0",
|
|
"mypy~=1.19.1",
|
|
# "locust>=2.40.4", # Temporarily removed due to compatibility issues. Uncomment when resolved.
|
|
"sseclient-py>=1.8.0",
|
|
"pytest-timeout>=2.4.0",
|
|
"pytest-xdist>=3.8.0",
|
|
"pyrefly>=0.57.1",
|
|
]
|
|
|
|
############################################################
|
|
# [ Storage ] dependency group
|
|
# Required for storage clients
|
|
############################################################
|
|
storage = [
|
|
"azure-storage-blob==12.28.0",
|
|
"bce-python-sdk~=0.9.23",
|
|
"cos-python-sdk-v5==1.9.41",
|
|
"esdk-obs-python==3.26.2",
|
|
"google-cloud-storage>=3.0.0",
|
|
"opendal~=0.46.0",
|
|
"oss2==2.19.1",
|
|
"supabase~=2.18.1",
|
|
"tos~=2.9.0",
|
|
]
|
|
|
|
############################################################
|
|
# [ Tools ] dependency group
|
|
############################################################
|
|
tools = ["cloudscraper~=1.2.71", "nltk~=3.9.1"]
|
|
|
|
############################################################
|
|
# [ VDB ] dependency group
|
|
# Required by vector store clients
|
|
############################################################
|
|
vdb = [
|
|
"alibabacloud_gpdb20160503~=5.3.0",
|
|
"alibabacloud_tea_openapi~=0.4.3",
|
|
"chromadb==1.5.9",
|
|
"clickhouse-connect~=1.0.1",
|
|
"clickzetta-connector-python>=0.8.102",
|
|
"couchbase~=4.6.1",
|
|
"elasticsearch==9.4.0",
|
|
"opensearch-py==3.2.0",
|
|
"oracledb==4.0.1",
|
|
"pgvecto-rs[sqlalchemy]~=0.2.2",
|
|
"pgvector==0.4.2",
|
|
"pymilvus~=3.0.0",
|
|
"pymochow==2.4.1",
|
|
"pyobvector~=0.2.26",
|
|
"qdrant-client==1.18.0",
|
|
"intersystems-irispython>=5.3.2",
|
|
"tablestore==6.4.6",
|
|
"tcvectordb~=2.1.1",
|
|
"tidb-vector==0.0.15",
|
|
"upstash-vector==0.8.0",
|
|
"volcengine-compat~=1.0.0",
|
|
"weaviate-client==4.21.0",
|
|
"xinference-client~=2.9.0",
|
|
"mo-vector~=0.1.13",
|
|
"mysql-connector-python>=9.7.0",
|
|
"holo-search-sdk>=0.4.1",
|
|
]
|
|
|
|
[tool.mypy]
|
|
|
|
[[tool.mypy.overrides]]
|
|
# targeted ignores for current type-check errors
|
|
# TODO(QuantumGhost): suppress type errors in HITL related code.
|
|
# fix the type error later
|
|
module = [
|
|
"configs.middleware.cache.redis_pubsub_config",
|
|
"extensions.ext_redis",
|
|
"tasks.workflow_execution_tasks",
|
|
"dify_graph.nodes.base.node",
|
|
"services.human_input_delivery_test_service",
|
|
"core.app.apps.advanced_chat.app_generator",
|
|
"controllers.console.human_input_form",
|
|
"controllers.console.app.workflow_run",
|
|
"repositories.sqlalchemy_api_workflow_node_execution_repository",
|
|
"extensions.logstore.repositories.logstore_api_workflow_run_repository",
|
|
]
|
|
ignore_errors = true
|
|
|
|
[tool.pyrefly]
|
|
project-includes = ["."]
|
|
project-excludes = [".venv", "migrations/"]
|
|
python-platform = "linux"
|
|
python-version = "3.12.0"
|
|
infer-with-first-use = false
|