You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

pyproject.toml 2.3 kB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. [build-system]
  2. requires = ["hatchling"]
  3. build-backend = "hatchling.build"
  4. [project]
  5. name = "autogen-core"
  6. version = "0.3.dev0"
  7. description = "Foundational interfaces and agent runtime implementation for AutoGen"
  8. readme = "README.md"
  9. requires-python = ">=3.10"
  10. classifiers = [
  11. "Programming Language :: Python :: 3",
  12. "License :: OSI Approved :: MIT License",
  13. "Operating System :: OS Independent",
  14. ]
  15. dependencies = [
  16. "openai>=1.3",
  17. "pillow",
  18. "aiohttp",
  19. "typing-extensions",
  20. "pydantic>=1.10,<3",
  21. "grpcio~=1.62.0",
  22. "protobuf~=4.25.1",
  23. "tiktoken",
  24. "azure-core"
  25. ]
  26. [tool.uv]
  27. dev-dependencies = [
  28. "aiofiles",
  29. "azure-identity",
  30. "chess",
  31. "colorama",
  32. "furo",
  33. "langchain-openai",
  34. "langgraph",
  35. "llama-index-embeddings-azure-openai",
  36. "llama-index-llms-azure-openai",
  37. "llama-index-readers-web",
  38. "llama-index-readers-wikipedia",
  39. "llama-index-tools-wikipedia",
  40. "llama-index",
  41. "markdownify",
  42. "myst-nb",
  43. "nbqa",
  44. "pip",
  45. "polars",
  46. "python-dotenv",
  47. "requests",
  48. "sphinx-autobuild",
  49. "sphinx",
  50. "sphinxcontrib-apidoc",
  51. "tavily-python",
  52. "textual-dev",
  53. "textual-imageview",
  54. "textual",
  55. "types-aiofiles",
  56. "types-pillow",
  57. "types-protobuf",
  58. "types-requests",
  59. "wikipedia",
  60. ]
  61. [tool.ruff]
  62. extend = "../../pyproject.toml"
  63. exclude = ["build", "dist", "src/autogen_core/application/protos"]
  64. include = ["src/**", "samples/*.py", "docs/**/*.ipynb"]
  65. [tool.pyright]
  66. extend = "../../pyproject.toml"
  67. include = ["src", "tests", "samples"]
  68. exclude = ["src/autogen_core/application/protos"]
  69. [tool.pytest.ini_options]
  70. minversion = "6.0"
  71. testpaths = ["tests"]
  72. asyncio_default_fixture_loop_scope = "session"
  73. [tool.nbqa.addopts]
  74. mypy = [
  75. "--disable-error-code=top-level-await"
  76. ]
  77. [tool.poe]
  78. include = "../../shared_tasks.toml"
  79. [tool.poe.tasks]
  80. test = "pytest -n auto"
  81. mypy.default_item_type = "cmd"
  82. mypy.sequence = [
  83. "mypy --config-file ../../pyproject.toml --exclude src/autogen_core/application/protos src tests",
  84. "nbqa mypy docs/src --config-file ../../pyproject.toml",
  85. ]
  86. docs-build = "sphinx-build docs/src docs/build"
  87. docs-serve = "sphinx-autobuild --watch src docs/src docs/build"
  88. docs-check = "sphinx-build --fail-on-warning docs/src docs/build"