pyproject.toml 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146
  1. [tool.poetry]
  2. name = "openhands-ai"
  3. version = "0.14.1"
  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"
  33. pexpect = "*"
  34. jinja2 = "^3.1.3"
  35. python-multipart = "*"
  36. boto3 = "*"
  37. minio = "^7.2.8"
  38. gevent = "^24.2.1"
  39. pyarrow = "17.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.64.145"
  63. runloop-api-client = "0.7.0"
  64. pygithub = "^2.5.0"
  65. openhands-aci = "^0.1.1"
  66. [tool.poetry.group.llama-index.dependencies]
  67. llama-index = "*"
  68. llama-index-vector-stores-chroma = "*"
  69. chromadb = "*"
  70. llama-index-embeddings-huggingface = "*"
  71. torch = "2.5.0"
  72. llama-index-embeddings-azure-openai = "*"
  73. llama-index-embeddings-ollama = "*"
  74. [tool.poetry.group.dev.dependencies]
  75. ruff = "0.7.1"
  76. mypy = "1.13.0"
  77. pre-commit = "4.0.1"
  78. build = "*"
  79. [tool.poetry.group.test.dependencies]
  80. pytest = "*"
  81. pytest-cov = "*"
  82. pytest-asyncio = "*"
  83. pytest-forked = "*"
  84. pytest-xdist = "*"
  85. flake8 = "*"
  86. openai = "*"
  87. opencv-python = "*"
  88. pandas = "*"
  89. reportlab = "*"
  90. [tool.coverage.run]
  91. concurrency = ["gevent"]
  92. [tool.poetry.group.runtime.dependencies]
  93. jupyterlab = "*"
  94. notebook = "*"
  95. jupyter_kernel_gateway = "*"
  96. flake8 = "*"
  97. opencv-python = "*"
  98. [build-system]
  99. build-backend = "poetry.core.masonry.api"
  100. requires = [
  101. "poetry-core",
  102. ]
  103. [tool.autopep8]
  104. # autopep8 fights with mypy on line length issue
  105. ignore = [ "E501" ]
  106. [tool.black]
  107. # prevent black (if installed) from changing single quotes to double quotes
  108. skip-string-normalization = true
  109. [tool.ruff.lint]
  110. select = ["D"]
  111. # ignore warnings for missing docstrings
  112. ignore = ["D1"]
  113. [tool.ruff.lint.pydocstyle]
  114. convention = "google"
  115. [tool.poetry.group.evaluation.dependencies]
  116. streamlit = "*"
  117. whatthepatch = "*"
  118. retry = "*"
  119. evaluate = "*"
  120. swebench = { git = "https://github.com/All-Hands-AI/SWE-bench.git" }
  121. func_timeout = "*"
  122. sympy = "*"
  123. gdown = "*"
  124. matplotlib = "*"
  125. seaborn = "*"
  126. tabulate = "*"
  127. [tool.poetry-dynamic-versioning]
  128. enable = true
  129. style = "semver"
  130. [tool.poetry.scripts]
  131. openhands = "openhands.core.cli:main"