pyproject.toml 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  1. [tool.poetry]
  2. name = "openhands-ai"
  3. version = "0.9.0"
  4. description = "OpenHands: Code Less, Make More"
  5. authors = ["OpenHands"]
  6. license = "MIT"
  7. readme = "README.md"
  8. repository = "https://github.com/All-Hands-AI/OpenHands"
  9. include = ["poetry.lock"]
  10. packages = [
  11. { include = "agenthub/**/*" },
  12. { include = "openhands/**/*" }
  13. ]
  14. [tool.poetry.dependencies]
  15. python = "^3.11"
  16. datasets = "*"
  17. pandas = "*"
  18. litellm = "*"
  19. google-generativeai = "*" # To use litellm with Gemini Pro API
  20. termcolor = "*"
  21. seaborn = "*"
  22. docker = "*"
  23. fastapi = "*"
  24. toml = "*"
  25. uvicorn = "*"
  26. types-toml = "*"
  27. numpy = "*"
  28. json-repair = "*"
  29. browsergym = "0.3.4" # integrate browsergym as the browsing interface
  30. html2text = "*"
  31. e2b = "^0.17.1"
  32. pexpect = "*"
  33. jinja2 = "^3.1.3"
  34. python-multipart = "*"
  35. boto3 = "*"
  36. minio = "^7.2.8"
  37. gevent = "^24.2.1"
  38. pyarrow = "17.0.0" # transitive dependency, pinned here to avoid conflicts
  39. tenacity = "^8.5.0"
  40. zope-interface = "7.0.1"
  41. pathspec = "^0.12.1"
  42. google-cloud-aiplatform = "*"
  43. anthropic = {extras = ["vertex"], version = "*"}
  44. grep-ast = "0.3.3"
  45. tree-sitter = "0.21.3"
  46. bashlex = "^0.18"
  47. pyjwt = "^2.9.0"
  48. dirhash = "*"
  49. python-docx = "*"
  50. PyPDF2 = "*"
  51. python-pptx = "*"
  52. pylatexenc = "*"
  53. tornado = "*"
  54. [tool.poetry.group.llama-index.dependencies]
  55. llama-index = "*"
  56. llama-index-vector-stores-chroma = "*"
  57. chromadb = "*"
  58. llama-index-embeddings-huggingface = "*"
  59. torch = "2.2.2"
  60. llama-index-embeddings-azure-openai = "*"
  61. llama-index-embeddings-ollama = "*"
  62. [tool.poetry.group.dev.dependencies]
  63. ruff = "0.6.2"
  64. mypy = "1.11.1"
  65. pre-commit = "3.8.0"
  66. build = "*"
  67. [tool.poetry.group.test.dependencies]
  68. pytest = "*"
  69. pytest-cov = "*"
  70. pytest-asyncio = "*"
  71. pytest-forked = "*"
  72. flake8 = "*"
  73. openai = "*"
  74. opencv-python = "*"
  75. pandas = "*"
  76. reportlab = "*"
  77. [tool.coverage.run]
  78. concurrency = ["gevent"]
  79. [tool.poetry.group.runtime.dependencies]
  80. jupyterlab = "*"
  81. notebook = "*"
  82. jupyter_kernel_gateway = "*"
  83. flake8 = "*"
  84. opencv-python = "*"
  85. [build-system]
  86. build-backend = "poetry.core.masonry.api"
  87. requires = [
  88. "poetry-core",
  89. ]
  90. [tool.autopep8]
  91. # autopep8 fights with mypy on line length issue
  92. ignore = [ "E501" ]
  93. [tool.black]
  94. # prevent black (if installed) from changing single quotes to double quotes
  95. skip-string-normalization = true
  96. [tool.ruff.lint]
  97. select = ["D"]
  98. # ignore warnings for missing docstrings
  99. ignore = ["D1"]
  100. [tool.ruff.lint.pydocstyle]
  101. convention = "google"
  102. [tool.poetry.group.evaluation.dependencies]
  103. streamlit = "*"
  104. whatthepatch = "*"
  105. retry = "*"
  106. evaluate = "*"
  107. swebench = { git = "https://github.com/All-Hands-AI/SWE-bench.git" }
  108. func_timeout = "*"
  109. sympy = "*"
  110. gdown = "*"