pyproject.toml 3.2 KB

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