2024-05-15 09:49:44 -04:00
|
|
|
[build-system]
|
2024-06-19 13:49:13 -04:00
|
|
|
requires = ["hatchling"]
|
|
|
|
build-backend = "hatchling.build"
|
2024-05-15 09:49:44 -04:00
|
|
|
|
|
|
|
[project]
|
2024-08-28 12:47:04 -04:00
|
|
|
name = "autogen-core"
|
2024-08-29 17:21:53 -04:00
|
|
|
version = "0.3.dev0"
|
2024-08-29 10:56:33 -04:00
|
|
|
description = "Foundational interfaces and agent runtime implementation for AutoGen"
|
2024-05-15 09:49:44 -04:00
|
|
|
readme = "README.md"
|
|
|
|
requires-python = ">=3.10"
|
|
|
|
classifiers = [
|
|
|
|
"Programming Language :: Python :: 3",
|
|
|
|
"License :: OSI Approved :: MIT License",
|
|
|
|
"Operating System :: OS Independent",
|
|
|
|
]
|
2024-05-29 17:12:02 -04:00
|
|
|
dependencies = [
|
|
|
|
"openai>=1.3",
|
|
|
|
"pillow",
|
|
|
|
"aiohttp",
|
|
|
|
"typing-extensions",
|
2024-09-16 12:37:26 -04:00
|
|
|
"pydantic<3.0.0,>=2.0.0",
|
2024-09-06 10:49:02 -07:00
|
|
|
"grpcio~=1.62.0",
|
|
|
|
"protobuf~=4.25.1",
|
2024-08-14 10:41:49 -04:00
|
|
|
"tiktoken",
|
2024-09-11 16:47:55 -07:00
|
|
|
"azure-core",
|
2024-09-12 16:33:30 -04:00
|
|
|
"docker~=7.0",
|
2024-09-11 16:47:55 -07:00
|
|
|
"opentelemetry-api~=1.27.0"
|
2024-05-29 17:12:02 -04:00
|
|
|
]
|
2024-05-15 09:49:44 -04:00
|
|
|
|
2024-08-29 09:46:06 -04:00
|
|
|
[tool.uv]
|
|
|
|
dev-dependencies = [
|
2024-07-24 20:01:01 +01:00
|
|
|
"aiofiles",
|
2024-08-29 17:21:53 -04:00
|
|
|
"azure-identity",
|
2024-07-24 20:01:01 +01:00
|
|
|
"chess",
|
|
|
|
"colorama",
|
2024-08-29 17:21:53 -04:00
|
|
|
"furo",
|
2024-07-26 18:23:31 -07:00
|
|
|
"langchain-openai",
|
2024-08-29 17:21:53 -04:00
|
|
|
"langgraph",
|
|
|
|
"llama-index-embeddings-azure-openai",
|
|
|
|
"llama-index-llms-azure-openai",
|
2024-07-24 20:01:01 +01:00
|
|
|
"llama-index-readers-web",
|
|
|
|
"llama-index-readers-wikipedia",
|
|
|
|
"llama-index-tools-wikipedia",
|
|
|
|
"llama-index",
|
|
|
|
"markdownify",
|
2024-08-29 17:21:53 -04:00
|
|
|
"myst-nb",
|
|
|
|
"nbqa",
|
2024-07-24 20:01:01 +01:00
|
|
|
"pip",
|
2024-05-29 17:12:02 -04:00
|
|
|
"polars",
|
2024-07-24 20:01:01 +01:00
|
|
|
"python-dotenv",
|
2024-08-08 00:14:18 -07:00
|
|
|
"requests",
|
2024-08-29 17:21:53 -04:00
|
|
|
"sphinx-autobuild",
|
|
|
|
"sphinx",
|
|
|
|
"sphinxcontrib-apidoc",
|
2024-06-07 13:33:51 -07:00
|
|
|
"tavily-python",
|
2024-06-19 13:49:13 -04:00
|
|
|
"textual-dev",
|
2024-06-17 17:20:46 -07:00
|
|
|
"textual-imageview",
|
2024-07-24 20:01:01 +01:00
|
|
|
"textual",
|
|
|
|
"types-aiofiles",
|
|
|
|
"types-pillow",
|
2024-07-08 16:45:14 -04:00
|
|
|
"types-protobuf",
|
2024-08-08 00:14:18 -07:00
|
|
|
"types-requests",
|
2024-09-12 16:33:30 -04:00
|
|
|
"types-docker",
|
2024-08-07 17:38:44 -04:00
|
|
|
"wikipedia",
|
2024-09-11 16:47:55 -07:00
|
|
|
"opentelemetry-sdk>=1.27.0",
|
2024-09-17 06:22:38 -07:00
|
|
|
"sphinx-design",
|
|
|
|
"pydata-sphinx-theme",
|
|
|
|
"sphinx-copybutton",
|
2024-05-29 17:12:02 -04:00
|
|
|
]
|
2024-05-15 09:49:44 -04:00
|
|
|
|
2024-07-02 10:58:49 -07:00
|
|
|
|
2024-05-15 09:49:44 -04:00
|
|
|
[tool.ruff]
|
2024-08-29 09:46:06 -04:00
|
|
|
extend = "../../pyproject.toml"
|
2024-08-28 12:47:04 -04:00
|
|
|
exclude = ["build", "dist", "src/autogen_core/application/protos"]
|
2024-09-13 10:41:15 -04:00
|
|
|
include = ["src/**", "samples/*.py", "docs/**/*.ipynb", "tests/**"]
|
2024-05-15 09:49:44 -04:00
|
|
|
|
|
|
|
[tool.pyright]
|
2024-08-29 09:46:06 -04:00
|
|
|
extend = "../../pyproject.toml"
|
2024-07-15 15:24:31 -07:00
|
|
|
include = ["src", "tests", "samples"]
|
2024-08-28 12:47:04 -04:00
|
|
|
exclude = ["src/autogen_core/application/protos"]
|
2024-05-20 13:32:08 -06:00
|
|
|
|
|
|
|
[tool.pytest.ini_options]
|
|
|
|
minversion = "6.0"
|
|
|
|
testpaths = ["tests"]
|
2024-08-30 14:00:20 -04:00
|
|
|
asyncio_default_fixture_loop_scope = "session"
|
2024-06-28 08:03:42 -07:00
|
|
|
|
2024-08-07 17:38:44 -04:00
|
|
|
[tool.nbqa.addopts]
|
|
|
|
mypy = [
|
|
|
|
"--disable-error-code=top-level-await"
|
|
|
|
]
|
2024-08-29 09:46:06 -04:00
|
|
|
|
|
|
|
[tool.poe]
|
|
|
|
include = "../../shared_tasks.toml"
|
|
|
|
|
|
|
|
[tool.poe.tasks]
|
|
|
|
test = "pytest -n auto"
|
|
|
|
mypy.default_item_type = "cmd"
|
|
|
|
mypy.sequence = [
|
|
|
|
"mypy --config-file ../../pyproject.toml --exclude src/autogen_core/application/protos src tests",
|
|
|
|
"nbqa mypy docs/src --config-file ../../pyproject.toml",
|
|
|
|
]
|
|
|
|
docs-build = "sphinx-build docs/src docs/build"
|
|
|
|
docs-serve = "sphinx-autobuild --watch src docs/src docs/build"
|
|
|
|
docs-check = "sphinx-build --fail-on-warning docs/src docs/build"
|
2024-09-17 06:22:38 -07:00
|
|
|
docs-clean = "rm -rf docs/build && rm -rf docs/src/reference/python/"
|