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 10:56:33 -04:00
|
|
|
version = "0.3.0dev1"
|
|
|
|
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-06-28 08:03:42 -07:00
|
|
|
"pydantic>=1.10,<3",
|
2024-08-29 14:37:03 -04:00
|
|
|
"grpcio~=1.66.0",
|
|
|
|
"protobuf~=5.27.0",
|
2024-08-14 10:41:49 -04:00
|
|
|
"tiktoken",
|
|
|
|
"azure-core"
|
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-08-02 09:58:15 -07:00
|
|
|
"azure-identity",
|
2024-07-24 20:01:01 +01:00
|
|
|
"aiofiles",
|
|
|
|
"chess",
|
|
|
|
"colorama",
|
2024-07-26 18:23:31 -07:00
|
|
|
"langgraph",
|
|
|
|
"langchain-openai",
|
2024-07-24 20:01:01 +01:00
|
|
|
"llama-index-readers-web",
|
|
|
|
"llama-index-readers-wikipedia",
|
|
|
|
"llama-index-tools-wikipedia",
|
|
|
|
"llama-index-embeddings-azure-openai",
|
|
|
|
"llama-index-llms-azure-openai",
|
|
|
|
"llama-index",
|
|
|
|
"markdownify",
|
2024-06-19 13:49:13 -04:00
|
|
|
"mypy==1.10.0",
|
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
|
|
|
"pytest-asyncio",
|
|
|
|
"pytest-mock",
|
|
|
|
"pytest-xdist",
|
|
|
|
"pytest",
|
|
|
|
"python-dotenv",
|
2024-08-08 00:14:18 -07:00
|
|
|
"requests",
|
2024-07-24 20:01:01 +01:00
|
|
|
"ruff==0.4.8",
|
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",
|
|
|
|
"tiktoken",
|
|
|
|
"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-08-07 17:38:44 -04:00
|
|
|
"wikipedia",
|
2024-08-29 09:46:06 -04:00
|
|
|
"nbqa",
|
2024-06-28 08:03:42 -07:00
|
|
|
"sphinx",
|
|
|
|
"furo",
|
|
|
|
"sphinxcontrib-apidoc",
|
2024-08-06 11:37:11 -07:00
|
|
|
"myst-nb",
|
2024-08-08 00:14:18 -07:00
|
|
|
"sphinx-autobuild",
|
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-08-07 17:38:44 -04:00
|
|
|
include = ["src/**", "samples/*.py", "docs/**/*.ipynb"]
|
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-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"
|