pyproject.toml 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138
  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,<5.0.0" # chromadb currently fails on 5.0+
  55. opentelemetry-api = "1.25.0"
  56. opentelemetry-exporter-otlp-proto-grpc = "1.25.0"
  57. [tool.poetry.group.llama-index.dependencies]
  58. llama-index = "*"
  59. llama-index-vector-stores-chroma = "*"
  60. chromadb = "*"
  61. llama-index-embeddings-huggingface = "*"
  62. torch = "2.2.2"
  63. llama-index-embeddings-azure-openai = "*"
  64. llama-index-embeddings-ollama = "*"
  65. [tool.poetry.group.dev.dependencies]
  66. ruff = "0.6.9"
  67. mypy = "1.11.2"
  68. pre-commit = "4.0.1"
  69. build = "*"
  70. [tool.poetry.group.test.dependencies]
  71. pytest = "*"
  72. pytest-cov = "*"
  73. pytest-asyncio = "*"
  74. pytest-forked = "*"
  75. pytest-xdist = "*"
  76. flake8 = "*"
  77. openai = "*"
  78. opencv-python = "*"
  79. pandas = "*"
  80. reportlab = "*"
  81. [tool.coverage.run]
  82. concurrency = ["gevent"]
  83. [tool.poetry.group.runtime.dependencies]
  84. jupyterlab = "*"
  85. notebook = "*"
  86. jupyter_kernel_gateway = "*"
  87. flake8 = "*"
  88. opencv-python = "*"
  89. [build-system]
  90. build-backend = "poetry.core.masonry.api"
  91. requires = [
  92. "poetry-core",
  93. ]
  94. [tool.autopep8]
  95. # autopep8 fights with mypy on line length issue
  96. ignore = [ "E501" ]
  97. [tool.black]
  98. # prevent black (if installed) from changing single quotes to double quotes
  99. skip-string-normalization = true
  100. [tool.ruff.lint]
  101. select = ["D"]
  102. # ignore warnings for missing docstrings
  103. ignore = ["D1"]
  104. [tool.ruff.lint.pydocstyle]
  105. convention = "google"
  106. [tool.poetry.group.evaluation.dependencies]
  107. streamlit = "*"
  108. whatthepatch = "*"
  109. retry = "*"
  110. evaluate = "*"
  111. swebench = { git = "https://github.com/All-Hands-AI/SWE-bench.git" }
  112. func_timeout = "*"
  113. sympy = "*"
  114. gdown = "*"
  115. matplotlib = "*"
  116. seaborn = "*"
  117. [tool.poetry-dynamic-versioning]
  118. enable = true
  119. style = "semver"
  120. [tool.poetry.scripts]
  121. openhands = "openhands.core.cli:main"