pyproject.toml 2.8 KB

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